Fix formatting

This commit is contained in:
Lonami Exo 2024-06-07 22:14:17 +02:00
parent 998f7d3fd9
commit 4536667a6a
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,6 @@
import os
import sys
from datetime import datetime
sys.path.insert(0, os.path.abspath(os.curdir)) # for custom extensions

View File

@ -249,9 +249,9 @@ class Client:
self._message_box = MessageBox(base_logger=base_logger)
self._chat_hashes = ChatHashCache(None)
self._last_update_limit_warn: Optional[float] = None
self._updates: asyncio.Queue[tuple[abcs.Update, dict[int, Peer]]] = (
asyncio.Queue(maxsize=self._config.update_queue_limit or 0)
)
self._updates: asyncio.Queue[
tuple[abcs.Update, dict[int, Peer]]
] = asyncio.Queue(maxsize=self._config.update_queue_limit or 0)
self._dispatcher: Optional[asyncio.Task[None]] = None
self._handlers: dict[
Type[Event], list[tuple[Callable[[Any], Awaitable[Any]], Optional[Filter]]]

View File

@ -2,6 +2,7 @@ import os
import random
from pytest import mark
from telethon import Client
from telethon import _tl as tl