Hey <@U021J8TU753> ! Im using Prefect 2.18.3 (Serv...
# ask-community
c
Hey @Prefect ! Im using Prefect 2.18.3 (Server) , running into a weird issue where Im using
variables.get()
and
flow_from_source()
to deploy. Basically I use a global variable and retrieve it on run time to feed into flow_from_source(), and it returns an error where the event loop is closed:
raise RuntimeError('Event loop is closed')
. I know this is an error with Variables because I tried redeploying with a hard coded variable, and it runs fine