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

Class ConcreteOperator

tests/operators/test_operator.py:19–24  ·  view source on GitHub ↗

Concrete implementation of Operator for testing.

Source from the content-addressed store, hash-verified

17
18
19class ConcreteOperator(Operator):
20 """Concrete implementation of Operator for testing."""
21
22 def process(self, item: DataItem) -> Result:
23 """Concrete implementation of abstract method."""
24 return Result(item_idx=0)
25
26
27class TestOperatorInit:

Calls

no outgoing calls