Merge pull request #177 from Birdi7/patch-2

Fix filter docs
This commit is contained in:
Alex Root Junior 2019-07-28 20:27:22 +03:00 committed by GitHub
commit f77b752c60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,14 +202,14 @@ class BoundFilter(Filter):
You need to implement ``__init__`` method with single argument related with key attribute
and ``check`` method where you need to implement filter logic.
"""
"""Unique name of the filter argument. You need to override this attribute."""
key = None
"""If :obj:`True` this filter will be added to the all of the registered handlers"""
"""Unique name of the filter argument. You need to override this attribute."""
required = False
"""Default value for configure required filters"""
"""If :obj:`True` this filter will be added to the all of the registered handlers"""
default = None
"""Default value for configure required filters"""
@classmethod
def validate(cls, full_config: typing.Dict[str, typing.Any]) -> typing.Dict[str, typing.Any]:
"""