MCPcopy Index your code
hub / github.com/LLMQuant/quant-mind / test_extra_kwargs_forwarded

Method test_extra_kwargs_forwarded

tests/flows/test_batch.py:150–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 self.assertIs(seen_cfg[0], cfg)
149
150 async def test_extra_kwargs_forwarded(self) -> None:
151 seen: list[Any] = []
152
153 async def flow(
154 input: RawText, *, cfg: Any = None, marker: str = ""
155 ) -> str:
156 seen.append(marker)
157 return "ok"
158
159 await batch_run(flow, [RawText(text="x")], concurrency=1, marker="here")
160 self.assertEqual(seen, ["here"])

Callers

nothing calls this directly

Calls 2

batch_runFunction · 0.90
RawTextClass · 0.90

Tested by

no test coverage detected