upxo.meshing.gbconformant.pipeline.preflight module
What a stage needs before it can run: stored results and non-empty settings.
- class upxo.meshing.gbconformant.pipeline.preflight.StageRequirements(artefacts: tuple[str, ...] = (), config_nonempty: tuple[str, ...] = (), message: str = '')[source]
Bases:
objectWhat must exist before a stage can run.
- class upxo.meshing.gbconformant.pipeline.preflight.PreflightIssue(stage_id: 'str', message: 'str', missing_artefacts: 'list[str]' = <factory>, missing_config: 'list[str]' = <factory>)[source]
Bases:
object
- upxo.meshing.gbconformant.pipeline.preflight.check_stage_preflight(state: PipelineState, stage_id: str) PreflightIssue | None[source]
Return an issue if the stage should not run yet; else
None.
- upxo.meshing.gbconformant.pipeline.preflight.format_preflight_issue(issue: PreflightIssue) str[source]