Accessing project assets with ibm-watson-studio-lib
The ibm-watson-studio-lib library for Python and R contains a set of functions that help you to interact with projects and project assets. You can think of the library as a programmatical interface to a project. Using the ibm-watson-studio-lib library, you can access project metadata and assets, including files and connections. The library also contains functions that simplify fetching files associated with the project.
The ibm-watson-studio-lib library can also interact with Watson Studio deployment spaces and assets in spaces. This means that if you create a notebook in a project and use ibm-watson-studio-lib in your notebook code,
you can promote the notebook to a deployment space and the ibm-watson-studio-lib functions will interact with the deployment space that the notebook was deployed to.
The ibm-watson-studio-lib library replaces project-lib which is deprecated.
Limitations:
- It is not possible to move or rename assets by using the
ibm-watson-studio-liblibrary. - It is not possible to access project folders by using the
ibm-watson-studio-liblibrary.
Next steps
-
If you are using the
project-liblibrary in a notebook, you can switch toibm-watson-studio-lib: -
Start using
ibm-watson-studio-libin new notebooks: