Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

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

IngestionRun

class roboto.experimental.ingestion_runs.IngestionRun(/, **data)#View Source

Bases: pydantic.BaseModel

The latest time an ingestion rule’s trigger ran on a file’s current upload.

Parameters

data Any

Attributes

IngestionRun.detail

detail str | None = None #

Why the trigger could not start the action, when it could not.

IngestionRun.file_id

file_id str #

IngestionRun.invocation_id

invocation_id str | None = None #

The action invocation the run started. None when the trigger could not start one.

IngestionRun.rule_id

rule_id str #

The rule whose trigger ran.

IngestionRun.started

started datetime.datetime #

IngestionRun.status

IngestionRun.trigger_id

trigger_id str #

IngestionRunStatus

class roboto.experimental.ingestion_runs.IngestionRunStatus#View Source

Bases: roboto.compat.StrEnum

Where one run of a rule’s trigger on a file stands.

Attributes

IngestionRunStatus.Failed

Failed = 'failed' #

The action failed or was cancelled, or the trigger could not start it.

IngestionRunStatus.Finished

Finished = 'finished' #

The action finished. The file’s ingestion_status says how much of it was ingested.

IngestionRunStatus.Running

Running = 'running' #

The ingestion action is queued or running.

Was this page helpful?