mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
833d33dc0f
* ConstrainedFloat schema: account for differences between IEEE floats and json * add changes * Update changes/1417-vdwees.md Co-Authored-By: Samuel Colvin <samcolvin@gmail.com> * Update changes/1417-vdwees.md Co-Authored-By: Samuel Colvin <samcolvin@gmail.com> * fixup * Update pydantic/types.py Difference of styles :) Co-Authored-By: Samuel Colvin <samcolvin@gmail.com> * merge _schema_ieee_compatibility_transform into parent method * capitalize * use type_, not outer_type_ Co-authored-by: Jesse VanderWees <jesse.vanderwees@kisters-bv.nl> Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
238 B
238 B
Modify schema constraints on ConstrainedFloat so that exclusiveMinimum and
minimum are not included in the schema if they are equal to -math.inf and
exclusiveMaximum and maximum are not included if they are equal to math.inf.