(args_mapping: ArgsType)
| 126 | |
| 127 | |
| 128 | def build_args_batch_extractor(args_mapping: ArgsType): |
| 129 | def extract_fn(batch): |
| 130 | return tuple(get_child(batch, *as_keys(path)) for path in args_mapping) |
| 131 | |
| 132 | return extract_fn |
| 133 | |
| 134 | |
| 135 | def build_kwargs_batch_extractor(kwargs_mapping: KwargsType): |
no outgoing calls
no test coverage detected