validator: optional_float_validator to take a float

1 job for release_2020_1 in 48 seconds