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

Method init

eos/saveddata/override.py:39–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37
38 @reconstructor
39 def init(self):
40 self.__attr = None
41 self.__item = None
42
43 if self.attrID:
44 self.__attr = eos.db.getAttributeInfo(self.attrID)
45 if self.__attr is None:
46 pyfalog.error("Attribute (id: {0}) does not exist", self.attrID)
47 return
48
49 if self.itemID:
50 self.__item = eos.db.getItem(self.itemID)
51 if self.__item is None:
52 pyfalog.error("Item (id: {0}) does not exist", self.itemID)
53 return
54
55 @property
56 def attr(self):

Callers

nothing calls this directly

Calls 2

getAttributeInfoMethod · 0.80
getItemMethod · 0.80

Tested by

no test coverage detected