Help Center/ Object Storage Service/ SDK Reference/ Python/ Before You Start (SDK for Python)
Updated on 2024-09-05 GMT+08:00

Before You Start (SDK for Python)

This section describes the version updates, compatibility, and important notes about Object Storage Service (OBS) SDK for Python.

Version Updates and Compatibility

Table 1 describes the version updates and compatibility with earlier versions of OBS SDK for Python. For details about the version revision records, see ChangeLog.

Table 1 Version updates and compatibility of OBS SDK for Python

Version

Update

Description

Compatible or Not

v3.24.3 (the latest version)

  • New features
  • Added APIs related to access labels (ObsClient.setAccesslabel, ObsClient.getAccessLabel, and ObsClient.deleteAccessLabel).

Yes

v3.23.12

  • Resolved issues
  • Resolved the issue of inconsistent contentType when uploading a folder using putFile.

Yes

v3.23.9.1

  • New features
  • Resolved issues

Yes

v3.23.5

  • New features
  • Resolved issues
  • Added the function of user-defined headers for requests.
  • Supported storage information collection based on storage class by calling the API for obtaining the bucket storage information.
  • Resolved the issue where regular expression matching fails when ECS uses a proxy to obtain credentials for accessing OBS.

Yes

v3.22.2

  • New features
  • Added APIs related to fusion buckets.
  • Made compatibility changes for Python3 HTTPS parameters.

Yes

v3.21.8

  • Code optimization
  • Added the code related to client-side encryption.

Yes

Important Notes

  • Make sure that you are familiar with basic OBS concepts, such as buckets, objects, access keys (AKs/SKs), and endpoints and domain names.
  • Some features are available only in some regions. If 405 HTTP status code is returned for a call of a certain feature API, check whether the region supports this feature.
  • The namespace is incompatible with earlier OBS versions (2.1.x). All modules are saved in the obs package.
  • API functions are compatible with earlier OBS versions (2.1.x).