Split is handled specially - we mark items for expansion. The actual splitting is done in expand_items().
(self, item: DataItem)
| 37 | logger.info(f"[{self.name}] Initialized") |
| 38 | |
| 39 | def process(self, item: DataItem) -> Result: |
| 40 | """ |
| 41 | Split is handled specially - we mark items for expansion. |
| 42 | |
| 43 | The actual splitting is done in expand_items(). |
| 44 | """ |
| 45 | return Result(item_idx=item.idx) |
| 46 | |
| 47 | def process_batch(self, items: List[DataItem]) -> List[Result]: |
| 48 | """Process batch - returns keep result for each item.""" |