mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 07:58:26 +08:00
[Core]Add runtime context for python worker (#10309)
* add runtime context for python * fixed * code fixed * test added * lint * lint
This commit is contained in:
@@ -91,6 +91,7 @@ import ray.projects # noqa: E402
|
||||
import ray.actor # noqa: F401
|
||||
from ray.actor import method # noqa: E402
|
||||
from ray.cross_language import java_function, java_actor_class # noqa: E402
|
||||
from ray.runtime_context import get_runtime_context # noqa: E402
|
||||
from ray import util # noqa: E402
|
||||
|
||||
# Replaced with the current commit when building the wheels.
|
||||
@@ -100,7 +101,7 @@ __version__ = "0.9.0.dev0"
|
||||
__all__ = [
|
||||
"__version__",
|
||||
"_config",
|
||||
"_get_runtime_context",
|
||||
"get_runtime_context",
|
||||
"actor",
|
||||
"actors",
|
||||
"available_resources",
|
||||
|
||||
Reference in New Issue
Block a user