MCPcopy
hub / github.com/WEIFENG2333/VideoCaptioner / _set

Function _set

videocaptioner/cli/main.py:522–525  ·  view source on GitHub ↗
(key: str, value)

Source from the content-addressed store, hash-verified

520 overrides: dict = {}
521
522 def _set(key: str, value) -> None:
523 if value is not None:
524 from videocaptioner.cli.config import _set_nested
525 _set_nested(overrides, key, value)
526
527 # LLM
528 _set("llm.api_key", getattr(args, "api_key", None))

Callers 1

_build_cli_overridesFunction · 0.70

Calls 1

_set_nestedFunction · 0.90

Tested by

no test coverage detected