Pop args from the `src` dictionary based on specified keys in `args` and (key, default value) pairs in `kwargs`.
(src: dict, *args: Any, **kwargs: Any)
| 112 | |
| 113 | |
| 114 | def _pop_args(src: dict, *args: Any, **kwargs: Any) -> tuple: |
| 115 | """ |
| 116 | Pop args from the `src` dictionary based on specified keys in `args` and (key, default value) pairs in `kwargs`. |
| 117 | |
| 118 | """ |
| 119 | return tuple([src.pop(i) for i in args] + [src.pop(k, v) for k, v in kwargs.items()]) |
| 120 | |
| 121 | |
| 122 | def _log_input_summary(tag: str, args: dict) -> None: |
no test coverage detected
searching dependent graphs…