Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created August 1, 2021 12:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anna-geller/f4963b048ca1afd6b1a18e20ffb5afa2 to your computer and use it in GitHub Desktop.
Save anna-geller/f4963b048ca1afd6b1a18e20ffb5afa2 to your computer and use it in GitHub Desktop.
import boto3
from botocore.config import Config
ta_config = Config(s3={"use_accelerate_endpoint": True})
s3 = boto3.client("s3", config=ta_config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment