We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The json method of the WSMessage class returns parsed JSON data but declared as return None.
aio-libs/aiohttp/http_websocket.py
Line 86
85 def json(self, *, # type: ignore 86 loads: Callable[[Any], Any]=json.loads) -> None: 87 """Return parsed JSON data. 88 .. versionadded:: 0.22 89 """ 90 return loads(self.data)
May be it would be better if it return type was absent?
The text was updated successfully, but these errors were encountered:
Yes, it is an error. Return type should be Any.
Any
Sorry, something went wrong.
No branches or pull requests
The json method of the WSMessage class returns parsed JSON data but declared as return None.
aio-libs/aiohttp/http_websocket.py
May be it would be better if it return type was absent?
The text was updated successfully, but these errors were encountered: