app.blueprints.users.NewUserResource

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

Bases: app.blueprints.users.UserBaseResource

Attributes

NewUserResource.decorators

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

NewUserResource.method_decorators

NewUserResource.methods

A list of methods this view can handle.

NewUserResource.provide_automatic_options

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

NewUserResource.representations

NewUserResource.task_service

NewUserResource.user_serializer

NewUserResource.user_service

Methods

NewUserResource.__init__([api])

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

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

NewUserResource.dispatch_request(*args, **kwargs)

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

NewUserResource.post()

NewUserResource.validate_payload(func)

Perform a payload validation on expected model if necessary