Mypy-boto3

Latest version: v1.35.66

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

Scan your dependencies

Page 24 of 34

4.19.0

Notes

This version has a breaking change. If you use `type_defs.py` imports to annotate your code, you might have to change response type defs imports, e.g. `CopyObjectOutputTypeDef` -> `CopyObjectOutputResponseTypeDef`

Changes
Added
- `[services]` All methods now have Request TypeDefs to validate arguments passed as a Mapping
- `[services]` Client Request TypeDefs have `RequestTypeDef` name postfix
- `[services]` Resource Request TypeDefs have `<resource_name>RequestTypeDef` name postfix
- `[docs]` Methods have a link to Request TypeDef if it exists

Changed
- `[builder]` Response TypeDefs have `ResponseTypeDef` postfix to avoid name clash

Fixed
- `[services]` Output shapes are recognized by origin instead of name
- `[sagemaker]` `ResponseMetadata` does not appear in non-output shapes
- `[cognito-identity]` Name clash for `IdentityPoolTypeDef`, splitted to `IdentityPoolTypeDef` and `IdentityPoolResponseTypeDef`
- `[builder]` Validation for package name clashes was not working as expected
- `[services]` Slow-parsed methods are now keyword-only as well
- `[services]` Resource constructor methods are not keyword-only anymore, as `boto3` allows positional arguments

4.18.4

Fixed
- `[s3]` Allow `StreamingBody` for blob-type arguments. Potentially affects other services.

4.18.3

Fixed
- `[botocore-stubs]` prevent import of Typed Dicts from `exceptions` module
- `[botocore-stubs]` narrowed down stubs for `auth` module
- `[botocore-stubs]` narrowed down stubs for `client` module
- `[botocore-stubs]` narrowed down stubs for `errorfactory` module
- `[botocore-stubs]` narrowed down stubs for `regions` module
- `[botocore-stubs]` narrowed down stubs for `parsers` module
- `[botocore-stubs]` narrowed down stubs for `history` module
- `[botocore-stubs]` narrowed down stubs for `retryhandler` module
- `[builder]` added missing docstrings
- `[services]` unnamed literals should always have a valid PEP8 class name

4.18.2

Fixed
- `[services]` All methods generated from botocore shapes are now keyword-only
- `[botocore-stubs]` incorrect annotations for `botocore.exceptions.ClientError`

4.18.1

Fixed
- `[cloudformation]` added a temporary fix for `ResourceStatusType` literal

4.18.0

Added
- `[services]` added [Proton](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/proton.html) service support

Changed
- `[docs]` Keyword-only method arguments are marked correctly in documentation

Fixed
- `[botocore-stubs]` fixed `ClientError` type annotation

Page 24 of 34

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.