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
50
+
To use the ``InputFilter`` class, create a new class that inherits from it and define the
41
51
fields you want to validate and filter.
42
52
43
-
There are numerous filters and validators available, but you can also create your `own <CREATE_OWN.md>`_.
53
+
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
54
45
55
Definition
46
56
----------
@@ -92,8 +102,8 @@ Definition
92
102
Usage
93
103
-----
94
104
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`.
105
+
To use the ``InputFilter`` class, call the ``validate`` method on the class instance.
106
+
After calling ``validate``, the validated data will be available in ``g.validated_data``.
97
107
If the data is invalid, a 400 response with an error message will be returned.
98
108
99
109
.. code-block:: python
@@ -112,33 +122,12 @@ If the data is invalid, a 400 response with an error message will be returned.
0 commit comments