pyiron_workflow.constant module

class pyiron_workflow.constant.Constant(recipe: RecipeType, label: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)] | None = None, /, **connections: Port | Node | JSONABLE)[source]

Bases: StaticNode[ConstantRecipe, ConstantData]

evaluate(run: Run[ResultType], config: RunConfig) Run[ResultType][source]
classmethod from_value(value: JSONABLE, label: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)] | None = None)[source]