Browse Source

silence Pyright return-type warning for ws_connect

pull/10386/merge
Steve C 5 hours ago
committed by GitHub
parent
commit
81ebfd1e19
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/http.py

2
discord/http.py

@ -568,7 +568,7 @@ class HTTPClient:
'compress': compress,
}
return await self.__session.ws_connect(url, **kwargs)
return await self.__session.ws_connect(url, **kwargs) # pyright: ignore[reportReturnType]
def _try_clear_expired_ratelimits(self) -> None:
if len(self._buckets) < 256:

Loading…
Cancel
Save