Mypy-boto3

Latest version: v1.37.0

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

Scan your dependencies

Page 11 of 37

7.14.5

Fixed
- `[boto3]` `Session.events` property has the correct type `BaseEventHooks` (reported by nint8835 in 195)
- `[boto3]` `Session.available_profiles` property has the correct type `List[str]`
- `[aiobotocore]` Replaced incorrect `botocore.client.Config` import with `botocore.config.Config`
- `[aiobotocore]` `Session.create_client` accepts `botocore.config.Config`
- `[aiobotocore]` Removed module functionality because it was unused
- `[aioboto3]` Removed module functionality because it was unused
- `[services]` Add `import sys` only when it is required

Notes
- `[ci]` `https` replaced with `fetch` from `actions/github-scriptv6`
- `[ci]` Fixed potentially incorrect version sorting
- `[ci]` Added error if the requested package version cannot be found
- `[check_output]` Ignored `flake8` errors raised due to `boto3` method naming
- `[check_output]` Added checking for top-level packages as well

Releases

These packages were released manually due to hotfixes. All newer versions will have the hotfixes included.

- `mypy-boto3 1.26.103.post1`
- `boto3-stubs 1.26.103.post1`
- `boto3-stubs-lite 1.26.103.post1`
- `types-aiobotocore 2.5.0.post2`
- `types-aiobotocore-lite 2.5.0.post2`

7.14.4

Fixed
- `[all]` Replaced `Read the Docs` link with `GitHub Pages` documentation link

7.14.3

Fixed
- `[s3]` `S3Client.generate_presigned_post` arguments were typed incorrectly (reported by christianbundy)

7.14.2

Fixed
- `[builder]` `Function.remove_argument` did not remove arguments correctly
- `[s3]` `Object` injected functions annotations were incorrect (reported by kgutwin in 193)

7.14.1

Fixed
- `[all]` Reverted: Replace `typing` imports with `collections.abc` (reported by ringohoffman in 191 and sgiango in 192 )

7.14.0

Notes

This project started as a docstring parser for `boto3` services. And today docstring parser got completely removed from the project. Mainly, because it was slow, and parsing human-readable documentation is not the best option.

Now we fully rely on underlying `botocore` service schemas. The biggest advantage is faster builds and more precise type annotations. Downside -all methods injected by `boto3` or `botocore` are not covered. However, they are annotated manually. If the injected method is not covered - it will be replaced with a dummy method with no type annotations.

There are a lot of under-the-hood changes, so please report any inconsistencies you find.

Added
- `[builder]` Shape parsing support for resource initializers
- `[builder]` Shape parsing support `Client.close` method
- `[builder]` Support for request TypedDicts for injected methods

Changed
- `[builder]` Removed docstring parsing
- `[all]` Removed `typing-extensions` dependency for `py39+`
- `[all]` Replaced many `typing` imports with `collections.abc`
- `[all]` Removed `py36` compatibility leftovers
- `[docker]` Rebased to Python 3.11.2 on Alpine 3.17

Fixed
- `[ec2]` Fixed incorrect type annotations for `create_tags` and `delete_tags` injected methods
- `[rds]` Fixed incorrect type annotations for `Client.generate_db_auth_token`
- `[s3]` Some injected methods were incorrectly marked as `kwargs`-only
- `[dynamodb]` Incorrect `BuiltConditionExpression` annotation (reported by tibbe in 190)
- `[aioboto3]` Added missing types to `__init__.py`

Page 11 of 37

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.