ResourceAssignmentSchema

Represents the assignment of a resource to a slot in a process run.

Usage

Source

ResourceAssignmentSchema()

When a ~recap.schemas.process.ProcessRunSchema is executed, resources are bound to the resource slots declared on the process template. Each ResourceAssignmentSchema captures one such binding.

Attributes: slot: The ResourceSlotSchema the resource is assigned to. resource: The ResourceSchema that was assigned. step_id: UUID of the specific step this assignment is scoped to, or None if the assignment spans the entire process run.