mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-21 03:27:42 +00:00
silence Pyright return-type warning for ws_connect
This commit is contained in:
+1
-1
@@ -568,7 +568,7 @@ class HTTPClient:
|
|||||||
'compress': compress,
|
'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:
|
def _try_clear_expired_ratelimits(self) -> None:
|
||||||
if len(self._buckets) < 256:
|
if len(self._buckets) < 256:
|
||||||
|
|||||||
Reference in New Issue
Block a user