compass.pipeline.coordinator.BaseRunMode#

class BaseRunMode(runtime)[source]#

Bases: ABC

Strategy base class for mode-specific workflows

Parameters:

runtime (compass.pipeline.runtime.PipelineRuntime) – The runtime object containing all dependencies, configurations, and settings for the pipeline run. This object should be initialized with the user’s request and any necessary setup (e.g., folder creation, model registry construction) before being passed to the workflow. The workflow will use the runtime to access configurations such as the mode to run in, the tech being processed, model configurations, known sources, and any other relevant settings needed to execute the workflow for the specified mode.

Methods

run(jurisdictions_df)

Run the mode workflow

abstractmethod async run(jurisdictions_df)[source]#

Run the mode workflow