mirror of
https://github.com/wassname/ray.git
synced 2026-07-21 12:50:45 +08:00
Support ray task type checking (#9574)
This commit is contained in:
@@ -42,7 +42,7 @@ def _get_actor(name):
|
||||
return handle
|
||||
|
||||
|
||||
def get_actor(name):
|
||||
def get_actor(name: str) -> ray.actor.ActorHandle:
|
||||
"""Get a named actor which was previously created.
|
||||
|
||||
If the actor doesn't exist, an exception will be raised.
|
||||
|
||||
Reference in New Issue
Block a user