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

Method getMaxState

eos/saveddata/module.py:749–753  ·  view source on GitHub ↗
(self, proposedState=None)

Source from the content-addressed store, hash-verified

747 return True
748
749 def getMaxState(self, proposedState=None):
750 states = sorted((s for s in FittingModuleState if proposedState is None or s <= proposedState), reverse=True)
751 for state in states:
752 if self.isValidState(state):
753 return state
754
755 def canHaveState(self, state=None, projectedOnto=None):
756 """

Callers 2

toModuleMethod · 0.95
getProposedStateMethod · 0.80

Calls 1

isValidStateMethod · 0.95

Tested by

no test coverage detected