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

Method groupIDCallback

eos/gamedata.py:696–699  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

694
695 @staticmethod
696 def groupIDCallback(v):
697 v = int(v)
698 group = eos.db.getGroup(v)
699 return "%s (%d)" % (group.name, v) if group is not None else str(v)
700
701 @staticmethod
702 def attributeIDCallback(v):

Callers

nothing calls this directly

Calls 1

getGroupMethod · 0.80

Tested by

no test coverage detected