Skip to content

Instantly share code, notes, and snippets.

@andgineer
Last active October 15, 2021 05:20
Show Gist options
  • Save andgineer/8602627b3e6e95f0e189a59f96b37c4b to your computer and use it in GitHub Desktop.
Save andgineer/8602627b3e6e95f0e189a59f96b37c4b to your computer and use it in GitHub Desktop.
aiobojtocore client context
session = get_session()
async with session.create_client("s3") as s3_temp:
s3_object = await s3_temp.get_object(Bucket=bucket, Key=key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment