mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 21:12:15 +08:00
Remove unused AddContainedObjectIDs (#7323)
This commit is contained in:
@@ -1006,15 +1006,6 @@ cdef class CoreWorker:
|
||||
c_owner_id,
|
||||
c_owner_address)
|
||||
|
||||
def add_contained_object_ids(
|
||||
self, ObjectID object_id, contained_object_ids):
|
||||
cdef:
|
||||
CObjectID c_object_id = object_id.native()
|
||||
c_vector[CObjectID] c_contained_ids
|
||||
c_contained_ids = ObjectIDsToVector(contained_object_ids)
|
||||
self.core_worker.get().AddContainedObjectIDs(
|
||||
c_object_id, c_contained_ids)
|
||||
|
||||
# TODO: handle noreturn better
|
||||
cdef store_task_outputs(
|
||||
self, worker, outputs, const c_vector[CObjectID] return_ids,
|
||||
|
||||
@@ -149,9 +149,6 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
|
||||
const CObjectID &outer_object_id,
|
||||
const CTaskID &owner_id,
|
||||
const CAddress &owner_address)
|
||||
void AddContainedObjectIDs(
|
||||
const CObjectID &object_id,
|
||||
const c_vector[CObjectID] &contained_object_ids)
|
||||
|
||||
CRayStatus SetClientOptions(c_string client_name, int64_t limit)
|
||||
CRayStatus Put(const CRayObject &object,
|
||||
|
||||
Reference in New Issue
Block a user