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

Function _option_values

tests/test_run_baseline_script.py:205–206  ·  view source on GitHub ↗
(argv: list[str], option: str)

Source from the content-addressed store, hash-verified

203
204
205def _option_values(argv: list[str], option: str) -> list[str]:
206 return [argv[idx + 1] for idx, value in enumerate(argv[:-1]) if value == option]
207
208
209def _write_server_config(path: Path) -> Path:

Calls

no outgoing calls

Tested by

no test coverage detected