1f54acd27488f089f3211c08aef5d9927183d1c6,python/ray/worker.py,,cancel,#Any#Any#,1736
Before Change
worker.check_connected()
if not isinstance(object_ref, ray.ObjectRef):
raise TypeError(
"ray.cancel() only supported for non-actor object refs. "
"Got: {}.".format(type(object_ref)))
return worker.core_worker.cancel_task(object_ref, force)
def _mode(worker=global_worker):
After Change
worker.check_connected()
if not isinstance(object_ref, ray.ObjectRef):
raise TypeError(
"ray.cancel() only supported for non-actor object refs. "
f"Got: {type(object_ref)}.")
return worker.core_worker.cancel_task(object_ref, force)
def _mode(worker=global_worker):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: ray-project/ray
Commit Name: 1f54acd27488f089f3211c08aef5d9927183d1c6
Time: 2020-08-23
Author: rkooo567@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: cancel
Project Name: ray-project/ray
Commit Name: 1f54acd27488f089f3211c08aef5d9927183d1c6
Time: 2020-08-23
Author: rkooo567@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: wait
Project Name: ray-project/ray
Commit Name: 1f54acd27488f089f3211c08aef5d9927183d1c6
Time: 2020-08-23
Author: rkooo567@gmail.com
File Name: python/ray/worker.py
Class Name:
Method Name: remote
Project Name: wkentaro/labelme
Commit Name: 38e289b7a05c752755d1f7ec0dd6f2c3bee8eb5b
Time: 2020-02-15
Author: www.kentaro.wada@gmail.com
File Name: labelme/app.py
Class Name: MainWindow
Method Name: editLabel
Project Name: ray-project/ray
Commit Name: 92664249e82483598a0a22dc0d2bd6f85a143c60
Time: 2020-08-20
Author: rkooo567@gmail.com
File Name: python/ray/actor.py
Class Name: ActorClass
Method Name: _remote