Skip to content

Process

arkindex_worker.worker.process

Classes

ActivityState

Bases: Enum

Processing state of an element.

Attributes
Queued class-attribute instance-attribute
Queued = 'queued'

The element has not yet been processed by a worker.

Started class-attribute instance-attribute
Started = 'started'

The element is being processed by a worker.

Processed class-attribute instance-attribute
Processed = 'processed'

The element has been successfully processed by a worker.

Error class-attribute instance-attribute
Error = 'error'

An error occurred while processing this element.

ProcessMode

Bases: Enum

Mode of the process of the worker.

Attributes
Files class-attribute instance-attribute
Files = 'files'

Processes of files (images, PDFs, IIIF, …) imports.

Workers class-attribute instance-attribute
Workers = 'workers'

Processes of worker executions.

Template class-attribute instance-attribute
Template = 'template'

Process templates.

S3 class-attribute instance-attribute
S3 = 's3'

Processes of imports from an S3-compatible storage.

Local class-attribute instance-attribute
Local = 'local'

Local processes.

Dataset class-attribute instance-attribute
Dataset = 'dataset'

Dataset processes.