ray/python/ray/types.py
2021-07-15 09:50:37 -07:00

9 lines
239 B
Python

from typing import Generic, TypeVar
T = TypeVar("T")
# TODO(ekl) this is a dummy generic ref type for documentation purposes only.
# We should try to make the Cython ray.ObjectRef properly generic.
class ObjectRef(Generic[T]):
pass