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

Method init

eos/db/saveddata/fit.py:98–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96
97 @reconstructor
98 def init(self):
99 if self.source_fit.isInvalid:
100 # Very rare for this to happen, but be prepared for it
101 saveddata_session.delete(self.source_fit)
102 saveddata_session.flush()
103 saveddata_session.refresh(self.victim_fit)
104
105 # We have a series of setters and getters here just in case someone
106 # downgrades and screws up the table with NULL values

Callers

nothing calls this directly

Calls 3

flushMethod · 0.80
deleteMethod · 0.45
refreshMethod · 0.45

Tested by

no test coverage detected