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

Method getText

gui/builtinViewColumns/propertyDisplay.py:56–61  ·  view source on GitHub ↗
(self, stuff)

Source from the content-addressed store, hash-verified

54 self.columnText = info.displayName if info.displayName != "" else info.name
55
56 def getText(self, stuff):
57 attr = getattr(stuff, self.propertyName, None)
58 if attr:
59 return formatAmount(attr, 3, 0, 3)
60 else:
61 return ""
62
63 @staticmethod
64 def getParameters():

Callers

nothing calls this directly

Calls 1

formatAmountFunction · 0.90

Tested by

no test coverage detected