Closed raui100 closed 3 weeks ago
Yup, running into the same issue now. Now I've had to manually provide a value in the examples for these fields. However the issue seems to be only for ge
Issue is here: https://github.com/JakobGM/patito/blob/77923db45194acea7de49be8194100870833e982/src/patito/pydantic.py#L759-L762C4
I'll open up a pr for it
Has been fixed!
The following code raises an
ValidationError
becausea
is assigned-0.5
as float byProduct.examples()
even thougha
is restricted to be>=0.0
: