mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 20:39:52 +08:00
Allow actor methods to return multiple object IDs. (#1296)
* Allow actor methods to return multiple object IDs. * Add test. * Fixes * Remove outdated comment. * Add comment and assert
This commit is contained in:
committed by
Philipp Moritz
parent
7e4a28f933
commit
96463c680c
@@ -57,13 +57,14 @@ from ray.worker import global_state # noqa: E402
|
||||
# We import ray.actor because some code is run in actor.py which initializes
|
||||
# some functions in the worker.
|
||||
import ray.actor # noqa: F401
|
||||
from ray.actor import method # noqa: E402
|
||||
|
||||
# Ray version string. TODO(rkn): This is also defined separately in setup.py.
|
||||
# Fix this.
|
||||
__version__ = "0.3.0"
|
||||
|
||||
__all__ = ["error_info", "init", "connect", "disconnect", "get", "put", "wait",
|
||||
"remote", "log_event", "log_span", "flush_log", "actor",
|
||||
"remote", "log_event", "log_span", "flush_log", "actor", "method",
|
||||
"get_gpu_ids", "get_webui_url", "register_custom_serializer",
|
||||
"SCRIPT_MODE", "WORKER_MODE", "PYTHON_MODE", "SILENT_MODE",
|
||||
"global_state", "_config", "__version__"]
|
||||
|
||||
Reference in New Issue
Block a user