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

Method getInstance

service/price.py:64–67  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

62
63 @classmethod
64 def getInstance(cls):
65 if cls.instance is None:
66 cls.instance = Price()
67 return cls.instance
68
69 @classmethod
70 def fetchPrices(cls, prices, fetchTimeout, validityOverride):

Callers 4

fetchPricesMethod · 0.45
getPriceNowMethod · 0.45
getPricesMethod · 0.45

Calls 1

PriceClass · 0.70

Tested by

no test coverage detected