ProcessRunSchema
A concrete execution of a ProcessTemplateSchema.
Usage
ProcessRunSchema()A ProcessRunSchema is the primary provenance record. It links together:
- The workflow that was executed (
template). - The resources that were used (
assigned_resources). - The parameter values captured at each step (
steps). - The namespace it belongs to (
namespace_id).
Chain multiple process runs by using the output resource of one run as the input of the next, creating a queryable provenance graph.
Attributes: name: Display name for this run (e.g. "Run 001"). description: Free-text description of what this run represents. namespace_id: UUID of the owning Namespace. template: The ProcessTemplateSchema this run instantiates. steps: Mapping of step name → ~recap.schemas.step.StepSchema with live parameter values. assigned_resources: Mapping of slot name → ~recap.schemas.resource.ResourceAssignmentSchema binding resources to their slots. Keyed by ~recap.schemas.resource.ResourceSlotSchema.name so that a specific assignment can be retrieved directly, e.g. run.assigned_resources["crystal_plate"].