OpenQuizz
Une application de gestion des contenus pédagogiques
Validator Class Reference
Inheritance diagram for Validator:
Collaboration diagram for Validator:

Public Member Functions

str __repr__ (self)
 
typing.Any __call__ (self, typing.Any value)
 

Static Public Attributes

 error
 

Detailed Description

Abstract base class for validators.

.. note::
    This class does not provide any validation behavior. It is only used to
    add a useful `__repr__` implementation for validators.

Member Function Documentation

◆ __call__()

typing.Any __call__ (   self,
typing.Any  value 
)

Reimplemented in OneOf, NoneOf, Predicate, and And.

◆ __repr__()

str __repr__ (   self)

Field Documentation

◆ error

error
static

The documentation for this class was generated from the following file: