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
+1 -1
View File
@@ -20,7 +20,7 @@ class RayServeHandle:
Traffic=...
)
>>> handle.remote(my_request_content)
ObjectID(...)
ObjectRef(...)
>>> ray.get(handle.remote(...))
# result
>>> ray.get(handle.remote(let_it_crash_request))
+1 -1
View File
@@ -198,7 +198,7 @@ class Router:
self.endpoint_queues[endpoint].appendleft(query)
self.flush_endpoint_queue(endpoint)
# Note: a future change can be to directly return the ObjectID from
# Note: a future change can be to directly return the ObjectRef from
# replica task submission
try:
result = await query.async_future