Closed YaraslauZhylko closed 1 year ago
Hello, thank you for reporting. I will update settings and create new release soon :)
I just created new release, I think everything will be correct now :)
Yes, the fixed version works without warnings. Thank you.
When using Pydantic v2+,
CognitoSettings
raises a warning about using the deprecated way of configuring the settings model via theConfig
class and urging to migrate to the new way of doing that via themodel_config
field.The warning is not critical. But as more and more projects start migration to Pydantic v2, it seems reasonable to start supporting it as well.