mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 23:16:00 +08:00
Better checking that ray.init() has been called. (#10261)
This commit is contained in:
+17
-17
@@ -98,23 +98,14 @@ __commit__ = "{{RAY_COMMIT_SHA}}"
|
||||
__version__ = "0.9.0.dev0"
|
||||
|
||||
__all__ = [
|
||||
"jobs",
|
||||
"nodes",
|
||||
"actors",
|
||||
"objects",
|
||||
"timeline",
|
||||
"object_transfer_timeline",
|
||||
"cluster_resources",
|
||||
"available_resources",
|
||||
"LOCAL_MODE",
|
||||
"PYTHON_MODE",
|
||||
"SCRIPT_MODE",
|
||||
"WORKER_MODE",
|
||||
"__version__",
|
||||
"_config",
|
||||
"_get_runtime_context",
|
||||
"actor",
|
||||
"actors",
|
||||
"available_resources",
|
||||
"cancel",
|
||||
"cluster_resources",
|
||||
"connect",
|
||||
"disconnect",
|
||||
"get",
|
||||
@@ -125,20 +116,29 @@ __all__ = [
|
||||
"init",
|
||||
"internal",
|
||||
"is_initialized",
|
||||
"java_actor_class",
|
||||
"java_function",
|
||||
"jobs",
|
||||
"kill",
|
||||
"Language",
|
||||
"method",
|
||||
"nodes",
|
||||
"objects",
|
||||
"object_transfer_timeline",
|
||||
"profile",
|
||||
"projects",
|
||||
"put",
|
||||
"kill",
|
||||
"register_custom_serializer",
|
||||
"remote",
|
||||
"shutdown",
|
||||
"show_in_webui",
|
||||
"wait",
|
||||
"Language",
|
||||
"java_function",
|
||||
"java_actor_class",
|
||||
"timeline",
|
||||
"util",
|
||||
"wait",
|
||||
"LOCAL_MODE",
|
||||
"PYTHON_MODE",
|
||||
"SCRIPT_MODE",
|
||||
"WORKER_MODE",
|
||||
]
|
||||
|
||||
# ID types
|
||||
|
||||
Reference in New Issue
Block a user