OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, api=None, *args, **kwargs) |
def | dispatch_request (self, *args, **kwargs) |
def | validate_payload (self, func) |
![]() | |
def | __init__ (cls, name, bases, d) |
![]() | |
def | dispatch_request (self) |
def | as_view (cls, name, *class_args, **class_kwargs) |
Data Fields | |
api | |
![]() | |
methods | |
Static Public Attributes | |
representations = None | |
list | method_decorators = [] |
![]() | |
methods | |
provide_automatic_options | |
decorators | |
Represents an abstract RESTPlus resource. Concrete resources should extend from this class and expose methods for each supported HTTP method. If a resource is invoked with an unsupported HTTP method, the API will return a response with status 405 Method Not Allowed. Otherwise the appropriate method is called and passed all arguments from the url rule used when adding the resource to an Api instance. See :meth:`~flask_restplus.Api.add_resource` for details.
def __init__ | ( | self, | |
api = None , |
|||
* | args, | ||
** | kwargs | ||
) |
def dispatch_request | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Reimplemented from MethodView.
def validate_payload | ( | self, | |
func | |||
) |
Perform a payload validation on expected model if necessary
api |
|
static |
|
static |