chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:17:40 +08:00
commit f1825c8ceb
10096 changed files with 2364182 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from typing import Generic, TypeVar
from ray.util.annotations import PublicAPI
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.
# NOTE(sang): Looks like using Generic in Cython is not currently possible.
# We should update Cython > 3.0 for this.
@PublicAPI
class ObjectRef(Generic[T]):
pass