mirror of
https://github.com/wassname/ray.git
synced 2026-07-21 12:50:45 +08:00
fix bug for functions with no return values and with one return value (#211)
This commit is contained in:
committed by
Philipp Moritz
parent
529e86ce64
commit
0947024ad9
@@ -23,3 +23,7 @@ def dot(a, b):
|
||||
@ray.remote([], [])
|
||||
def throw_exception():
|
||||
raise Exception("This function intentionally failed.")
|
||||
|
||||
@ray.remote([], [])
|
||||
def no_op():
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user