StepSchema

A concrete step instance within a ~recap.schemas.process.ProcessRunSchema.

Usage

Source

StepSchema()

Each step corresponds to one StepTemplateSchema from the parent process template and carries the actual parameter values recorded during execution, plus a lifecycle state.

Attributes: name: Step name, matching the template step name. template: The StepTemplateSchema this step was created from. parameters: A dynamically-generated Pydantic model whose fields are the parameter group slugs, each holding a ParameterSchema instance with live values. state: Current lifecycle state; one of ~recap.schemas.common.StepStatus.PENDING, ~recap.schemas.common.StepStatus.IN_PROGRESS, or ~recap.schemas.common.StepStatus.COMPLETE. process_run_id: UUID of the parent ~recap.schemas.process.ProcessRunSchema.