pointsecio.decorators.decorator

This module defines a BaseDecorator to wrap a user view function and a RequestResponseDecorator which manages the lifecycle of a request internally in PointSecIO.

Module Contents

Classes

BaseDecorator

RequestResponseDecorator

Manages the lifecycle of the request internally in PointSecIO.

Attributes

logger

pointsecio.decorators.decorator.logger
class pointsecio.decorators.decorator.BaseDecorator
__call__(self, function)
Return type

types.FunctionType

__repr__(self)
Return type

str

class pointsecio.decorators.decorator.RequestResponseDecorator(api, mimetype)

Bases: BaseDecorator

Manages the lifecycle of the request internally in PointSecIO. Filter the PointSecIORequest instance to return the corresponding framework specific object.

__call__(self, function)
Return type

types.FunctionType

__repr__(self)
Return type

str