CallguardCallableDecorator
- class app.util.callguard.callable_decorator.CallguardCallableDecorator[source]
Bases:
Generic
[T
,P
,R
]Inheritance Diagram for CallguardCallableDecorator
Methods
__init__
(**options)guard
(method, **callguard_options)- __init__(**options: Unpack[CallguardOptions[__annotationlib_name_1__, __annotationlib_name_2__, __annotationlib_name_3__]]) None [source]
- Parameters:
options (Unpack[CallguardOptions[__annotationlib_name_1__, __annotationlib_name_2__, __annotationlib_name_3__]])
- Return type:
None
- static guard(method: CallguardWrapped[__annotationlib_name_1__, __annotationlib_name_2__, __annotationlib_name_3__], **callguard_options: Unpack[CallguardOptions[__annotationlib_name_4__, __annotationlib_name_5__, __annotationlib_name_6__]]) CallguardWrapped[__annotationlib_name_8__, __annotationlib_name_9__, __annotationlib_name_10__] [source]
- Parameters:
method (CallguardWrapped[__annotationlib_name_1__, __annotationlib_name_2__, __annotationlib_name_3__])
callguard_options (Unpack[CallguardOptions[__annotationlib_name_4__, __annotationlib_name_5__, __annotationlib_name_6__]])
- Return type:
CallguardWrapped[__annotationlib_name_8__, __annotationlib_name_9__, __annotationlib_name_10__]