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

Method changes

tests/cli/test_cli.py:485–493  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

483 self.apps_config = apps_config
484
485 async def changes(self) -> list[MigrationWriter]:
486 return [
487 MigrationWriter(
488 "0001_initial",
489 "app",
490 [],
491 migrations_module=self.apps_config["app"]["migrations"],
492 )
493 ]
494
495 monkeypatch.setattr(cli_module.Tortoise, "init", fake_init)
496 monkeypatch.setattr(cli_module, "MigrationAutodetector", FakeAutodetector)

Callers

nothing calls this directly

Calls 1

MigrationWriterClass · 0.90

Tested by

no test coverage detected