fn model_float(v: Option<&Value>) -> Option<f64>
A float field of a pydantic model: an int in the JSON becomes a float.