Commit Graph

1 Commits

Author SHA1 Message Date
Pat Lasswell c434bea96a fix: allow_inf_nan option for Param subclasses
There was a typo in the __init__ method of the Param class which
misnamed the allow_inf_nan option in the kwargs passed to the
underlying Pydantic FieldInfo initializer.  This resulted in the
validator failing to enforce the constraint, and hence inf and nan
values being passed to the route handler where they should not have.
2024-05-15 06:53:19 -07:00