Mypy-boto3

Latest version: v1.34.108

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

Scan your dependencies

Page 6 of 31

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`

7.13.0

Notes

Hello!

Look, another minor version bump just after three months! And again, no big changes if you are not asynchronous enough.

Because this release is all about `aioboto3`/`aiobotocore`. Now we have compatibility with `AbstractAsyncContextManager` and properly annotated `Collections`! Is this good enough to bump a minor version?

Nope. A minor version is bumped because our generated documentation is going to change pretty soon. And also it is bumped so I can write some notes for this release and brag about 4 million monthly downloads!

What's next? Fix for a slow package discovery in `pip`! Other than that, nothing special. As always, all `boto3` services are covered and supported, docs are up-to-date, CI/CD does its thing. It is time to find some other things to do while everything is automated :)

Keep on keeping on!

Changed
- `[docs]` All code blocks are compatible with client-side code highlighters for better performance (reported by eli-kir in 184)
- `[docs]` Dark theme is chosen by default

Fixed
- `[types-aioboto3]` Fix compatibility with `AbstractAsyncContextManager` (reported by tibbe in 185)
- `[types-aiobotocore]` Mark all common `Collection` methods as synchronous (reported and researched by MiloLug in 153)
- `[docs]` Table of Contents is hidden for large files
- `[docs]` `Client.exceptions` usage was documented incorrectly
- `[docs]` Syntax error in `Collection` usage examples

Other libraries

- `[botocore-stubs]` Updated `Config` type annotations to `1.29.89` (reported by js-truework in 186)

7.12.5

Fixed
- `[types-aioboto3]` Only autoload property attributes are marked as `Awaitable` (reported by MiloLug in 153, johman10 in 171)

Page 6 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.