Loading Python from Stash/Bitbucket?
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,212 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!