MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / migrations_module

Method migrations_module

tortoise/migrations/loader.py:30–31  ·  view source on GitHub ↗
(self, app_label: str)

Source from the content-addressed store, hash-verified

28 raise RuntimeError("MigrationLoader.build_graph is async; call it explicitly.")
29
30 def migrations_module(self, app_label: str) -> str | None:
31 return self.apps_config.get(app_label, {}).get("migrations")
32
33 def load_disk(self) -> None:
34 self.disk_migrations = {}

Callers 1

load_diskMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected