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

Method validate

gui/utils/inputs.py:47–48  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

45class InputValidator(metaclass=ABCMeta):
46
47 def validate(self, value):
48 return self._validateWithReason(value)[0]
49
50 def getReason(self, value):
51 return self._validateWithReason(value)[1]

Callers 1

isValidMethod · 0.45

Calls 1

_validateWithReasonMethod · 0.95

Tested by

no test coverage detected