OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | Mask |
class | MaskError |
class | ParseError |
Functions | |
def | apply (data, mask, skip=False) |
Variables | |
log = logging.getLogger(__name__) | |
LEXER = re.compile(r"\{|\}|\,|[\w_:\-\*]+") | |
def flask_restx.mask.apply | ( | data, | |
mask, | |||
skip = False |
|||
) |
Apply a fields mask to the data. :param data: The data or model to apply mask on :param str|Mask mask: the mask (parsed or not) to apply on data :param bool skip: If rue, missing field won't appear in result :raises MaskError: when unable to apply the mask
LEXER = re.compile(r"\{|\}|\,|[\w_:\-\*]+") |
log = logging.getLogger(__name__) |