

def validate(self, value):
    try:
        return float(value)
    except ValueError:
        self.error(value)

dataset/ETHPy150Open sdispater/cleo/cleo/validators/__init__.py Float.validate/original