mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 22:12:41 +08:00
[xlang] Cross language Python support (#6709)
This commit is contained in:
@@ -107,6 +107,7 @@ from ray._raylet import (
|
||||
ObjectID,
|
||||
TaskID,
|
||||
UniqueID,
|
||||
Language,
|
||||
) # noqa: E402
|
||||
|
||||
_config = _Config()
|
||||
@@ -141,6 +142,7 @@ import ray.projects # noqa: E402
|
||||
import ray.actor # noqa: F401
|
||||
from ray.actor import method # noqa: E402
|
||||
from ray.runtime_context import _get_runtime_context # noqa: E402
|
||||
from ray.cross_language import java_function, java_actor_class # noqa: E402
|
||||
|
||||
# Ray version string.
|
||||
__version__ = "0.9.0.dev0"
|
||||
@@ -182,6 +184,9 @@ __all__ = [
|
||||
"shutdown",
|
||||
"show_in_webui",
|
||||
"wait",
|
||||
"Language",
|
||||
"java_function",
|
||||
"java_actor_class",
|
||||
]
|
||||
|
||||
# ID types
|
||||
|
||||
Reference in New Issue
Block a user