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¶
Manages the lifecycle of the request internally in PointSecIO. |
Attributes¶
- 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:
BaseDecoratorManages 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