get_cached_s3_client#
- brainsets.utils.s3_utils.get_cached_s3_client(retry_mode='adaptive', max_attempts=5, max_pool_connections=30)[source]#
Get a cached S3 client configured for anonymous access to public buckets.
Uses boto3’s retry modes which include: - Exponential backoff with random jitter - Automatic retries on transient errors, throttling (429), and 5xx status codes
- Parameters:
- Returns:
A configured boto3 S3 client for unsigned/anonymous access
- Raises:
ImportError – If boto3/botocore is not installed.