CallguardHandlerInfo

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

Bases: Generic[T, P, R]

CallguardHandlerInfo(method_name: str, check_module: bool, check_self: bool, allow_same_class: bool, allow_same_module: bool, caller_frame: FrameType, callee_frame: FrameType, caller_self: object, callee_self: object, caller_module: str, callee_module: str, default_checker: collections.abc.Callable[[ForwardRef(‘CallguardHandlerInfo’, is_class=True, owner=<class ‘app.util.callguard.types.CallguardHandlerInfo’>)], bool], exception_class: type[Exception])

Inheritance diagram of CallguardHandlerInfo

Inheritance Diagram for CallguardHandlerInfo

Methods

__init__(method_name, check_module, ...)

Attributes

method_name

check_module

check_self

allow_same_class

allow_same_module

caller_frame

callee_frame

caller_self

callee_self

caller_module

callee_module

default_checker

exception_class

__init__(method_name: str, check_module: bool, check_self: bool, allow_same_class: bool, allow_same_module: bool, caller_frame: FrameType, callee_frame: FrameType, caller_self: object, callee_self: object, caller_module: str, callee_module: str, default_checker: Callable[[CallguardHandlerInfo], bool], exception_class: type[Exception]) None
Parameters:
Return type:

None

allow_same_class: bool
allow_same_module: bool
callee_frame: FrameType
callee_module: str
callee_self: object
caller_frame: FrameType
caller_module: str
caller_self: object
check_module: bool
check_self: bool
default_checker: Callable[[CallguardHandlerInfo], bool]
exception_class: type[Exception]
method_name: str