pyarrow.fs.resolve_s3_regionΒΆ

pyarrow.fs.resolve_s3_region(bucket)ΒΆ

Resolve the S3 region of a bucket.

Parameters:
bucketstr

A S3 bucket name

Returns:
regionstr

A S3 region name

Examples

>>> fs.resolve_s3_region('voltrondata-labs-datasets')
'us-east-2'