Commit Graph

3 Commits

Author SHA1 Message Date
Pat Lasswell 7702a8d213 move misplaced test file to test directory 2024-05-16 15:04:59 -07:00
pre-commit-ci[bot] f1f4c77fea 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 2024-05-15 13:56:42 +00:00
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