Mypy-boto3

Latest version: v1.35.68

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 30 of 34

3.1.0

Added

- `SSOAdmin` service support
- `RedshiftDataAPIService` service support

Fixed

- Unsupported services no longer added to `all` extra requirements
- Improved imports sorting in generated files

3.0.4

Fixed typo in deployment script

3.0.3

Fixed

- `client.exceptions` type annotations are included to each service and do not require `botocore` installed
- Failing `<package>.client` import if `boto3-stubs` package is not installed

3.0.2

Notes

Unfortunately, I completely overlooked that `pyi` files are not importable, so direct imports were broken during adding `pyright` support. The solution is hacky, but it is working - all service packages contain `py` files identical to `pyi`. `*.py` files are auto-formatted with `pyi` rules to keep line numbers the same.

Fixed

- Import error from stub libraries
- `pylint` not being happy with generated files

3.0.1

Fix release workflow

3.0.0

Highlights

- `mypy_boto3` CLI command is no longer needed, stubs are pre-generated for all services
- `pyright` is fully supported and now is main priority
- `mypy`, `VSCode (Pylance)` and `PyCharm` are still supported
- `mypy_boto3.<service_name>` imports no longer work, use `mypy_boto3_<service_name>`

Changed

- All type stubs were converted to `pyi` files (pyright support)
- `boto3.client/resource` overloads for all services are pre-generated, which renders `mypy_boto3` CLI useless
- `Session.client/resource` overloads for all services are pre-generated, which renders `mypy_boto3` CLI useless
- Updated `black+isort` for generated files

Fixed

- Imports were sorted incorrectly in generated `boto3-stubs`
- Some imports were incorrectly marked as unused by `pylint`
- `botocore.client.ClientError` is correctly handled by `pyright`

Page 30 of 34

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.