Also what is the best practice for sharing code be...
# ask-community
x
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
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
Thanks!
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.
Ah seems versions can't be managed in server anyways, only in cloud