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

Public Member Functions

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

Static Public Attributes

 member_validator = attrib(validator=is_callable())
 
 iterable_validator
 

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

◆ iterable_validator

iterable_validator
static
Initial value:
default=None, validator=optional(is_callable())
)

◆ member_validator

member_validator = attrib(validator=is_callable())
static

The documentation for this class was generated from the following file:
attr.validators.is_callable
def is_callable()
Definition: validators.py:281
attr.converters.optional
def optional(converter)
Definition: converters.py:23
attr._make.attrib
def attrib(default=NOTHING, validator=None, repr=True, cmp=None, hash=None, init=True, metadata=None, type=None, converter=None, factory=None, kw_only=False, eq=None, order=None, on_setattr=None)
Definition: _make.py:118