Skip to content

Commit

Permalink
Bump to use aiobotocore 1.1.2
Browse files Browse the repository at this point in the history
Closes #216
  • Loading branch information
terricain committed Dec 1, 2020
1 parent c23639e commit 4231eda
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ pygithub = "*"
requests = "*"

[packages]
aiobotocore = {extras = ["boto3"],version = "==1.0.4"}
aiobotocore = {extras = ["boto3"],version = "==1.1.2"}
aioboto3 = {editable = true,path = "."}
4 changes: 2 additions & 2 deletions aioboto3/resources/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def __call__(self, parent, *args, **kwargs):
logger.debug('Calling %s:%s with %r', parent.meta.service_name,
operation_name, params)

response = await getattr(parent.meta.client, operation_name)(**params)
response = await getattr(parent.meta.client, operation_name)(*args, **params)

logger.debug('Response: %r', response)

Expand Down Expand Up @@ -79,7 +79,7 @@ async def __call__(self, parent, *args, **kwargs):
logger.debug('Calling %s:%s with %r',
service_name, operation_name, params)

response = await (getattr(client, operation_name)(**params))
response = await (getattr(client, operation_name)(*args, **params))

logger.debug('Response: %r', response)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
history = history_file.read()

requirements = [
'aiobotocore[boto3]==1.0.4'
'aiobotocore[boto3]==1.1.2'
]

setup_requirements = [
Expand Down
6 changes: 3 additions & 3 deletions tests/test_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

# resources/action.py
ServiceAction.__init__: {'b8b759abbe8fbfa9bad332b8ce8d30f55daf97f3'},
ServiceAction.__call__: {'79fa2006689fd33853f5c446e0a754a5a29e8ba9'},
BatchAction.__call__: {'fe7e5f191bf14db7c964e1165ce4c396b908a8db'},
ServiceAction.__call__: {'3e84efcb2badef725b998e1af27a4a6f6f1aa2ed'},
BatchAction.__call__: {'8839f17467d16f98e4587fa750d74c9007dea134'},
WaiterAction.__call__: {'57d4f3f74e7e774e3aeb13630292fa9183a790f8'},

# resources/collection.py
Expand All @@ -51,7 +51,7 @@
# session.py
Session.__init__: {'7c25cbd2154cc87e732fe4a343900d7002195973'},
Session._register_default_handlers: {'04f247de526b7a0af15737e04019ade52cc65446'},
Session.resource: {'873b7f61eaec2658925c58acaee80eec20eb5983'},
Session.resource: {'5e3568b28281a75eaf9725fab67c33dc16a18144'},

# dynamodb/table.py
register_table_methods: {'1d9191de712871b92e1e87f94c6583166a315113'},
Expand Down

0 comments on commit 4231eda

Please sign in to comment.