MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / _RecordingProbe

Class _RecordingProbe

tests/test_backend_format_resolver.py:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17class _RecordingProbe:
18 def __init__(self, result: bool) -> None:
19 self.result = result
20 self.calls: list[dict[str, object]] = []
21
22 def __call__(self, **kwargs: object) -> bool:
23 self.calls.append(dict(kwargs))
24 return self.result
25
26
27def _no_probe(name: str):

Calls

no outgoing calls