(self, targets: Iterable[MigrationTarget] | None = None)
| 121 | applied.add(key) |
| 122 | |
| 123 | async def plan(self, targets: Iterable[MigrationTarget] | None = None) -> list[PlanStep]: |
| 124 | await self.loader.build_graph() |
| 125 | applied = set(await self.recorder.applied_migrations()) |
| 126 | return self._migration_plan(targets, applied, self.loader.graph) |
| 127 | |
| 128 | @staticmethod |
| 129 | def _emit( |