MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

service/settings.py:535–542  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

533 return cls._instance
534
535 def __init__(self):
536 defaults = {
537 'mobileDroneMode': GraphDpsDroneMode.auto,
538 'ignoreDCR': False,
539 'ignoreResists': True,
540 'ignoreLockRange': True,
541 'applyProjected': True}
542 self.settings = SettingsProvider.getInstance().getSettings('graphSettings', defaults)
543
544 def get(self, type):
545 return self.settings[type]

Callers

nothing calls this directly

Calls 2

getSettingsMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected