Skip to content

Commit

Permalink
Merge pull request #796 from azmeuk/issue-793-filters-doc
Browse files Browse the repository at this point in the history
docs: improve filters documentation
  • Loading branch information
azmeuk committed Jul 22, 2023
2 parents 5fee075 + e47c86b commit f8fca13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wtforms/fields/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ def __init__(
:param validators:
A sequence of validators to call when `validate` is called.
:param filters:
A sequence of filters which are run on input data by `process`.
A sequence of callable which are run by :meth:`~Field.process`
to filter or transform the input data. For example
``StringForm(filters=[str.strip, str.upper])``.
Note that filters are applied after processing the default and
incoming data, but before validation.
:param description:
A description for the field, typically used for help text.
:param id:
Expand Down

0 comments on commit f8fca13

Please sign in to comment.