mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
[api] Initial API deprecations for Ray 1.0 (#10325)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user