mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
9 lines
239 B
Python
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
|