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

Function _frame_data

tests/test_format_translate_processor.py:238–240  ·  view source on GitHub ↗
(frame: str)

Source from the content-addressed store, hash-verified

236
237
238def _frame_data(frame: str) -> dict[str, Any]:
239 data_line = next(line for line in frame.splitlines() if line.startswith("data: "))
240 return json.loads(data_line.removeprefix("data: "))
241
242
243async def test_model_format_lookup_prefers_rust_selected_model() -> None:

Calls

no outgoing calls

Tested by

no test coverage detected