phenotypic.sdk_.ProcessingStateKey#

class phenotypic.sdk_.ProcessingStateKey[source]#

Bases: object

Keys inside <output>/processing_state.json (resume-state file).

Distinct from JobMetadataKey even where string values overlap (e.g. EXECUTION_MODE, INPUT_PATH) — these describe the processing_state.json contract, not the SLURM job metadata sidecar. Some values intentionally match across the two contracts so that a single field (like execution_mode) can be migrated atomically; the test_processing_state_keys_match_job_metadata_keys regression test asserts the overlap.

Methods

__init__

Attributes

VERSION: Final[str] = 'version'#
PIPELINE_PATH: Final[str] = 'pipeline_path'#
INPUT_PATH: Final[str] = 'input_path'#
OUTPUT_DIR: Final[str] = 'output_dir'#
TIMESTAMP: Final[str] = 'timestamp'#
EXECUTION_MODE: Final[str] = 'execution_mode'#
LAST_UPDATED: Final[str] = 'last_updated'#
DATASETS: Final[str] = 'datasets'#
CONFIG: Final[str] = 'config'#
COMPLETED: Final[str] = 'completed'#
FAILED: Final[str] = 'failed'#
STARTED: Final[str] = 'started'#
ERRORS: Final[str] = 'errors'#
INITIAL_IMAGES: Final[str] = 'initial_images'#