phenotypic.sdk_.MetadataMigrationReport#
- class phenotypic.sdk_.MetadataMigrationReport(source: str, status: Literal['compatible', 'migratable', 'blocked', 'applied', 'rolled_back', 'failed'], source_fingerprint: str, plan_fingerprint: str, targets: tuple[MetadataMigrationTarget, ...], conflicts: tuple[str, ...] = (), target_role: Literal['bundle_durable', 'bundle_all', 'exact_file'] | None = None)[source]#
Bases:
objectImmutable preflight result for a file, frame, or bundle.
Methods
__init__Attributes
Return the number of targets that cannot migrate losslessly.
Return the number of already-canonical targets.
Return the number of targets requiring migration.
- Parameters:
- targets: tuple[MetadataMigrationTarget, ...]#