def validate(self, text):
        try:
            value = float(text)
        except ValueError:
            return False
        minimum = self.minimum
        if minimum is not None and value < minimum:
            return False
        maximum = self.maximum
        if maximum is not None and value > maximum:
            return False
        if not self.allow_exponent and 'e' in text.lower():
            return False
        return True
Test Valet WSGI service request response non persistent connection in request
dataset/ETHPy150Open nucleic/enaml/enaml/validator.py/FloatValidator.validate--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/http/test/test_serving.py/BasicTestCase.testValetServiceBottleNonPersistent