mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed wrongly cleaned code
This commit is contained in:
parent
5d513b682c
commit
f0a0fdce99
1 changed files with 5 additions and 3 deletions
|
|
@ -1,12 +1,14 @@
|
|||
from typing import Any, Dict, Optional, Sequence, Union
|
||||
from typing import TYPE_CHECKING, Any, Dict, Optional, Sequence, Union
|
||||
|
||||
from pydantic import root_validator
|
||||
|
||||
from aiogram.dispatcher.filters import BaseFilter
|
||||
from aiogram.types import CallbackQuery, InlineQuery, Message, Poll
|
||||
from aiogram.utils.i18n.lazy_proxy import LazyProxy
|
||||
|
||||
TextType = Union[str, LazyProxy]
|
||||
if TYPE_CHECKING:
|
||||
from aiogram.utils.i18n.lazy_proxy import LazyProxy # NOQA
|
||||
|
||||
TextType = Union[str, "LazyProxy"]
|
||||
|
||||
|
||||
class Text(BaseFilter):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue