MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / getInstance

Method getInstance

service/settings.py:46–50  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

44
45 @classmethod
46 def getInstance(cls):
47 if cls._instance is None:
48 cls._instance = SettingsProvider()
49
50 return cls._instance
51
52 def __init__(self):
53 if hasattr(self, 'BASE_PATH'):

Callers

nothing calls this directly

Calls 1

SettingsProviderClass · 0.85

Tested by

no test coverage detected