v1.0.6
Note: This change adds improvements to all categories.
-
We fix some reported enum serialization issues regarding sending the enum directly rather than the value of the enum itself.
-
Add support for a RequestOptions object for each generated function within Python SDKs. This parameter is an optional final parameter that allows for configuring timeout, as well as pass in arbitrary data through to the request. RequestOptions is a TypedDict, with optional fields, so there's no need to instantiate an object, just pass in the relevent keys within a dict!
timeout_in_seconds
overrides the timeout for this specific requestadditional_body_parameters
are expanded into the JSON request bodyadditional_query_parameters
are expanded into the JSON query parameters mapadditional_headers
are expanded into the request's header map
-
Remove support for Python 3.7. In order to support newer versions of libraries we depend on (such as typing and typing-extensions), we must move on to Python 3.8. With this change we are also able to:
- Remove the
backports
dependency, ascached_property
is now included withinfunctools
- Remove the upper bound dependency on Pydantic which had dropped support for Python 3.7
- Note: Python 3.7 had reached end of life so we strongly encourage users to upgrade to >= 3.8. https://www.python.org/downloads/release/python-370/
- Remove the