MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / _get_value

Method _get_value

config/settings.py:145–153  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

143 return cls._instance
144
145 def _get_value(self, key)->str:
146 setting = Settings.setting[self.__setting_key__]
147 value = None
148 if key in setting:
149 value = setting[key]
150 if not value:
151 value = None
152
153 return value
154
155 def _get_bool(self, key)->bool:
156 value = self._get_value(key)

Callers 11

_get_boolMethod · 0.95
outputMethod · 0.80
formatMethod · 0.80
hostMethod · 0.80
dbmsMethod · 0.80
usernameMethod · 0.80
passwordMethod · 0.80
file_inputMethod · 0.80
csv_delimiterMethod · 0.80
databaseMethod · 0.80
valid_charsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected