MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / _get_cached_config

Function _get_cached_config

config.py:92–94  ·  view source on GitHub ↗

从内存缓存获取配置(同步)

(key: str, default: Any = None)

Source from the content-addressed store, hash-verified

90
91
92def _get_cached_config(key: str, default: Any = None) -> Any:
93 """从内存缓存获取配置(同步)"""
94 return _config_cache.get(key, default)
95
96
97async def get_config_value(key: str, default: Any = None, env_var: Optional[str] = None) -> Any:

Callers 1

get_config_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected