pydiverse / pydiverse.pipedag

A data pipeline orchestration library for rapid iterative development with automatic cache invalidation allowing users to focus writing their tasks in pandas, polars, sqlalchemy, ibis, and alike.
https://pydiversepipedag.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
27 stars 3 forks source link

Allow execution of a Subflow #89

Closed NMAC427 closed 1 year ago

NMAC427 commented 1 year ago

Example code:


with Flow() as f:
    with Stage("stage_1") as s1:
        ...
    with Stage("stage_2") as s2:
        task_y = ...
        ....

# Run entire flow
f.run()

# Run only stage 1
f.run(s1)

# Run only task y
f.run(task_y)

Checklist