mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
silence Pyright return-type warning for ws_connect
This commit is contained in:
1 parent
2fbed93624
commit
81ebfd1e19
1 file changed
+1
-1
+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