|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, cls, these, slots, frozen, weakref_slot, getstate_setstate, auto_attribs, kw_only, cache_hash, is_exc, collect_by_mro, on_setattr, has_custom_setattr, field_transformer) |
| def | __repr__ (self) |
| def | build_class (self) |
| def | add_repr (self, ns) |
| def | add_str (self) |
| def | make_unhashable (self) |
| def | add_hash (self) |
| def | add_init (self) |
| def | add_attrs_init (self) |
| def | add_eq (self) |
| def | add_order (self) |
| def | add_setattr (self) |
Iteratively build *one* class.
| def __init__ | ( | self, | |
| cls, | |||
| these, | |||
| slots, | |||
| frozen, | |||
| weakref_slot, | |||
| getstate_setstate, | |||
| auto_attribs, | |||
| kw_only, | |||
| cache_hash, | |||
| is_exc, | |||
| collect_by_mro, | |||
| on_setattr, | |||
| has_custom_setattr, | |||
| field_transformer | |||
| ) |
| def __repr__ | ( | self | ) |
| def add_attrs_init | ( | self | ) |
| def add_eq | ( | self | ) |
| def add_hash | ( | self | ) |
| def add_init | ( | self | ) |
| def add_order | ( | self | ) |
| def add_repr | ( | self, | |
| ns | |||
| ) |
| def add_setattr | ( | self | ) |
| def add_str | ( | self | ) |
| def build_class | ( | self | ) |
Finalize class based on the accumulated configuration. Builder cannot be used after calling this method.
| def make_unhashable | ( | self | ) |