@@ -20,6 +20,7 @@ Example
2020
2121 class TestInputFilter (InputFilter ):
2222 def __init__ (self ):
23+ super ().__init__ ()
2324
2425 self .add(
2526 ' username' ,
@@ -88,6 +89,7 @@ Validates that the length of the array from ``first_array_field`` is equal to th
8889
8990 class ArrayLengthFilter (InputFilter ):
9091 def __init__ (self ):
92+ super ().__init__ ()
9193
9294 self .add(
9395 ' list1' ,
@@ -127,6 +129,7 @@ Validates that the array in ``longer_field`` has more elements than the array in
127129
128130 class ArrayComparisonFilter (InputFilter ):
129131 def __init__ (self ):
132+ super ().__init__ ()
130133
131134 self .add(
132135 ' list1' ,
@@ -168,6 +171,7 @@ Executes the provided callable with the input data. The condition passes if the
168171
169172 class CustomFilter (InputFilter ):
170173 def __init__ (self ):
174+ super ().__init__ ()
171175
172176 self .add(
173177 ' age' ,
@@ -201,6 +205,7 @@ Validates that the values of ``first_field`` and ``second_field`` are equal. Fai
201205
202206 class EqualFieldsFilter (InputFilter ):
203207 def __init__ (self ):
208+ super ().__init__ ()
204209
205210 self .add(
206211 ' password'
@@ -237,6 +242,7 @@ Counts the number of specified fields present in the data and validates that the
237242
238243 class ExactFieldsFilter (InputFilter ):
239244 def __init__ (self ):
245+ super ().__init__ ()
240246
241247 self .add(
242248 ' field1'
@@ -278,6 +284,7 @@ Validates that exactly ``n`` fields among the specified ones have the given valu
278284
279285 class MatchFieldsFilter (InputFilter ):
280286 def __init__ (self ):
287+ super ().__init__ ()
281288
282289 self .add(
283290 ' field1'
@@ -313,6 +320,7 @@ Validates that only one field among the specified fields exists in the input dat
313320
314321 class OneFieldFilter (InputFilter ):
315322 def __init__ (self ):
323+ super ().__init__ ()
316324
317325 self .add(
318326 ' email'
@@ -349,6 +357,7 @@ Validates that exactly one of the specified fields has the given value.
349357
350358 class OneMatchFilter (InputFilter ):
351359 def __init__ (self ):
360+ super ().__init__ ()
352361
353362 self .add(
354363 ' option1'
@@ -386,6 +395,7 @@ Validates that the integer value from ``bigger_field`` is greater than the value
386395
387396 class NumberComparisonFilter (InputFilter ):
388397 def __init__ (self ):
398+ super ().__init__ ()
389399
390400 self .add(
391401 ' field_should_be_bigger' ,
@@ -424,6 +434,7 @@ Validates that the count of the specified fields present is greater than or equa
424434
425435 class MinimumFieldsFilter (InputFilter ):
426436 def __init__ (self ):
437+ super ().__init__ ()
427438
428439 self .add(
429440 ' field1'
@@ -465,6 +476,7 @@ Validates that the count of fields matching the given value is greater than or e
465476
466477 class MinimumMatchFilter (InputFilter ):
467478 def __init__ (self ):
479+ super ().__init__ ()
468480
469481 self .add(
470482 ' field1'
@@ -501,6 +513,7 @@ Validates that the values of ``first_field`` and ``second_field`` are not equal.
501513
502514 class DifferenceFilter (InputFilter ):
503515 def __init__ (self ):
516+ super ().__init__ ()
504517
505518 self .add(
506519 ' field1'
@@ -536,6 +549,7 @@ Validates that at least one field from the specified list is present. Fails if n
536549
537550 class OneFieldRequiredFilter (InputFilter ):
538551 def __init__ (self ):
552+ super ().__init__ ()
539553
540554 self .add(
541555 ' email'
@@ -572,6 +586,7 @@ Validates that at least one field from the specified list has the given value.
572586
573587 class OneMatchRequiredFilter (InputFilter ):
574588 def __init__ (self ):
589+ super ().__init__ ()
575590
576591 self .add(
577592 ' option1'
@@ -609,6 +624,7 @@ If the value of ``condition_field`` matches the specified value (or is in the sp
609624
610625 class ConditionalRequiredFilter (InputFilter ):
611626 def __init__ (self ):
627+ super ().__init__ ()
612628
613629 self .add(
614630 ' status'
@@ -651,6 +667,7 @@ Validates that the string in ``longer_field`` has a greater length than the stri
651667
652668 class StringLengthFilter (InputFilter ):
653669 def __init__ (self ):
670+ super ().__init__ ()
654671
655672 self .add(
656673 ' description'
@@ -687,6 +704,7 @@ Validates that the date in ``smaller_date_field`` is earlier than the date in ``
687704
688705 class DateOrderFilter (InputFilter ):
689706 def __init__ (self ):
707+ super ().__init__ ()
690708
691709 self .add(
692710 ' start_date'
0 commit comments