juturna.names package

Module contents

class juturna.names.ComponentStatus(*values)

Bases: StrEnum

Possible state values of a component.

  • NEW (component_created): a component was instantiated

  • CONFIGURED (component_configured): a component was configured, or, the configure() method was invoked on it

  • RUNNING (component_running): a component is running within a running pipeline, so, configure() and start() were previosuly invoked on it

  • STOPPED (component_stopped): a previously running component was stopped, so stop() was invoked on it

CONFIGURED = 'component_configured'
NEW = 'component_created'
RUNNING = 'component_running'
STOPPED = 'component_stopped'
class juturna.names.PipelineStatus(*values)

Bases: StrEnum

NEW = 'pipeline_created'
READY = 'pipeline_ready'
RUNNING = 'pipeline_running'
class juturna.names.ServiceStatus(*values)

Bases: StrEnum

ALREADY_RUNNING = 'pipeline_already_running'
ALREADY_WARMEDUP = 'pipeline_already_warmedup'
INVALID_ID = 'pipeline_id_invalid'
NOT_READY = 'pipeline_not_ready'
NOT_RUNNING = 'pipeline_not_running'
REQUEST_KO = 'service_request_failed'
REQUEST_OK = 'service_request_ok'