mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:48:31 +08:00
4c52adddfa
* Type check ObjectRef * Bug fix * Port typing tests to bazel test
12 lines
144 B
Python
12 lines
144 B
Python
from typing import Any, Awaitable, TypeVar
|
|
|
|
R = TypeVar("R")
|
|
|
|
|
|
class ObjectRef(Awaitable[R]):
|
|
pass
|
|
|
|
|
|
class ObjectID(Awaitable[R]):
|
|
pass
|