Skip to content

common_dagster.pod

pod.py — the isolate-step pod entry (python -m common_dagster.pod).

Runs ONE step’s body in its own pod: construct the flow fresh, pull any param-inputs from the store by key, run the method, stash the output under this step’s own key (the in-location wrapper returned PodWritten, so the store skips — what this pod writes IS the hand-off), report via Pipes.

Functions

main

def main() -> None

run_step

def run_step(flow_cls: Any, step_name: str, db: Any = None, *, product_metadata: dict[str, dict[str, Any]] | None = None) -> PodOutcome

The pod’s whole job; db injectable for tests. The launcher forwards the full address (DG_PARTITION · DG_STORE_TABLE · DG_RUN) so the pod reads and writes the SAME store keys the in-location wrapper would, and resolves the SAME configs-DB row the job’s dg/run tag selected.