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

Method groupIDCallback

gui/builtinItemStatsViews/itemCompare.py:213–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 return "%s (%d)" % (item.name, value) if item is not None else str(value)
212
213 def groupIDCallback():
214 group = Market.getInstance().getGroup(value)
215 return "%s (%d)" % (group.name, value) if group is not None else str(value)
216
217 def attributeIDCallback():
218 attribute = Attribute.getInstance().getAttributeInfo(value)

Callers

nothing calls this directly

Calls 2

getGroupMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected