Maximilian Schulz
04/20/2023, 3:23 PMNate
04/21/2023, 4:23 PM@flow
def my_flow(param1: str = "marvin", param2: int = 42):
...
which will be picked up during deployment creation or you can edit the parameters in deployment yaml as mentioned the linked docs
and then users can kick off flow runs from the UI, API, or CLI by running the deployment with custom parametersMaximilian Schulz
04/24/2023, 6:59 AMNate
04/24/2023, 2:39 PMpython yourfile.py
-- if you're looking for something else, let me know! I'm not the most familiar with luigi / nextflow 🙂
values.py
(or use yaml and safe_load
if you wanted)
param1 = "marvin"
param2 = 42
my_flow.py
from values import param1, param2
@flow
def my_flow(param1: str = param1, param2: int = param2):
...
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by