Change Python's ObjectID to ObjectRef (#9353)

This commit is contained in:
Hao Chen
2020-07-10 17:49:04 +08:00
committed by GitHub
parent 6311e5a947
commit d49dadf891
91 changed files with 959 additions and 907 deletions
+2 -2
View File
@@ -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):