Skip to content

Commit

Permalink
Revert "Update support for aiobotocore 2.0+"
Browse files Browse the repository at this point in the history
This reverts commit 00fb6af.
  • Loading branch information
drewbrew committed Sep 27, 2023
1 parent 00fb6af commit b02109a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def readme():
install_requires=[
'python-dateutil>=2.8',
'thumbor>=7.0.0a2,<8',
'aiobotocore>=2.0',
'aiobotocore<2.0',
'boto3',
],
extras_require={
Expand Down
2 changes: 1 addition & 1 deletion tc_aws/aws/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, bucket, region, endpoint, max_retry=None):
)

if self._client is None:
self._client = aiobotocore.session.get_session().create_client(
self._client = aiobotocore.get_session().create_client(
's3',
region_name=region,
endpoint_url=endpoint,
Expand Down

0 comments on commit b02109a

Please sign in to comment.