Skip to content

tdfs4ds.migration.report

tdfs4ds.migration.report

Human-readable approval report for a cross-store migration manifest (v0.3.1.150). Cheap, no LLM — pure rendering of the plan dict.

norm_name

norm_name(name: Optional[str]) -> str

Uppercase, de-quoted, stripped — the canonical comparison form.

_short

_short(name) -> str

render_migration_report

render_migration_report(plan: Dict[str, Any], fmt: str = 'markdown') -> str

Render the migration manifest as an approval-ready report.

Parameters

plan : dict A manifest from :func:tdfs4ds.plan_migration. fmt : 'markdown' | 'html' Output format (default markdown).

_render_markdown

_render_markdown(plan: Dict[str, Any]) -> str

_render_html

_render_html(plan: Dict[str, Any]) -> str

Compact self-contained HTML summary (for the admin panel).