in src/dma/collector/workflows/collection_extractor/base.py [0:0]
def print_summary(self) -> None:
"""Print Summary of the Migration Readiness Assessment."""
table = Table(show_header=False)
table.add_column("title", style="cyan", width=80)
table.add_row("Collection Summary")
self.console.print(table)
if self.db_type == "POSTGRES":
from dma.collector.workflows.collection_extractor._postgres import print_summary_postgres # noqa: PLC0415
print_summary_postgres(console=self.console, local_db=self.local_db, manager=self.canonical_query_manager)
elif self.db_type == "MYSQL":
from dma.collector.workflows.collection_extractor._mysql import print_summary_mysql # noqa: PLC0415
print_summary_mysql(console=self.console, local_db=self.local_db, manager=self.canonical_query_manager)
else:
msg = f"{self.db_type} is not implemented."
raise ApplicationError(msg)