(
history_record_class_path: str,
)
| 122 | |
| 123 | @staticmethod |
| 124 | def get_history_record_model_class( |
| 125 | history_record_class_path: str, |
| 126 | ) -> typing.Type[Model]: |
| 127 | module_path, class_name = history_record_class_path.rsplit(".", maxsplit=1) |
| 128 | module = import_module(module_path) |
| 129 | return getattr(module, class_name) # type: ignore[no-any-return] |
| 130 | |
| 131 | @hook(BEFORE_CREATE) |
| 132 | def add_project(self): # type: ignore[no-untyped-def] |
no outgoing calls