OpenQuizz
Une application de gestion des contenus pédagogiques
webargs.core Namespace Reference

Data Structures

class  Parser
 

Functions

str get_mimetype (str content_type)
 
bool is_json (typing.Optional[str] mimetype)
 
typing.Any parse_json (typing.AnyStr s, *str encoding="utf-8")
 

Variables

 logger
 
 Request
 
 ArgMap
 
 ValidateArg
 
 CallableList
 
 ErrorHandler
 
 T
 
 int
 

Function Documentation

◆ get_mimetype()

str webargs.core.get_mimetype ( str  content_type)

◆ is_json()

bool webargs.core.is_json ( typing.Optional[str]  mimetype)
Indicates if this mimetype is JSON or not.  By default a request
is considered to include JSON data if the mimetype is
``application/json`` or ``application/*+json``.

◆ parse_json()

typing.Any webargs.core.parse_json ( typing.AnyStr  s,
*str   encoding = "utf-8" 
)

Variable Documentation

◆ ArgMap

ArgMap

◆ CallableList

CallableList

◆ ErrorHandler

ErrorHandler

◆ int

int

◆ logger

logger

◆ Request

Request

◆ T

T

◆ ValidateArg

ValidateArg