Closed g3n35i5 closed 5 months ago
Thanks @g3n35i5 for reporting this issue. Agree, it is a bug and has been introduced in https://github.com/pydantic/pydantic-settings/commit/2784a7013d0bccb5c76c2db78befe0c266baac55
I will create a fix for this bug soon
@g3n35i5 Just created the PR https://github.com/pydantic/pydantic-settings/pull/240
It would be great if you can test and confirm the fix.
Thanks
@hramezani I can confirm that your bugfix works :blush: Thank you very much!
pydantic-settings 2.2.1 has been released
results in
however just using it without the
Field
works:This bug was introduced with v2.2.0, v2.1.0 works.