Retrieves an object by ID if it still exists.
(cls, obj_id: str)
| 32 | |
| 33 | @classmethod |
| 34 | def get(cls, obj_id: str) -> Optional[ObjWithId]: |
| 35 | """Retrieves an object by ID if it still exists.""" |
| 36 | return cls.registry.get(obj_id) |
| 37 | |
| 38 | @classmethod |
| 39 | def register_object(cls, obj: ObjWithId) -> str: |
no outgoing calls