Skip to content

not working with aiohttp 3.1.0 #96

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

Closed
item4 opened this issue Mar 25, 2018 · 2 comments
Closed

not working with aiohttp 3.1.0 #96

item4 opened this issue Mar 25, 2018 · 2 comments

Comments

@item4
Copy link

item4 commented Mar 25, 2018

self = <aioresponses.core.UrlResponse object at 0x10f8c8160>

    def build_response(self) -> Union[ClientResponse, Exception]:
        if isinstance(self.exception, Exception):
            return self.exception
>       self.resp = self.response_class(self.method, URL(self.url))
E       TypeError: __init__() missing 8 required keyword-only arguments: 'writer', 'continue100', 'timer', 'request_info', 'auto_decompress', 'traces', 'loop', and 'session'

../../.virtualenvs/yui/lib/python3.6/site-packages/aioresponses/core.py:57: TypeError

See this commit history for more info

@allisson
Copy link
Contributor

PR #95 fix this 👍

@pnuckowski
Copy link
Owner

New version released 0.4.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