OpenQuizz
Une application de gestion des contenus pédagogiques
_field_common.py File Reference

Data Structures

class  _PField
 
class  PTypeError
 

Namespaces

 pyrsistent._field_common
 

Functions

def set_fields (dct, bases, name)
 
def check_global_invariants (subject, invariants)
 
def serialize (serializer, format, value)
 
def check_type (destination_cls, field, name, value)
 
def is_type_cls (type_cls, field_type)
 
def is_field_ignore_extra_complaint (type_cls, field, ignore_extra)
 
def field (type=PFIELD_NO_TYPE, invariant=PFIELD_NO_INVARIANT, initial=PFIELD_NO_INITIAL, mandatory=False, factory=PFIELD_NO_FACTORY, serializer=PFIELD_NO_SERIALIZER)
 
def pset_field (item_type, optional=False, initial=())
 
def pvector_field (item_type, optional=False, initial=())
 
def pmap_field (key_type, value_type, optional=False, invariant=PFIELD_NO_INVARIANT)
 

Variables

 PY2
 
 PFIELD_NO_TYPE
 
 PFIELD_NO_INVARIANT
 
 PFIELD_NO_FACTORY
 
 PFIELD_NO_INITIAL
 
 PFIELD_NO_SERIALIZER
 
 SEQ_FIELD_TYPE_SUFFIXES