pyiron_workflow.data module

class pyiron_workflow.data.SemantikonRecipeChange(location: list[str], new_edge: tuple[str, str], parent_input: str | None = None, parent_output: str | None = None)[source]

Bases: object

Represents a change in a Semantikon recipe, to be digested in order to modify a Semantikon workflow dictionary representation.

location

The location within the recipe where the change occurs, described by a lexical path of node labels – the user will insert other keys like “nodes” etc. into this path.

Type:

list[str]

new_edge

The new edge being introduced, represented as a tuple of strings according to the Semantikon formalism..

Type:

tuple[str, str]

parent_input

The optional parent input associated with the edge.

Type:

str | None

parent_output

The optional parent output associated with the edge.

Type:

str | None

location: list[str]
new_edge: tuple[str, str]
parent_input: str | None = None
parent_output: str | None = None