Loading Python from Stash/Bitbucket?
![info-rchitect](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n9089iA7C08C68990A5113.png)
How can I checkout the master branch of a stash repository that contains a custom Python library?
Operating system used: Windows 10
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,211 Dataiker
Hi @info-rchitect
,You can import git libraries from git in the project libraries. Code - Libraries ( in the project) then select git and add the details of your git repo. If this is private repo you will need to add the SSH Key to the permit access to the repo.
See : https://doc.dataiku.com/dss/latest/collaboration/git.html#configuration-and-security
Screenshots of the actual steps:
Another option is your git repo was created so it can be pip installed you can add to a code env
git+https://...git in the packages to install of your code env. This does mean you need to rebuild the code env to receive updates in the git repo.Hope that helps!