mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 10:01:11 +08:00
Set _remote() function args and kwargs as optional (#4305)
This commit is contained in:
committed by
Robert Nishihara
parent
ba3fe04629
commit
5adb4a6941
@@ -107,6 +107,7 @@ class RemoteFunction(object):
|
||||
worker.function_actor_manager.export(self)
|
||||
|
||||
kwargs = {} if kwargs is None else kwargs
|
||||
args = [] if args is None else args
|
||||
args = ray.signature.extend_args(self._function_signature, args,
|
||||
kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user