Get project libraries via api_client?

Solved!
importthepandas
Get project libraries via api_client?

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

0 Kudos
2 Solutions
HarizoR
Developer Advocate

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

 

 

View solution in original post

importthepandas
Author

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

View solution in original post

0 Kudos
2 Replies
HarizoR
Developer Advocate

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
Author

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

0 Kudos

Labels

?

Setup info

?
A banner prompting to get Dataiku