mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Refactor aiogram/utils/auth_widget.py
+ fix check auth widget token in BaseBot, fix tests
This commit is contained in:
parent
9b2971a525
commit
7863f052d9
6 changed files with 103 additions and 46 deletions
|
|
@ -1,10 +1,11 @@
|
|||
import functools
|
||||
import asyncio
|
||||
import inspect
|
||||
import warnings
|
||||
import asyncio
|
||||
import functools
|
||||
from typing import Callable
|
||||
|
||||
|
||||
def deprecated(reason):
|
||||
def deprecated(reason) -> Callable:
|
||||
"""
|
||||
This is a decorator which can be used to mark functions
|
||||
as deprecated. It will result in a warning being emitted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue