Hi team, I am planning to store a config file on g...
# prefect-ui
m
Hi team, I am planning to store a config file on github using prefect github storage https://docs.prefect.io/api/latest/storage.html#github along with the flow file as below. The my_flow.py will refer to config params from the config file. I was wondering if the flow registers and runs will be able to handle this behavior and automatic updates to config file changes?
Copy code
flows/
        my_flow.py
        config.json
z
Hi @Minakshi -- Github storage will currently only apply to your
my_flow.py
file and cannot load otherfiles alongside.
Feel free to open a feature request at https://github.com/PrefectHQ/prefect/issues
m
got it thanks!
z
One option is to have a task at the start of your flow download that config file and read the settings manually.
m
yeah, I was thinking of the same. to download the config file and have it update on a cache variable