Created
July 31, 2022 04:40
-
-
Save kvnkho/1e0332f0647e087cde878b0a2762c6eb to your computer and use it in GitHub Desktop.
Ploomber pipeline with parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Content of pipeline.yaml | |
tasks: | |
- source: extract.py | |
product: | |
# scripts generate executed notebooks as outputs | |
nb: output/extract.html | |
# you can define as many outputs as you want | |
data: 'data/{{raw_filename}}' | |
params: | |
engine: '{{engine}}' | |
- source: transform.py | |
product: | |
nb: output/transform.html | |
data: 'data/{{transformed_filename}}' | |
params: | |
engine: '{{engine}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment