Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on October 18, 2023 7:25AM
Likes: 1
Replies: 1
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
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.