ocrd_network.constants module

class ocrd_network.constants.AgentType(value)[source]

Bases: str, Enum

An enumeration.

PROCESSING_WORKER = 'worker'
PROCESSOR_SERVER = 'server'
class ocrd_network.constants.DeployType(value)[source]

Bases: str, Enum

An enumeration.

DOCKER = 'docker'
NATIVE = 'native'
EXTERNAL = 'external'
class ocrd_network.constants.JobState(value)[source]

Bases: str, Enum

An enumeration.

cached = 'CACHED'
cancelled = 'CANCELLED'
failed = 'FAILED'
queued = 'QUEUED'
running = 'RUNNING'
success = 'SUCCESS'
unset = 'UNSET'
class ocrd_network.constants.NetworkLoggingDirs(value)[source]

Bases: str, Enum

An enumeration.

METS_SERVERS = 'mets_servers'
PROCESSING_JOBS = 'processing_jobs'
PROCESSING_SERVERS = 'processing_servers'
PROCESSING_WORKERS = 'processing_workers'
PROCESSOR_SERVERS = 'processor_servers'
class ocrd_network.constants.ServerApiTags(value)[source]

Bases: str, Enum

An enumeration.

ADMIN = 'admin'
DISCOVERY = 'discovery'
PROCESSING = 'processing'
TOOLS = 'tools'
WORKFLOW = 'workflow'
WORKSPACE = 'workspace'