mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-16 18:16:39 +00:00
Fix formatting
This commit is contained in:
parent
998f7d3fd9
commit
4536667a6a
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath(os.curdir)) # for custom extensions
|
sys.path.insert(0, os.path.abspath(os.curdir)) # for custom extensions
|
||||||
|
@ -249,9 +249,9 @@ class Client:
|
|||||||
self._message_box = MessageBox(base_logger=base_logger)
|
self._message_box = MessageBox(base_logger=base_logger)
|
||||||
self._chat_hashes = ChatHashCache(None)
|
self._chat_hashes = ChatHashCache(None)
|
||||||
self._last_update_limit_warn: Optional[float] = None
|
self._last_update_limit_warn: Optional[float] = None
|
||||||
self._updates: asyncio.Queue[tuple[abcs.Update, dict[int, Peer]]] = (
|
self._updates: asyncio.Queue[
|
||||||
asyncio.Queue(maxsize=self._config.update_queue_limit or 0)
|
tuple[abcs.Update, dict[int, Peer]]
|
||||||
)
|
] = asyncio.Queue(maxsize=self._config.update_queue_limit or 0)
|
||||||
self._dispatcher: Optional[asyncio.Task[None]] = None
|
self._dispatcher: Optional[asyncio.Task[None]] = None
|
||||||
self._handlers: dict[
|
self._handlers: dict[
|
||||||
Type[Event], list[tuple[Callable[[Any], Awaitable[Any]], Optional[Filter]]]
|
Type[Event], list[tuple[Callable[[Any], Awaitable[Any]], Optional[Filter]]]
|
||||||
|
@ -2,6 +2,7 @@ import os
|
|||||||
import random
|
import random
|
||||||
|
|
||||||
from pytest import mark
|
from pytest import mark
|
||||||
|
|
||||||
from telethon import Client
|
from telethon import Client
|
||||||
from telethon import _tl as tl
|
from telethon import _tl as tl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user