Jack Chang
07/28/2022, 5:11 PMNate
07/28/2022, 6:16 PMprefect register -p my_flow.py --project 'My Project'
if you defined a storage object like
GitLab(
repo="my/repo",
path="flows/my_flow.py",
ref="my-branch"
)
and included that in your Flow()
definition, then you should just need to register
(like above) so that Prefect knows where to pull your flow's script from, and then it should pull the most recent version of that flow from whatever branch you specified in ref
I don't believe there is currently a way to pull by specific commit