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

Method __init__

service/marketSources/fuzzwork.py:44–49  ·  view source on GitHub ↗
(self, priceMap, system, fetchTimeout)

Source from the content-addressed store, hash-verified

42 group = 'tranquility'
43
44 def __init__(self, priceMap, system, fetchTimeout):
45 # Try selected system first
46 self.fetchPrices(priceMap, max(2 * fetchTimeout / 3, 2), system)
47 # If price was not available - try globally
48 if priceMap:
49 self.fetchPrices(priceMap, max(fetchTimeout / 3, 2))
50
51 @staticmethod
52 def fetchPrices(priceMap, fetchTimeout, system=None):

Callers

nothing calls this directly

Calls 1

fetchPricesMethod · 0.95

Tested by

no test coverage detected