(self, obj: Any, data: dict)
| 92 | return self.replace_object(obj, data) |
| 93 | |
| 94 | def replace_object(self, obj: Any, data: dict): |
| 95 | new_obj = obj.schema.load(data) |
| 96 | return new_obj.store(self._data_svc.ram) |
| 97 | |
| 98 | async def find_and_update_on_disk_object(self, data: dict, search: dict, ram_key: str, id_property: str, obj_class: type): |
| 99 | for obj in self.find_objects(ram_key, search): |