Method
_emit
(
progress: Callable[[str, str, str], object] | None,
event: str,
key: MigrationKey,
)
Source from the content-addressed store, hash-verified
| 127 | |
| 128 | @staticmethod |
| 129 | def _emit( |
| 130 | progress: Callable[[str, str, str], object] | None, |
| 131 | event: str, |
| 132 | key: MigrationKey, |
| 133 | ) -> None: |
| 134 | if progress is not None: |
| 135 | progress(event, key.app_label, key.name) |
| 136 | |
| 137 | def _schema_editor(self, atomic: bool = True, collect_sql: bool = False) -> BaseSchemaEditor: |
| 138 | module = self.connection.__class__.__module__ |
Tested by
no test coverage detected