Mypy-boto3

Latest version: v1.35.66

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

Scan your dependencies

Page 3 of 34

7.26.0

Notes

Hello!

So, it looks like `boto3` does not properly support identifiers in `botocore` shapes. For example: https://github.com/boto/boto3/issues/3501.

All attributes and arguments generated for identifiers now have `str` type in `boto3`. However, some identifiers have `type` key, so related attributes and arguments should use this type instead.

This release adds support for typed identifiers, as well as a proper override in case type cannot be correctly determined from shapes.

Changed
- `[builder]` New logic for `resource.identifiers`: support for typed identifiers and manual override

Fixed
- `[builder]` Overriden method type map is checked before universal type map
- `[s3]` `MultipartUploadPart.part_number` has `int` type (reported by daveisfera in 307)
- `[s3]` `MultipartUpload.Part method` `part_number` argument has `int` type (manual override) (reported by daveisfera in 307)
- `[s3]` `ServiceResource.MultipartUploadPart` method `part_number` argument has `int` type (reported by daveisfera in 307)

7.25.3

Fixed
- `[s3]` Accept `str` as well in `CopySource` argument override for `Object.copy_from` and `ObjectSummary.copy_from`

7.25.2

Fixed
- `[s3]` Added `CopySource` argument override for `Object.copy_from` and `ObjectSummary.copy_from` (reported by Kache in 308)

7.25.1

Fixed
- `[types-aioboto3]` Static stubs updated to the latest version
- `[types-aiobotocore]` Static stubs updated to the latest version
- `[builder]` Formatting tools bumped to the latest version

7.25.0

Added
- `[builder]` `boto3-stubs-full` package generation support
- `[builder]` `types-aiobotocore-full` package generation support

Fixed
- `[services]` `ResponseMetadata` is never added to attribute types
- `[types-aiobotocore]` Updated stubs for `aiobotocore.credentials`
- `[types-aiobotocore]` Updated stubs for `aiobotocore.config`
- `[types-aioboto3]` Updated stubs for `s3.inject`

7.24.0

Changed
- `[builder]` Output `TypeDef` keys can be marked as optional
- `[builder]` Bumped `black` and `isort` to the latest versions
- `[ci]` Using `ruff` instead of `flake8`, `isort` and `black`

Fixed
- `[builder]` Union `TypeDef` definitions no longer have clashing names
- `[builder]` Output `TypeDef` map lookup did not work as expected
- `[services]` `Literal` names are capitalized even if the underlying shape name is not
- `[services]` `Client`/`ServiceResource` class names are capitalized even if the service name is not
- `[services]` All potentially optional keys in output shapes marked as `NotRequired`
- `[cognito-idp]` `NextToken` output key marked as `NotRequired` (reported by filol in 238)
- `[dynamodb]` `Item` output key marked as `NotRequired` (reported by pavlobielousov in 241)
- `[s3]` `Contents` output key marked as `NotRequired` (reported by raymondbutcher in 242)
- `[s3]` `CommonPrefixes` output key marked as `NotRequired` (reported by guilhem-dvr in 248)

Page 3 of 34

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.