app.blueprints.documents.DocumentBaseResource

class app.blueprints.documents.DocumentBaseResource(api=None, *args, **kwargs)

Bases: app.blueprints.base.BaseResource

Attributes

DocumentBaseResource.decorators

The canonical way to decorate class-based views is to decorate the return value of as_view().

DocumentBaseResource.doc_serializer

DocumentBaseResource.doc_service

DocumentBaseResource.method_decorators

DocumentBaseResource.methods

A list of methods this view can handle.

DocumentBaseResource.provide_automatic_options

Setting this disables or force-enables the automatic options handling.

DocumentBaseResource.representations

Methods

DocumentBaseResource.__init__([api])

DocumentBaseResource.as_view(name, ...)

Converts the class into an actual view function that can be used with the routing system.

DocumentBaseResource.dispatch_request(*args, ...)

Subclasses have to override this method to implement the actual view function code.

DocumentBaseResource.validate_payload(func)

Perform a payload validation on expected model if necessary