rberga06.utils.func.info.call_info#
- class rberga06.utils.func.info.call_info(*, log: bool = True, logger: Logger | None = None, apply: bool = True)#
Bases:
DecoratorWithAttr
[list
[CallInfo
[Callable
[…,Any
]]]]Collect detailed information about a function call.
Methods
__init__
(*[, log, logger, apply])decorate
(f)Decorate function f.
get
(f, /)spec
(__decorated__, *args, **kwargs)Decorator behaviour specification.
Attributes
ATTR
apply
log
logger
data
- decorate(f: _F) _F #
Decorate function f.