MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _s

Function _s

SLiCAP/schematic/config.py:73–77  ·  view source on GitHub ↗
(section: str, key: str, default: str)

Source from the content-addressed store, hash-verified

71
72
73def _s(section: str, key: str, default: str) -> str:
74 try:
75 return _cfg[section][key].strip()
76 except KeyError:
77 return default
78
79
80def _b(section: str, key: str, default: bool) -> bool:

Callers 2

config.pyFile · 0.85
_applyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected