We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf3b49 commit 0e99547Copy full SHA for 0e99547
1 file changed
pyrogram/dispatcher.py
@@ -17,9 +17,10 @@
17
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
19
import asyncio
20
+from collections import OrderedDict
21
import inspect
22
import logging
-from collections import OrderedDict
23
+from typing import Dict
24
25
import pyrogram
26
from pyrogram import utils
@@ -407,8 +408,8 @@ async def handle_update_handler_exception(
407
408
exc: Exception,
409
update_handler: Handler,
410
update: pyrogram.raw.base.Update,
- users: dict[int, pyrogram.raw.base.User],
411
- chats: dict[int, pyrogram.raw.base.Chat]
+ users: Dict[int, pyrogram.raw.base.User],
412
+ chats: Dict[int, pyrogram.raw.base.Chat]
413
) -> None:
414
handled = False
415
try:
0 commit comments