(
split_infos: Iterable[SplitInfo],
instruction: SplitArg,
)
| 530 | |
| 531 | |
| 532 | def _make_absolute_instructions( |
| 533 | split_infos: Iterable[SplitInfo], |
| 534 | instruction: SplitArg, |
| 535 | ) -> list[_AbsoluteInstruction]: |
| 536 | if isinstance(instruction, str): |
| 537 | instruction = AbstractSplit.from_spec(instruction) |
| 538 | |
| 539 | # Create the absolute instruction (per split) |
| 540 | split_info_map = {split_info.name: split_info for split_info in split_infos} |
| 541 | return instruction.to_absolute(split_info_map) |
| 542 | |
| 543 | |
| 544 | def _file_instructions_for_split( |
no test coverage detected