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

Static Public Attributes

 str
 
 bool
 

Detailed Description

This is a mixin class for subclasses of ma.fields.List and ma.fields.Tuple
which split on a pre-specified delimiter. By default, the delimiter will be ","

Because we want the MRO to reach this class before the List or Tuple class,
it must be listed first in the superclasses

For example, a DelimitedList-like type can be defined like so:

>>> class MyDelimitedList(DelimitedFieldMixin, ma.fields.List):
>>>     pass

Field Documentation

◆ bool

bool
static

◆ str

str
static

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