CallguardOptions

class app.util.callguard.types.CallguardOptions[source]

Bases: TypedDict, Generic[T, P, R]

Inheritance diagram of CallguardOptions

Inheritance Diagram for CallguardOptions

Methods

Attributes

frames_up

method_name

check_module

allow_same_class

allow_same_module

guard

property_setter_only

decorator

decorator_factory

allow_same_class: NotRequired[bool]
allow_same_module: NotRequired[bool]
check_module: NotRequired[bool]
decorator: NotRequired[CallguardWrappedDecorator[T, P, R] | None]
decorator_factory: NotRequired[CallguardWrappedDecoratorFactory[T, P, R] | None]
frames_up: NotRequired[int]
guard: NotRequired[bool]
method_name: NotRequired[str | Callable[[Concatenate[T, P]], str]]
property_setter_only: NotRequired[bool]