MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / process

Method process

datastudio/operators/rewriters/split.py:39–45  ·  view source on GitHub ↗

Split is handled specially - we mark items for expansion. The actual splitting is done in expand_items().

(self, item: DataItem)

Source from the content-addressed store, hash-verified

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."""

Callers 1

Calls 1

ResultClass · 0.85

Tested by 1