Register Common.error with local scheduler extension module. (#1316)

* Register Common.error with local scheduler extension module.

* Add test.
This commit is contained in:
Robert Nishihara
2017-12-13 11:55:54 -08:00
committed by Philipp Moritz
parent b6a35e0395
commit f75b51d178
3 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ from __future__ import print_function
from ray.core.src.local_scheduler.liblocal_scheduler_library import (
Task, LocalSchedulerClient, ObjectID, check_simple_value, task_from_string,
task_to_string, _config)
task_to_string, _config, common_error)
from .local_scheduler_services import start_local_scheduler
__all__ = ["Task", "LocalSchedulerClient", "ObjectID", "check_simple_value",
"task_from_string", "task_to_string", "start_local_scheduler",
"_config"]
"_config", "common_error"]