Browse Source
silence Pyright return-type warning for ws_connect
pull/10386/merge
Steve C
5 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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: |
|
|
|
|