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

Method getPublicityByItem

service/market.py:841–847  ·  view source on GitHub ↗

Return if an item is published

(self, item)

Source from the content-addressed store, hash-verified

839 return ""
840
841 def getPublicityByItem(self, item):
842 """Return if an item is published"""
843 if item.typeName in self.ITEMS_FORCEPUBLISHED:
844 pub = self.ITEMS_FORCEPUBLISHED[item.typeName]
845 else:
846 pub = item.published
847 return pub
848
849 def getPublicityByGroup(self, group):
850 """Return if an group is published"""

Callers 8

getItemsByGroupMethod · 0.95
getItemsByMarketGroupMethod · 0.95
searchShipsMethod · 0.95
getReplacementsMethod · 0.95
getModuleFlatAmmoMethod · 0.80
processSearchesMethod · 0.80
fetchItemFunction · 0.80
searchStageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected