callguard

Functions

callguard(obj, **callguard_options)

callguard_callable(**callguard_options)

callguard_class(**callguard_options)

callguard_classmethod(**callguard_options)

callguard_property(**callguard_options)

default_callguard_checker(info)

get_execution_frame(*[, frames_up])

get_execution_frame_module(frame)

get_execution_frame_self(frame)

get_execution_frame_self_varname(frame)

no_callguard(obj)

Classes

Callguard

CallguardCallableDecorator

CallguardClassDecorator

CallguardClassOptions

CallguardClassmethodDecorator

CallguardHandlerInfo

CallguardHandlerInfo(method_name: str, check_module: bool, check_self: bool, caller_frame: frame, callee_frame: frame, caller_self: object, callee_self: object, caller_module: str, callee_module: str, default_checker: 'Callable[[CallguardHandlerInfo], bool]', default_handler: 'Callable[Concatenate[T, Callable[Concatenate[T,P], R], CallguardHandlerInfo, P], R]')

CallguardOptions

CallguardPropertyDecorator