-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential Inconsistency with Inner Config Migration #50
Comments
Hmm... I think I actually can't transform to I can also make sure it's a |
I'll fix this soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, I want to express my gratitude for developing this incredible tool. It has greatly assisted me in adopting Pydantic v2, and I have achieved exceptional results in my projects. Thank you for your valuable contribution! 馃殌
I have encountered an issue where the bump-pydantic tool is exhibiting unexpected behavior by replacing the inner Config in non-Pydantic objects.
alice-biometrics/petisco-fastapi-example#11
To reproduce this behaviour you can use the following code (
pip install petisco
):The
Controller
inherits from a metaclassclass Controller(metaclass=MetaController)
and this metaclass gets information from configI guess
bump-pydantic
only have to update BaseModels objects. To ensure that it would be beneficial to introduce an additional check in the replace_config.py file.The text was updated successfully, but these errors were encountered: