d3c310f40877f55186bf43c1b5b164713d76ab1c,python/ray/serve/api.py,,get_backend_config,#Any#,220
Before Change
Args:
backend_tag(str): A registered backend.
assert (backend_tag in global_state.backend_table.list_backends()
), "Backend {} is not registered.".format(backend_tag)
backend_config_dict = global_state.backend_table.get_info(backend_tag)
return BackendConfig(**backend_config_dict)
After Change
Args:
backend_tag(str): A registered backend.
return ray.get(
global_state.master_actor.get_backend_config.remote(backend_tag))
def _backend_accept_batch(func_or_class):
if inspect.isfunction(func_or_class):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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
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: 786f12edfd3ba9850548d7752971cbe503bb64eb
Time: 2020-09-04
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: get_handle