MigrationReport
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class MigrationReport(source: Path, destination: Path | None, workflow: str, document: Dict[str, Any], diff: str, warnings: Tuple[str, ...] = ())[source]
Bases:
objectOutcome of one
migrate_yamlcall.- source
The v0 file read.
- Type:
- destination
The v1 file written;
Nonefor a dry run.- Type:
pathlib.Path | None
- warnings
Translation warnings, see
LegacyTranslation.- Type:
Tuple[str, …]