mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Small changes in base filter.
This commit is contained in:
parent
b56a070289
commit
5c1eee4fa9
1 changed files with 1 additions and 5 deletions
|
|
@ -122,11 +122,7 @@ class BaseFilter(AbstractFilter):
|
|||
"""
|
||||
Abstract class for filters with default validator
|
||||
"""
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def key(self):
|
||||
pass
|
||||
key = None
|
||||
|
||||
@classmethod
|
||||
def validate(cls, full_config: typing.Dict[str, typing.Any]) -> typing.Dict[str, typing.Any]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue