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
httpx.AsyncClient's HTTP verbs methods return from the request method and this behaviour isn't overrided by SanicASGITestClient.
That makes Pycharm believe SanicASGITestClient.get's return type is httpx.Response, but it actually is typing.Optional[Request], typing.Optional[TestingResponse].
I believe this might happen to other IDEs as well.
The text was updated successfully, but these errors were encountered:
Hello there!
SanicASGITestClient
inherits fromhttpx.AsyncClient
and override itsrequest
method, changing its return type.httpx.AsyncClient
's HTTP verbs methods return from therequest
method and this behaviour isn't overrided bySanicASGITestClient
.That makes Pycharm believe
SanicASGITestClient.get
's return type ishttpx.Response
, but it actually istyping.Optional[Request], typing.Optional[TestingResponse]
.I believe this might happen to other IDEs as well.
The text was updated successfully, but these errors were encountered: