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

Method item

eos/saveddata/character.py:396–403  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

394
395 @property
396 def item(self):
397 if self.__item is None:
398 self.__item = item = Character.getSkillIDMap().get(self.itemID)
399 if item is None:
400 # This skill is no longer in the database and thus invalid it, get rid of it.
401 self.character.removeSkill(self)
402
403 return self.__item
404
405 def getModifiedItemAttr(self, key):
406 if key in self.item.attributes:

Callers

nothing calls this directly

Calls 3

getSkillIDMapMethod · 0.80
removeSkillMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected