CallguardCallableDecorator
- class app.util.helpers.callguard.CallguardCallableDecorator[source]
Bases:
Generic
[T
,P
,R
]Inheritance Diagram for CallguardCallableDecorator
Methods
__init__
(**options)default_handler
(obj, method, info, *args, ...)guard
(method, **callguard_options)- __init__(**options)[source]
- Parameters:
options (Unpack[CallguardOptions])
- static default_handler(obj, method, info, *args, **kwargs)[source]
- Return type:
TypeVar
(R
)- Parameters:
obj (T)
method (CallguardWrapped[T, P, R])
info (CallguardHandlerInfo[T, P, R])
args (P)
kwargs (P)