Skip to content

context

etl_craft.services.operations.context

The caller's Engine DB, configuration and audit identity.

OperationContext dataclass

Resources owned by the caller; operations never dispose the Engine DB.

actor scopes requests and dispatched work; automatic transitions retain their system actor.

operation

operation(ctx: OperationContext, command: str, arguments: Mapping[str, Any]) -> Iterator[None]

Record one request before executing it, including domain refusals.