merlin01/21/2021, 7:50 PM
assignment in the file based storage discussion:
flow.storage = GitHub( repo="org/repo", # name of repo path="flows/my_flow.py", # location of flow
file and so on, and every one has to include its own file path location. Makes it very hard to reorganize flow file folders, and seems like a redundancy that will collect errors.
Zanie01/21/2021, 7:56 PM
was instantiated then figure out where the root of the git repo is then construct a relative path — all of which is quite brittle). Since we’re not storing any of your code, we need to know where the flow lives and this information is just put into the flow metadata so we know where to pull the flow from when you want to run it.
that you pass
and calculate the relative path since you know what the base path of your git repo is.
merlin01/21/2021, 8:07 PM
Zanie01/21/2021, 8:38 PM