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

_calendar_text

_calendar_text(value)

_gaps_text

_gaps_text(value)

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).

_kind_label

_kind_label(kind) -> str

_flagged

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

Names of the processes with an error or warning finding: promoting one carries the problem to production.

_verdict_text

_verdict_text(v) -> str

_sanity_lines

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

_acceptance_lines

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

_acceptance_html

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

_access_lines

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

_render_markdown

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

_sanity_html

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

_access_html

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

_render_html

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

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