youtype / botocore-stubs

Type annotations and code completion for botocore package
https://youtype.github.io/mypy_boto3_builder/
MIT License
3 stars 4 forks source link

loosen the type of AWSPreparedRequest's body argument #11

Closed tungol closed 11 months ago

tungol commented 11 months ago

Referencing the implementation of of its reset_stream() method shows they're expecting to handle a broad range of body objects

https://github.com/boto/botocore/blob/4b728545d43ff70287ae1d0dce42e995790e6b85/botocore/awsrequest.py#L518

vemel commented 11 months ago

Published botocore-stubs 1.33.7.post1 with the fix included.