Get project libraries via api_client?

Options
importthepandas
importthepandas Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 115 Neuron

Hi Team

In an effort to scan, find and replace references for certain home grown packages, I was wondering if there was an effective way to query project libraries from the python client and walk the library.

thank you!


Operating system used: Ubuntu 18.04

Tagged:

Best Answers

  • HarizoR
    HarizoR Dataiker, Alpha Tester, Registered Posts: 138 Dataiker
    Answer ✓
    Options

    Hi importthepandas,

    We are currently working on improving the public API to interact with project libraries. However, this won't include "parsing" the source code of the project libs. To get to the level of granularity you are looking for, a better option would be to edit the project libraries outside of DSS and leverage the capabilities of the IDE of your choice to apply refactoring.

    This is possible by putting your project lib code into a git repository and leveraging git references. The link to the reference documentation explains how to set it up.

    Hope this helps,

    Best,

    Harizo

  • importthepandas
    importthepandas Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 115 Neuron
    Answer ✓
    Options

    @HarizoR
    - brilliant. this makes sense, thank you!

Setup Info
    Tags
      Help me…