Support ray task type checking (#9574)

This commit is contained in:
Philipp Moritz
2020-07-21 19:05:42 -07:00
committed by GitHub
parent 997d1162e3
commit a5f4659d9f
11 changed files with 194 additions and 43 deletions
+1 -1
View File
@@ -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.