MCPcopy
hub / github.com/xfangfang/Macast / get

Method get

macast/utils.py:185–191  ·  view source on GitHub ↗

Get application settings

(property, default=1)

Source from the content-addressed store, hash-verified

183
184 @staticmethod
185 def get(property, default=1):
186 """Get application settings
187 """
188 if property.name in Setting.setting:
189 return Setting.setting[property.name]
190 Setting.setting[property.name] = default
191 return default
192
193 @staticmethod
194 def set(property, data):

Callers 15

hook-pystray.pyFile · 0.80
_event_callbackMethod · 0.80
eventMethod · 0.80
get_friendly_nameMethod · 0.80
get_ipMethod · 0.80
get_portMethod · 0.80
get_localeMethod · 0.80
get_system_envMethod · 0.80
SUBSCRIBEMethod · 0.80
UNSUBSCRIBEMethod · 0.80
runMethod · 0.80
init_settingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected