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

Method addModule

service/port/eft.py:872–877  ·  view source on GitHub ↗
(self, itemSpec)

Source from the content-addressed store, hash-verified

870 self.getContainerBySlot(m.slot).append(m)
871
872 def addModule(self, itemSpec):
873 if itemSpec is None:
874 return
875 m = self.__makeModule(itemSpec)
876 if m is not None:
877 self.getContainerBySlot(m.slot).append(m)
878
879 def __makeModule(self, itemSpec):
880 # Mutate item if needed

Callers 1

importEftFunction · 0.95

Calls 3

__makeModuleMethod · 0.95
getContainerBySlotMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected