CallguardClassmethodDecorator

class app.util.callguard.classmethod_decorator.CallguardClassmethodDecorator[source]

Bases: Generic[T, P, R]

Inheritance diagram of CallguardClassmethodDecorator

Inheritance Diagram for CallguardClassmethodDecorator

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: WrappedClassmethod, **callguard_options: Unpack[CallguardOptions[__annotationlib_name_1__, __annotationlib_name_2__, __annotationlib_name_3__]]) WrappedClassmethod[T, P, R][source]
Parameters:
  • method (WrappedClassmethod)

  • callguard_options (Unpack[CallguardOptions[__annotationlib_name_1__, __annotationlib_name_2__, __annotationlib_name_3__]])

Return type:

WrappedClassmethod[T, P, R]