[api] Initial API deprecations for Ray 1.0 (#10325)

This commit is contained in:
Eric Liang
2020-08-28 15:03:50 -07:00
committed by GitHub
parent 9c25ca6f5e
commit 519354a39a
75 changed files with 223 additions and 2414 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ class UtilMonitor(Thread):
def pin_in_object_store(obj):
"""Deprecated, use ray.put(value, weakref=False) instead."""
"""Deprecated, use ray.put(value) instead."""
obj_ref = ray.put(obj, weakref=False)
obj_ref = ray.put(obj)
_pinned_objects.append(obj_ref)
return obj_ref