Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StreamReader missing argument in aiohttp > 3.6.2 #175

Closed
pbelskiy opened this issue Oct 27, 2020 · 2 comments
Closed

StreamReader missing argument in aiohttp > 3.6.2 #175

pbelskiy opened this issue Oct 27, 2020 · 2 comments

Comments

@pbelskiy
Copy link
Contributor

Hello, thanks for awesome library, but there is bug when aiohttp > 3.6.2

    def stream_reader_factory(  # noqa
        loop: 'Optional[asyncio.AbstractEventLoop]' = None
    ):
        protocol = ResponseHandler(loop=loop)
>       return StreamReader(protocol, loop=loop)
E       TypeError: __init__() missing 1 required positional argument: 'limit'

.tox/pytest/lib/python3.9/site-packages/aioresponses/compat.py:48: TypeError
@vchetyrkine
Copy link

Duplicate of #173 ?

@pnuckowski
Copy link
Owner

Fixed in 0.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants