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

Function _i

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

Source from the content-addressed store, hash-verified

64
65
66def _i(section: str, key: str, default: int) -> int:
67 try:
68 return int(_cfg[section][key])
69 except (KeyError, ValueError):
70 return default
71
72
73def _s(section: str, key: str, default: str) -> str:

Callers 2

config.pyFile · 0.85
_applyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected