Get a list of code environments that use a specific python package and the version specified?
info-rchitect
Registered Posts: 189 ✭✭✭✭✭✭
Hi,
We have an internal python package that gets used by dozens of code environments and we need to know which code environments those are and what version is present. Is there a way to do this with DSS?
thx in advance
Operating system used: Windows 10
Tagged:
Best Answer
-
You can use the Python DSS API to automate this kind of task (and many others). This is the starting point to learn more about this:
https://developer.dataiku.com/
In particular, you'd want to use this method:
And then leverage the code environment Class to retrieve information on them and implement whatever logic you want:
There are some usage examples here that will help you get started:
https://developer.dataiku.com/latest/concepts-and-examples/code-envs.html
I hope that helps.