Mypy-boto3

Latest version: v1.34.108

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

Scan your dependencies

Page 21 of 31

4.20.0

Added
- `[docs]` Added a short docstring to all annotated public methods

Changed
- `[services]` Request `datetime` arguments can be passed as timestamp `str` as long as `botocore` allows it
- `[services]` Response `blob` arguments always have a strict `bytes` or `StreamingBody` type
- `[docker]` Rebased to Alpine 3.13 and reduced image size

Fixed
- `[builder]` Removed outdated `setuptools` packaging
- `[builder]` Fixed missing package info on PyPI page
- `[builder]` Enforced `pyright` typing check
- `[docs]` Anchor links to `boto3` waiters documentation were incorrect

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

Page 21 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.