mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Cover base filter
This commit is contained in:
parent
cd12b54ec2
commit
fa42dcdce2
2 changed files with 32 additions and 1 deletions
|
|
@ -17,5 +17,6 @@ class BaseFilter(ABC, BaseModel):
|
|||
async def __call__(self, *args: Any, **kwargs: Any) -> Union[bool, Dict[str, Any]]:
|
||||
pass
|
||||
|
||||
def __await__(self):
|
||||
def __await__(self): # pragma: no cover
|
||||
# Is needed only for inspection and this method is never be called
|
||||
return self.__call__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue