Aakarsh Nadella
09/05/2019, 8:53 PMChris White
09/05/2019, 9:16 PMflow.run()
in as many different places / processes as you’d like
2. similar to the above, you can call flow.run(parameters={})
in many parallel python processes without any issues
I suspect you’re asking a deeper question about orchestration of workflows / kicking off flow runs asynchronously via some sort of API, etc. in which case I’d recommend you take a look at Prefect Cloud (https://docs.prefect.io/cloud/faq.html), but let me know if I am misunderstanding your questions!Aakarsh Nadella
09/05/2019, 9:58 PMChris White
09/05/2019, 10:01 PMpython my_flow_file.py &
python my_flow_file.py &
python my_flow_file.py &
...
and you could parse command line arguments as parameter values if you’d likeAakarsh Nadella
09/05/2019, 10:06 PMChris White
09/05/2019, 10:08 PM&
should run each process in the background, but that can be platform specific (you might need to use &&
, nohup
or screen
to background the processes, depending on your OS)Aakarsh Nadella
09/05/2019, 10:12 PM&
for executing concurrent processesChris White
09/05/2019, 10:12 PMAakarsh Nadella
09/05/2019, 10:14 PM