MCPcopy Create free account
hub / github.com/Louisym/MiniCC / get

Method get

tutorials/09_config_system.py:243–245  ·  view source on GitHub ↗

获取配置值

(self, key: str, default: Any = None)

Source from the content-addressed store, hash-verified

241 permission_mode: Optional[str] = None # 权限模式
242
243 def get(self, key: str, default: Any = None) -> Any:
244 """获取配置值"""
245 return self.merged.get(key, default)
246
247 def summary(self) -> str:
248 """输出配置摘要"""

Callers 15

authorizeMethod · 0.45
from_dictMethod · 0.45
required_mode_forMethod · 0.45
lesson_1_processFunction · 0.45
command_existsFunction · 0.45
ui_consumerFunction · 0.45
lesson_7_http_journeyFunction · 0.45
required_mode_forMethod · 0.45
lesson_5_exit_codesFunction · 0.45
default_forMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected