IBM / python-sdk-core

The python-sdk-core repository contains core functionality required by Python code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
20 stars 27 forks source link

fix: use on-the-fly compression only for file objects #177

Closed pyrooka closed 11 months ago

pyrooka commented 11 months ago

When we introduced the new GzipStream utility class which handles the on-the-fly compression of the file like object. We also started using it for in-memory objects, like bytes, but it has introduced a minor incompatibility with the existing SDKs. This commit contains the fix for that. From now the new utility class will be used only for file-like objects and the rest of the types will be handled as before (compressing in memory).

ibm-devx-sdk commented 11 months ago

:tada: This PR is included in version 3.17.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: