mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
Remove type information from remote decorator.
This commit is contained in:
@@ -140,7 +140,7 @@ class TaskStatusTest(unittest.TestCase):
|
||||
def reinitializer(foo):
|
||||
raise Exception("The reinitializer failed.")
|
||||
ray.reusables.foo = ray.Reusable(initializer, reinitializer)
|
||||
@ray.remote([], [])
|
||||
@ray.remote()
|
||||
def use_foo():
|
||||
ray.reusables.foo
|
||||
use_foo.remote()
|
||||
|
||||
Reference in New Issue
Block a user