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

Method getGroupByItem

service/market.py:588–594  ·  view source on GitHub ↗

Get group by item

(self, item)

Source from the content-addressed store, hash-verified

586 return marketGroup
587
588 def getGroupByItem(self, item):
589 """Get group by item"""
590 if item.typeName in self.ITEMS_FORCEGROUP:
591 group = self.ITEMS_FORCEGROUP[item.typeName]
592 else:
593 group = item.group
594 return group
595
596 def getCategoryByItem(self, item):
597 """Get category by item"""

Callers 6

getCategoryByItemMethod · 0.95
getItemsByGroupMethod · 0.95
fighterSorterFunction · 0.80
fighterKeyMethod · 0.80
getSimilarModPositionsFunction · 0.80
getSimilarFightersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected