You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a follow-up from this non-issue in pydantic_settings, I want to file this issue here. pydantic-bump seem to import ConfigDict from wrong package. And – if I got it right – it should import SettingsConfigDict in my example instead of ConfigDict.
As one can see bump-pydantic imported ConfigDict from pydantic instead from pydantic_settings. And as the example uses SettingsConfigDict, I think bump-pydantic should use that as well.
The text was updated successfully, but these errors were encountered:
As a follow-up from this non-issue in pydantic_settings, I want to file this issue here. pydantic-bump seem to import
ConfigDict
from wrong package. And – if I got it right – it should importSettingsConfigDict
in my example instead ofConfigDict
.I had this config in Pydantic v1:
Then, I executed dump-pydantic and got the following config file:
As one can see bump-pydantic imported
ConfigDict
from pydantic instead frompydantic_settings
. And as the example usesSettingsConfigDict
, I think bump-pydantic should use that as well.The text was updated successfully, but these errors were encountered: