mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update API
This commit is contained in:
parent
5aeab63384
commit
915c84c742
363 changed files with 1510 additions and 2262 deletions
|
|
@ -9,7 +9,9 @@ import aiogram
|
|||
|
||||
@contextmanager
|
||||
def check_deprecated(
|
||||
max_version: str, exception: Type[Exception], warning: Type[Warning] = DeprecationWarning,
|
||||
max_version: str,
|
||||
exception: Type[Exception],
|
||||
warning: Type[Warning] = DeprecationWarning,
|
||||
) -> None:
|
||||
"""
|
||||
Should be used for modules that are being deprecated or already removed from aiogram
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue