mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Remove unused imports
This commit is contained in:
parent
8204b6af52
commit
a1e840af89
2 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, Union
|
||||
from typing import TYPE_CHECKING, Any, Dict, Union
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
|
@ -14,9 +14,7 @@ class BaseFilter(ABC, BaseModel):
|
|||
else: # pragma: no cover
|
||||
|
||||
@abstractmethod
|
||||
async def __call__(
|
||||
self, *args: Any, **kwargs: Any
|
||||
) -> Union[bool, Dict[str, Any]]:
|
||||
async def __call__(self, *args: Any, **kwargs: Any) -> Union[bool, Dict[str, Any]]:
|
||||
pass
|
||||
|
||||
def __await__(self):
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import functools
|
|||
from typing import Any, Awaitable, Callable, Dict, NoReturn, Union
|
||||
|
||||
import pytest
|
||||
|
||||
from aiogram.dispatcher.event.handler import HandlerObject
|
||||
from aiogram.dispatcher.event.observer import EventObserver, SkipHandler, TelegramEventObserver
|
||||
from aiogram.dispatcher.filters.base import BaseFilter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue