You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/jovyan/temp/a/test.py", line 20, in <module>
asyncio.run(main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/jovyan/temp/a/test.py", line 16, in main
await r["Body"].read()
File "/home/jovyan/temp/a/.venv/lib/python3.10/site-packages/botocore/httpchecksum.py", line 222, in read
chunk = super().read(amt=amt)
File "/home/jovyan/temp/a/.venv/lib/python3.10/site-packages/botocore/response.py", line 99, in read
chunk = self._raw_stream.read(amt)
TypeError: ClientResponse.read() takes 1 positional argument but 2 were given
Describe the bug
Sample code:
Result:
botocore version code (Success):
Checklist
pip check
passes without errorspip freeze
resultspip freeze results
Environment:
Additional context
I guess aiohttp's ClientResponse.read() doesn't have an option "amt" while urllib3's response has it.
The text was updated successfully, but these errors were encountered: