Trace¶
- class photonforge.pda.Trace(data)[source]¶
The result of walking one attachment back to a component.
A mapping, so
trace["version"]anddict(trace)behave. Printing or displaying it draws the chain and marks which hops are machine-checked.Methods
get(k[,d])items()keys()values()Attributes
attachmentVersions the file could have meant, when the first hop failed.
The component rebuilt at the version.
confidenceWhy the component could not be rebuilt, when it could not;
Noneotherwise.refThe project tag or version the component was rebuilt from;
Nonewithout a rebuild.targetThe technology rebuilt at the version;
Noneotherwise, as forcomponent.versionversion_info- Parameters:
data (dict)
- property candidates: list[str]¶
Versions the file could have meant, when the first hop failed.
- property component¶
The component rebuilt at the version.
Nonefor a file on a technology or the project, withrebuild=False, or when the rebuild failed (seerebuild_error).
- property rebuild_error: str | None¶
Why the component could not be rebuilt, when it could not;
Noneotherwise.
- property snapshot: str | None¶
The project tag or version the component was rebuilt from;
Nonewithout a rebuild.
- property technology¶
The technology rebuilt at the version;
Noneotherwise, as forcomponent.