mirror of
https://github.com/wassname/ray.git
synced 2026-07-25 13:30:52 +08:00
Basic reference counting & pinning (#6554)
This commit is contained in:
@@ -176,12 +176,6 @@ cdef class ObjectID(BaseID):
|
||||
def task_id(self):
|
||||
return TaskID(self.data.TaskId().Binary())
|
||||
|
||||
def set_buffer_ref(self, ref):
|
||||
self.buffer_ref = ref
|
||||
|
||||
def get_buffer_ref(self):
|
||||
return self.buffer_ref
|
||||
|
||||
cdef size_t hash(self):
|
||||
return self.data.Hash()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user