Typing update

This commit is contained in:
DevilXD committed 2022-07-31 21:40:03 +02:00
1 parent 7a7b94f57c
commit f919850ad2
6 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import asyncio
import logging
from time import time
from contextlib import suppress
from typing import TYPE_CHECKING
from typing import Any, Literal, TYPE_CHECKING
import aiohttp
@@ -323,7 +323,7 @@ class WebsocketPool:
def running(self) -> bool:
return self._running.is_set()
def wait_until_connected(self):
def wait_until_connected(self) -> abc.Coroutine[Any, Any, Literal[True]]:
return self._running.wait()
async def start(self):