|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
| def | __init__ (self, func, instance=None) |
| def | __call__ (self, *args, **kwargs) |
| def | call_view (self, *args, **kwargs) |
| def | marshal_result (self, result, status_code) |
Data Fields | |
| func | |
| instance | |
Apply annotations to a view function. :param func: View function to wrap :param instance: Optional instance or parent
| def __init__ | ( | self, | |
| func, | |||
instance = None |
|||
| ) |
| def __call__ | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
| def call_view | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
| def marshal_result | ( | self, | |
| result, | |||
| status_code | |||
| ) |
| func |
| instance |