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 3 of 31

7.18.2

Fixed
- `[all]` String shapes are no longer interpreted as `Dict[str, Any]` (reported by sodul in 223)

7.18.1

Fixed
- `[all]` String shapes with a pattern are converted to `Dict[str, Any]` only if pattern fully matches JSON parsing pattern
- `[sts]` Fixed `Client.get_caller_identity` type annotations (reported by Wurstnase in 222)

7.18.0

Notes

G'day!

Finally, `boto3-stubs` is fully compatible with `pydantic 2.x`. `TypedDict`, `Literal`, and `NotRequired` are imported from `typing_extensions` for Python 3.7 - 3.11. However, no code changes are required on your side. The only change is that your py37-py311 projects will now depend on `typing_extensions`

With `pydantic 2.x` support, we can finally switch to a new `TypedDict` rendering with a `NotRequired` type annotation wrapper. This change decreased `type_defs.py` size by 10% and overall looks nicer.

Since the changes are quite big, please report any bugs that you encounter, and do not forget to request new features.

Keep on keeping on!

Changed
- `[all]` `Literal` and `TypedDict` are imported from `typing_extensions` for `py311` and below (suggested by tobni in 221)
- `[all]` Switched to a new `TypedDict` renderer
- `[all]` New detection and replacement logic for self-referencing TypeDefs

Fixed
- `[all]` Potential incorrect imports for `Union`-only TypeDefs
- `[builder]` Speed up required import mapping

7.17.3

Fixed
- `[dynamodb]` Waiters and Paginators use separate type maps (reported by Weber-Tr in 217)
- `[iam]` String shapes are handled as JSON objects in they have JSON pattern
- `[s3]` Mark arguments as optional properly in injected methods (reported by caner-cetin in 218)

7.17.2

Fixed
- `[docs]` Removed `TypeDef`s list from service docs to shorten readmes (reported by kevinnowland in 215)
- `[dynamodb]` Replaced `TableAttributeValueTypeDef` with `AttributeValueTypeDef` in outputs other than `ServiceResource` and `Table` (reported by BrentSouza in 216)

7.17.1

Fixed
- `[builder]` Removed dependency on `typing_extensions`

Page 3 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.