mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 14:44:48 +08:00
Change Python's ObjectID to ObjectRef (#9353)
This commit is contained in:
+2
-2
@@ -233,8 +233,8 @@ def ensure_str(s, encoding="utf-8", errors="strict"):
|
||||
return s.decode(encoding, errors)
|
||||
|
||||
|
||||
def binary_to_object_id(binary_object_id):
|
||||
return ray.ObjectID(binary_object_id)
|
||||
def binary_to_object_ref(binary_object_ref):
|
||||
return ray.ObjectRef(binary_object_ref)
|
||||
|
||||
|
||||
def binary_to_task_id(binary_task_id):
|
||||
|
||||
Reference in New Issue
Block a user