Closed alexmv closed 9 months ago
Hello. Thanks for the report. Yes, it makes sense to use service-specific meta for all resources. I will try to release an update soon.
I just released mypy-boto3-s3 1.34.14
with the fixes included. I did not update other service packages, so let me know if you depend on any.
Please update and let me know if it works as expected.
It works great -- thanks for the quick fix!
Describe the bug
While
s3_resource.meta.client
is aS3Client
,s3_resource.bucket("...").meta.client
is only a bare BaseClient.To Reproduce Steps to reproduce the behavior:
boto3-stubs[...]
mypy
/pyright
on the following code sampleActual output
Expected output
Additional context On Linux, boto3-stubs version 1.34.13, boto3 version 1.33.10.
See #101 for related previous issue.