MCPcopy
hub / github.com/tortoise/tortoise-orm / _emit

Method _emit

tortoise/migrations/executor.py:129–135  ·  view source on GitHub ↗
(
        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__

Callers 1

migrateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected