def get_backup_plan(plan_id): return get_mbs().plan_collection.get_by_id(objectiditify(plan_id))
def remove_by_id(self, object_id): object_id = objectiditify(object_id) return ObjectCollection.remove_by_id(self, object_id)
def get_by_id(self, task_id): task_id = objectiditify(task_id) q = { "_id": task_id } return self.find_one(q)
def get_by_id(self, object_id): object_id = objectiditify(object_id) q = { "_id": object_id } return self.find_one(q)
def get_by_id(self, task_id): task_id = objectiditify(task_id) q = {"_id": task_id} return self.find_one(q)
def get_by_id(self, object_id): object_id = objectiditify(object_id) q = {"_id": object_id} return self.find_one(q)