Remove experimental.NoReturn (#7475)

This commit is contained in:
Edward Oakes
2020-03-09 11:09:36 -07:00
committed by GitHub
parent 27b4ffa98e
commit b4e2d5317e
3 changed files with 3 additions and 26 deletions
-11
View File
@@ -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")