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

Function _f

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

Source from the content-addressed store, hash-verified

57
58
59def _f(section: str, key: str, default: float) -> float:
60 try:
61 return float(_cfg[section][key])
62 except (KeyError, ValueError):
63 return default
64
65
66def _i(section: str, key: str, default: int) -> int:

Callers 2

config.pyFile · 0.70
_applyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected