app.blueprints.users.UserBaseResource

class app.blueprints.users.UserBaseResource(api=None, *args, **kwargs)

Bases: app.blueprints.base.BaseResource

Attributes

UserBaseResource.decorators

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

UserBaseResource.method_decorators

UserBaseResource.methods

A list of methods this view can handle.

UserBaseResource.provide_automatic_options

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

UserBaseResource.representations

UserBaseResource.task_service

UserBaseResource.user_serializer

UserBaseResource.user_service

Methods

UserBaseResource.__init__([api])

UserBaseResource.as_view(name, *class_args, ...)

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

UserBaseResource.dispatch_request(*args, ...)

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

UserBaseResource.validate_payload(func)

Perform a payload validation on expected model if necessary