mirror of
https://github.com/wassname/ray.git
synced 2026-07-15 11:25:40 +08:00
Suppress warning for serializing different unique ID types in Python. (#3872)
* Suppress warning for serializing different unique ID types in Python. * Add _ID_TYPES variable.
This commit is contained in:
committed by
Stephanie Wang
parent
b2b8417790
commit
fa4eb8313d
@@ -51,7 +51,7 @@ sys.path.append(modin_path)
|
||||
|
||||
from ray._raylet import (UniqueID, ObjectID, DriverID, ClientID, ActorID,
|
||||
ActorHandleID, FunctionID, ActorClassID, TaskID,
|
||||
Config as _Config) # noqa: E402
|
||||
_ID_TYPES, Config as _Config) # noqa: E402
|
||||
|
||||
_config = _Config()
|
||||
|
||||
@@ -77,7 +77,8 @@ __all__ = [
|
||||
"remote", "profile", "actor", "method", "get_gpu_ids", "get_resource_ids",
|
||||
"get_webui_url", "register_custom_serializer", "shutdown",
|
||||
"is_initialized", "SCRIPT_MODE", "WORKER_MODE", "LOCAL_MODE",
|
||||
"PYTHON_MODE", "global_state", "_config", "__version__", "internal"
|
||||
"PYTHON_MODE", "global_state", "_config", "__version__", "internal",
|
||||
"_ID_TYPES"
|
||||
]
|
||||
|
||||
__all__ += [
|
||||
|
||||
Reference in New Issue
Block a user