teradataml exposes Python interfaces for all the REST APIs provided by different features offered in VantageCloud Lake. teradataml exposes Python classes and class methods for REST APIs provided by Teradata Vantage ModelOps.
As part of this, teradataml provided the following:
- New client class, teradataml.sdk.Client, which can be used by classes of SDK to get responses from REST framework.
- Different ways of authentication through Client:
- Client credentials Authentication through ClientCredentialsAuth class.
- Device code Authentication through DeviceCodeAuth class.
- Bearer Authentication through BearerAuth class.
Every Python SDK, exposed through teradataml, has the following:
- blueprint() function, which prints all available classes in that SDK.
- Classes for every tag in OpenAPI specification. These classes are displayed by blueprint() method.
- Functions grouped into classes based on tags attached to the functions in OpenAPI specification.
- Classes for all schema references in OpenAPI specification.
- Additional and optional client class, inherited from teradataml.sdk.Client, if additional features are needed compared to Client.
To use Python SDK from teradataml, install PyYAML using pip install PyYAML. Otherwise, importing required modules will fail with ImportError.