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

Public Member Functions

def __call__ (self, inst, attr, value)
 
def __repr__ (self)
 

Static Public Attributes

 key_validator = attrib(validator=is_callable())
 
 value_validator = attrib(validator=is_callable())
 
 mapping_validator = attrib(default=None, validator=optional(is_callable()))
 

Member Function Documentation

◆ __call__()

def __call__ (   self,
  inst,
  attr,
  value 
)
We use a callable class to be able to change the ``__repr__``.

◆ __repr__()

def __repr__ (   self)

Field Documentation

◆ key_validator

key_validator = attrib(validator=is_callable())
static

◆ mapping_validator

mapping_validator = attrib(default=None, validator=optional(is_callable()))
static

◆ value_validator

value_validator = attrib(validator=is_callable())
static

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