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

Method itemSort

gui/propertyEditor.py:214–217  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

212 sMkt.searchItems(search, self.populateSearch, 'everything')
213
214 def itemSort(self, item):
215 sMkt = Market.getInstance()
216 isFittable = item.group.name in sMkt.FIT_GROUPS or item.category.name in sMkt.FIT_CATEGORIES
217 return (not isFittable, *sMkt.itemSort(item))
218
219 def populateSearch(self, itemIDs):
220 items = Market.getItems(itemIDs)

Callers 1

getModsMethod · 0.45

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected