Closed johman10 closed 1 year ago
Hello. Thank you for the report.
I will try to find a way to unmark non-awaitable attributes.
Finally, it is fixed in types-aiobotocore 2.4.2.post2
. Please test it and let me know if it works as it should.
I checked aioboto3
code and found out that only non-identifier and non-reference attributes are Awaitable
.
@vemel it seems to be working! Thanks a lot for the support. Closing the issue now.
Describe the bug After the fix on issue https://github.com/youtype/mypy_boto3_builder/issues/168, it seems like there are some attributes that are marked as awaitable, while they shouldn't be.
This goes for
receipt_handle
andqueue_url
. I wrote some code that proved that those are the only Awaitables.To Reproduce Steps to reproduce the behavior:
types-aiobotocore[essential]@2.4.0.post1
mypy
on the following code sampleActual output
Expected output No errors
Additional context Linux aioboto3@10.1.0 Poetry