c4e273920f517b18c99fbabca49135dd6e30e683,python/ray/experimental/client/api.py,ClientAPI,remote,#ClientAPI#,185
Before Change
return self.worker.wait(*args, **kwargs)
def remote(self, *args, **kwargs):
return self.worker.remote(*args, **kwargs)
def call_remote(self, instance: "ClientStub", *args, **kwargs):
return self.worker.call_remote(instance, *args, **kwargs)
After Change
""max_calls", or "max_restarts", like "
""@ray.remote(num_returns=2, "
"resources={\"CustomResource\": 1})".")
assert len(args) == 0 and len(kwargs) > 0, error_string
return remote_decorator(options=kwargs)
def call_remote(self, instance: "ClientStub", *args, **kwargs):
call_remote is called by stub objects to execute them remotely.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: ray-project/ray
Commit Name: c4e273920f517b18c99fbabca49135dd6e30e683
Time: 2020-12-22
Author: me@barakmich.com
File Name: python/ray/experimental/client/api.py
Class Name: ClientAPI
Method Name: remote
Project Name: ray-project/ray
Commit Name: d7c95a4a9065cbad73901b4c1de087837e260316
Time: 2020-11-17
Author: simon.mo@hey.com
File Name: python/ray/serve/handle.py
Class Name: RayServeHandle
Method Name: remote
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: 8cf598deab3158239e96ae193d1e42315ecb007e
Time: 2020-04-27
Author: nflu@users.noreply.github.com
File Name: python/ray/util/sgd/torch/distributed_torch_runner.py
Class Name: LocalDistributedRunner
Method Name: __init__