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

Method refreshFit

service/fit.py:521–529  ·  view source on GitHub ↗
(self, fitID)

Source from the content-addressed store, hash-verified

519 yield charge
520
521 def refreshFit(self, fitID):
522 pyfalog.debug("Refresh fit for fit ID: {0}", fitID)
523 if fitID is None:
524 return None
525
526 fit = eos.db.getFit(fitID)
527 eos.db.commit()
528 self.recalc(fit)
529 self.fill(fit)
530
531 def recalc(self, fit):
532 if isinstance(fit, int):

Callers 8

fitRemovedMethod · 0.80
onPriceSelectionMethod · 0.80
onCBGlobalColorBySlotMethod · 0.80
onCBGlobalRackSlotsMethod · 0.80
onCBGlobalRackLabelsMethod · 0.80
onCBCompactSkillsMethod · 0.80
OnAddLabelsChangeMethod · 0.80
callLaterMethod · 0.80

Calls 3

recalcMethod · 0.95
fillMethod · 0.95
getFitMethod · 0.80

Tested by

no test coverage detected