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 `pyright` support
Fixed
- Added `Client.meta` annotation for all services
- `EC2Client.create_tags`/`EC2Client.delete_tags` allow `Tags=None`
- `ec2` resources `create_tags` annotation is now correct (`Image.create_tags` etc.)
- `DynamoDBClient` `query` and `scan` methods accept `boto3.dynamo.conditions.ConditionBase` in expressions
- Fix sorting of generated classes in all modules