Change Python's ObjectID to ObjectRef (#9353)

This commit is contained in:
Hao Chen authored and GitHub committed 2020-07-10 17:49:04 +08:00
1 parent 6311e5a947
commit d49dadf891
91 files changed
+959 -907

No files matched your search

+2 -1
View File
@@ -27,7 +27,8 @@ class ChannelID:
channel_id_str: string representation of channel id
"""
self.channel_id_str = channel_id_str
self.object_qid = ray.ObjectID(channel_id_str_to_bytes(channel_id_str))
self.object_qid = ray.ObjectRef(
channel_id_str_to_bytes(channel_id_str))
def __eq__(self, other):
if other is None: