786f12edfd3ba9850548d7752971cbe503bb64eb,python/ray/serve/api.py,,get_handle,#Any#Any#,371
Before Change
RayServeHandle
if not missing_ok:
assert endpoint_name in ray.get(controller.get_all_endpoints.remote())
// TODO(edoakes): we should choose the router on the same node.
routers = ray.get(controller.get_routers.remote())
return RayServeHandle(
After Change
Returns:
RayServeHandle
if endpoint_name not in ray.get(
self._controller.get_all_endpoints.remote()) :
raise KeyError(f"Endpoint "{endpoint_name}" does not exist.")
// TODO(edoakes): we should choose the router on the same node.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: ray-project/ray
Commit Name: 786f12edfd3ba9850548d7752971cbe503bb64eb
Time: 2020-09-04
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: get_handle
Project Name: ray-project/ray
Commit Name: 1e39c403709b96d0bfa9c139e927441acc232426
Time: 2020-09-27
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_capture_child_tasks
Project Name: ray-project/ray
Commit Name: d3c310f40877f55186bf43c1b5b164713d76ab1c
Time: 2020-04-07
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: get_backend_config