WorkflowContext#

class openstef_models.mixins.callbacks.WorkflowContext(**data: Any) None[source]

Bases: BaseModel, Generic

Context object for workflow execution state.

Holds the current workflow instance and provides storage for additional data that needs to be passed between workflow stages or shared with callbacks.

Parameters:

data (Any)

workflow: TypeVar(W)
data: dict[str, Any]
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'protected_namespaces': (), 'ser_json_inf_nan': 'null'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].