MCPcopy Create free account
hub / github.com/openai/plugins / lookup_dotted

Function lookup_dotted

plugins/codex-security/scripts/config_preflight.py:181–187  ·  view source on GitHub ↗
(config: dict[str, Any], path: str)

Source from the content-addressed store, hash-verified

179
180
181def lookup_dotted(config: dict[str, Any], path: str) -> tuple[bool, Any]:
182 current: Any = config
183 for part in path.split("."):
184 if not isinstance(current, dict) or part not in current:
185 return False, None
186 current = current[part]
187 return True, current
188
189
190def lookup_layered_value(

Callers 3

lookup_layered_valueFunction · 0.85
lookup_config_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected