You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use the `InputFilter` class, create a new class that inherits from it and define the
53
+
To use the ``InputFilter`` class, create a new class that inherits from it and define the
41
54
fields you want to validate and filter.
42
55
43
-
There are numerous filters and validators available, but you can also create your `own <CREATE_OWN.md>`_.
56
+
There are numerous filters and validators available, but you can also create your `own <https://leandercs.github.io/flask-inputfilter/guides/create_own.html>`_.
44
57
45
58
Definition
46
59
----------
@@ -92,8 +105,8 @@ Definition
92
105
Usage
93
106
-----
94
107
95
-
To use the `InputFilter` class, call the `validate` method on the class instance.
96
-
After calling `validate`, the validated data will be available in `g.validated_data`.
108
+
To use the ``InputFilter`` class, call the ``validate`` method on the class instance.
109
+
After calling ``validate``, the validated data will be available in ``g.validated_data``.
97
110
If the data is invalid, a 400 response with an error message will be returned.
98
111
99
112
.. code-block:: python
@@ -112,33 +125,12 @@ If the data is invalid, a 400 response with an error message will be returned.
0 commit comments