roboto.experimental.ingestion_runs#
The runs of an ingestion rule’s trigger on a file.
A leaf module: roboto.experimental.sessions reports runs too, and importing
roboto.experimental.ingestion_rules from there would be circular.
Module Contents#
- class roboto.experimental.ingestion_runs.IngestionRun(/, **data)#
Bases:
pydantic.BaseModelThe latest time an ingestion rule’s trigger ran on a file’s current upload.
- Parameters:
data (Any)
- detail: str | None = None#
Why the trigger could not start the action, when it could not.
- file_id: str#
- invocation_id: str | None = None#
The action invocation the run started.
Nonewhen the trigger could not start one.
- rule_id: str#
The rule whose trigger ran.
- started: datetime.datetime#
- status: IngestionRunStatus#
- trigger_id: str#
- class roboto.experimental.ingestion_runs.IngestionRunStatus#
Bases:
roboto.compat.StrEnumWhere one run of a rule’s trigger on a file stands.
- Failed = 'failed'#
The action failed or was cancelled, or the trigger could not start it.
- Finished = 'finished'#
The action finished. The file’s
ingestion_statussays how much of it was ingested.
- Running = 'running'#
The ingestion action is queued or running.