1 year ago
    What happens when you run
    prefect register flow --file ... --project ...
    ? Is the python code in the file executed? Similarly, if I am using Prefect cloud, and a k8s agent that spawns jobs; what env vars are available when: 1. The job is starts the python file (thereby declaring the flow / DAG) 2. The flow is run
    So to answer my second question; yes the python code is executed, but the flow itself isn't run. So one has to put all side-effects inside the tasks. Third question: these