We are introducing the special oneOf and anyOf types in our Python SDKs.
The generated code samples are now idiomatic with no errors. This improves the developer experience by allowing developers to run the code samples without any error in their applications and to get started quickly.
APIMatic SDKs now support Python version 3.10 without any functional changes.
Configuration details and meta data for APIMatic's Python SDKs is stored in a pyproject.toml file instead of setup.py to make the package publishing process efficient and up to date.
APIMatic has introduced core libraries to provide a stable runtime that powers all functionality of our SDKs. In this release, we have revamped our Python SDKs to improve the code quality and provide better test coverage.
For Python SDKs, the test runner used to run unit tests was Nose. As its maintenance support is coming to an end, APIMatic has replaced nose with Pytest for all future test suites.
In the improved Python SDK, fields of a custom type can now differentiate between a nullable value and a missing value and will operate according to the behavior of the type specified. This way you can either pass a value that corresponds to the type specified, use
null as a value or skip the field altogether depending upon the defined behavior of the field.
APIMatic announces the support for multiple authenticaion schemes in Python SDKs. With the new design, it has become quite easy to configure multiple authentication schemes per SDK. All of the auth managers are instantiated at the start during the client initialization. After that their relevant auth managers can be used to apply auth schemes per endpoint as required in SDK.
We've updated our SDKs that use OAuth 2 Client Credential Flow to enable automatic re-authorization of the client when the OAuth token is expired.
We have added a new CodeGen setting that allows you to specify a list of words that Code Generation will not split when converting identifiers from API specification to language-specific identifiers. This is useful for declaring brand names such as APIMatic.
E.g. if you provide the words
vmware in your the list,
apimatic_and_vmware, depending on the place of use.