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

Method __init__

tests/operators/test_operator.py:196–198  ·  view source on GitHub ↗
(self, new_answer="Rewritten", **kwargs)

Source from the content-addressed store, hash-verified

194 """Concrete implementation of Rewriter for testing."""
195
196 def __init__(self, new_answer="Rewritten", **kwargs):
197 super().__init__(**kwargs)
198 self.new_answer = new_answer
199
200 def rewrite(self, item: DataItem, qa_idx: int):
201 """Concrete implementation of rewrite method."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected