Hi everyone, we have a question on how we can best engineer our prefect flow library. We would like to be able to launch each flow (@flow) on a separate environment with its own libraries, dependencies. To do this we simply make use of the deployments and blocks (k8s job or docker container), but if we also wanted to be able to execute the flows by calling them from other flows, without launching the corresponding deployment but just calling them as simple python functions (so that we can execute them from a notebook for example), how could we do this?
Example:
• run_deployent(DEP_ID). # thus we launch the flow which, according to the deployment, is executed on the K8S cluster
• if we wanted to simply call it up and launch it locally: example_flow(arg1, arg2, ...) but with its own environment, is that possible? (I don't think so but I hope so 🙂)
@Davide Imperiale