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

Class EOSSettings

service/settings.py:505–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503
504
505class EOSSettings:
506 _instance = None
507
508 @classmethod
509 def getInstance(cls):
510 if cls._instance is None:
511 cls._instance = EOSSettings()
512
513 return cls._instance
514
515 def __init__(self):
516 self.EOSSettings = SettingsProvider.getInstance().getSettings("pyfaEOSSettings", eos.config.settings)
517
518 def get(self, type):
519 return self.EOSSettings[type]
520
521 def set(self, type, value):
522 self.EOSSettings[type] = value
523
524
525class GraphSettings:

Callers 1

getInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected