- Documentation
Torch Object Storage
SDK Reference
Python
Bucket interface
Basic bucket interface
Get bucket region (Python SDK)
Basic bucket interface
Get bucket region (Python SDK)
Get bucket region (Python SDK)
Bucket is the globally unique namespace of TOS, which is equivalent to a data container and is used to store object data. This article describes how to obtain the regional information where the bucket is located.
Precautions
By default, only the owner of the bucket can view the area where the bucket is located.
Sample code
The following code is used to get the Region where the bucket-testis located.
Last updated: 2025.09.17 18:22:12