Releases: youtype/mypy_boto3_builder
Releases · youtype/mypy_boto3_builder
7.26.1
Fixed
[builder]Switched fromnewversion.Versiontopackaging.Version[types-aiobotocore]StreamingBody.iter_chunksreturnsAsyncIterator[bytes](reported by @vikigenius in #309)[types-aiobotocore]StreamingBody.iter_linesreturnsAsyncIterator[bytes]
Updated packages
- types-aiobotocore 2.13.1.post1
- types-aiobotocore-lite 2.13.1.post1
- types-aiobotocore 2.13.2.post1
- types-aiobotocore-lite 2.13.2.post1
7.26.0 - Typed Identifiers
Notes
Hello!
So, it looks like boto3 does not properly support identifiers in botocore shapes. For example: boto/boto3#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 forresource.identifiers: support for typed identifiers and manual override
Fixed
[builder]Overriden method type map is checked before universal type map[s3]MultipartUploadPart.part_numberhasinttype (reported by @daveisfera in #307)[s3]MultipartUpload.Part methodpart_numberargument hasinttype (manual override) (reported by @daveisfera in #307)[s3]ServiceResource.MultipartUploadPartmethodpart_numberargument hasinttype (reported by @daveisfera in #307)
7.25.3
7.25.2
7.25.1
7.25.0 - Full Stubs
Added
[builder]boto3-stubs-fullpackage generation support[builder]types-aiobotocore-fullpackage generation support
Fixed
[services]ResponseMetadatais never added to attribute types[types-aiobotocore]Updated stubs foraiobotocore.credentials[types-aiobotocore]Updated stubs foraiobotocore.config[types-aioboto3]Updated stubs fors3.inject
7.24.0 - Output Not Required
Changed
[builder]OutputTypeDefkeys can be marked as optional[builder]Bumpedblackandisortto the latest versions[ci]Usingruffinstead offlake8,isortandblack
Fixed
[builder]UnionTypeDefdefinitions no longer have clashing names[builder]OutputTypeDefmap lookup did not work as expected[services]Literalnames are capitalized even if the underlying shape name is not[services]Client/ServiceResourceclass names are capitalized even if the service name is not[services]All potentially optional keys in output shapes marked asNotRequired[cognito-idp]NextTokenoutput key marked asNotRequired(reported by @filol in #238)[dynamodb]Itemoutput key marked asNotRequired(reported by @pavlobielousov in #241)[s3]Contentsoutput key marked asNotRequired(reported by @raymondbutcher in #242)[s3]CommonPrefixesoutput key marked asNotRequired(reported by @guilhem-dvr in #248)
7.23.2
Fixed
[ec2]PlatformValuesTypeis stubbed until boto/botocore#3128 is fixed (reported by @andrew-womeldorf
in #245)[services]Fixed TypedDict naming resolution when conflicting shape is present only in resources (reported by @andrew-womeldorf in #244)[aiobotocore]resource.metais no longer marked asAwaitable[aiobotocore]Static stubs updated to the latest version
7.23.1
7.23.0 - Late Goodbye
Added
[builder]All packages now have a list of supported Python versions
Changed
[all]Minimum Python version bumped to 3.8, Python 3.7 is no longer officially supported[builder]blackuses Python versions supported by the package for formatting
Fixed
[services]ReplacedTyping :: Typedclassifier withTyping :: Stubs Only