Skip to content

operations

etl_craft.services.operations

Actor-scoped operations shared by the CLI and Python callers.

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.

to_json

to_json(obj: object) -> dict[str, Any]

Return a fresh JSON document; dates use ISO 8601 and enums use their values.