(
self, keyed_args: Tuple, fn: Callable, args: Iterable, kwargs: Mapping = {}
)
| 360 | return l |
| 361 | |
| 362 | def process( |
| 363 | self, keyed_args: Tuple, fn: Callable, args: Iterable, kwargs: Mapping = {} |
| 364 | ) -> None: |
| 365 | # Note: This take args as an iterable, instead of as a varargs, so that if we don't trace we don't have to expand the iterable |
| 366 | if self.tracer.should_trace(*keyed_args): |
| 367 | filename = self.frame.f_code.co_filename |
| 368 | line = self.frame.f_lineno |
| 369 | # Don't pass kwargs if not used, so we can more easily test mock calls |
| 370 | log_call(f"{filename}:{line}", fn, tuple(args), *((kwargs,) if kwargs else ())) |
| 371 | |
| 372 | def __call__(self) -> None: |
| 373 | """ |
no test coverage detected