Pydantic · Type Alias
FiniteFloat
FiniteFloat is a Pydantic type for float values that are not positive infinity, negative infinity, or NaN. Use it when a model must reject non-finite numeric values.
Last updated
Syntax
FiniteFloatIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
AllowInfNanPositiveFloatNegativeFloatNonPositiveFloatNonNegativeFloatStrictFloat