MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / _as_mapping

Function _as_mapping

config/loader.py:53–56  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

51
52
53def _as_mapping(value: Any) -> Mapping[str, Any]:
54 if isinstance(value, Mapping):
55 return value
56 return {}
57
58
59def _merge_dicts(base: Mapping[str, Any], override: Mapping[str, Any]) -> dict[str, Any]:

Callers 5

_build_llmFunction · 0.85
_build_runtimeFunction · 0.85
_build_toolsFunction · 0.85
load_app_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected