Also what is the best practice for sharing code between flows in a project? And how about sharing code between different projects? Are there any options besides rolling out a library to a pypi index?
c
Chris White
03/28/2021, 3:52 PM
You don’t need to push anything to PyPI but we do recommend creating python packages that you can then install into a base Docker image; here’s some info on your options with Docker images: https://docs.prefect.io/orchestration/flow_config/docker.html
x
xyzy
03/28/2021, 7:14 PM
Thanks!
xyzy
03/28/2021, 7:29 PM
One questions though... if you use e.g. GitHub or GitLab as the storage, does versioning of flows still work if you don't use the ref parameter? I assume it would work if you use the ref parameter.
xyzy
03/28/2021, 7:42 PM
Ah seems versions can't be managed in server anyways, only in cloud