Notes
The following changes are included to boto3_stubs 1.14.51.1 and above.
So, we are going to switch to pyright eventually. The problem that pyright is smart enough to not follow imports in *.pyi files, like mypy does. Starting from this version, pyright should be able to properly recognize explicit type annotations.
Starting from the next version, I will try to use pre-generated type annotations for all boto3 services, so explicit type annotation will no longer be required for pyright. However, this will make mypy unusable, because 200+ function overloads will consume too much RAM. Anyway, we now know the difference between mypy and pyright stubs handling, so there should be a proper solution.
Added
- Stubs for
boto3.docs.utils(partial) - Initial
pyrightsupport
Fixed
- Added
Client.metaannotation for all services EC2Client.create_tags/EC2Client.delete_tagsallowTags=Noneec2resourcescreate_tagsannotation is now correct (Image.create_tagsetc.)DynamoDBClientqueryandscanmethods acceptboto3.dynamo.conditions.ConditionBasein expressions- Fix sorting of generated classes in all modules