Bruno Fidrmuc
01/17/2024, 3:51 PMcreate_flow_run
Prefect task. That part is working as it should. However, the problem I'm facing is that I can't find a way to access the run configurations of the first flow—more precisely, the environment variables of the run configurations.
I need the environment variables of the run configurations so that I can use them and pass them to the create_flow_run
function. This way, the second flow will have the same environment as the first one.
I've tried using load_dotenv()
that loads the environment to os.environ
, and that worked for me locally. However, when using it on the server, it just loaded everything from the .env
file and not from the current environment used in the flow for run configurations.
Has anyone encountered this problem before?