mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 15:27:47 +08:00
Remove experimental.NoReturn (#7475)
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
class NoReturn:
|
||||
"""Do not store the return value in the object store.
|
||||
|
||||
If a task returns this object, then Ray will not store this object in the
|
||||
object store. Calling `ray.get` on the task's return ObjectIDs may block
|
||||
indefinitely unless the task manually stores an object for the
|
||||
corresponding ObjectID.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
raise TypeError("The `NoReturn` object should not be instantiated")
|
||||
Reference in New Issue
Block a user