pyiron_workflow.validation module
- class pyiron_workflow.validation.CombinedValidationReport(types: 'TypeValidationReport | None', metadata: 'SemantikonValidationReport | None')[source]
Bases:
object- metadata: SemantikonValidationReport | None
- types: TypeValidationReport | None
- property valid: bool
- class pyiron_workflow.validation.NotParseable[source]
Bases:
object- complete: ClassVar[bool] = False
- valid: ClassVar[bool] = True
- class pyiron_workflow.validation.SemantikonValidationReport(valid: 'bool', graph: 'rdflib.ConjunctiveGraph | rdflib.Graph', text: 'str')[source]
Bases:
object- graph: ConjunctiveGraph | Graph
- text: str
- valid: bool
- class pyiron_workflow.validation.TypeValidationReport(name: 'str', invalid_edges: 'datatypes.EdgeList', unfulfilled_edges: 'datatypes.EdgeList', subreports: 'dict[str, TypeValidationReport | NotParseable]', depth: 'int' = 0)[source]
Bases:
object- property complete: bool
- depth: int = 0
- name: str
- subreports: dict[str, TypeValidationReport | NotParseable]
- property text: str
- property valid: bool
- pyiron_workflow.validation.validate_constant_edge(edge: EdgeTuple, owner: StaticGraph | Workflow) EdgeTuple[source]
As
validate_edge(), but tolerant of an unparameterised container source.
- pyiron_workflow.validation.validate_edge(edge: EdgeTuple, owner: StaticGraph | Workflow, strict: bool = False) EdgeTuple[source]
- pyiron_workflow.validation.validate_ontology(data: Node[WorkflowRecipe, DagData] | Run[DagData], extra_knowledge: Graph | None = None)[source]