-
Notifications
You must be signed in to change notification settings - Fork 3
Add support for sqlalchemy 2.0 #48
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add a new job for sqlalchemy 2.0 and fixed all issues. RFDAP-8594
ef2aaa6 to
c987a7a
Compare
|
ricardobz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 🚀
leogreal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
lincrosenbach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change on format wanted?
| from .field import Field | ||
| from .field import NestedAttributesField | ||
| from .field import NestedModelField | ||
| from .field import PrimaryKeyField |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not grouping imports anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can change the rules, I have just run the linter and it updated the formatting. We are not running the lint step on CI. I'm submitting another PR to do that. But I can adjust that rule here already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Humm, I checked here and that is done by the reorder_python_imports plugin configured on pre-commit. Check the formatting here. It already respect that rule.
I will keep the changes here and maybe we can think of opening a PR to change the use of reorder_python_imports and black by ruff and then we can configure other rules we want.



Add a new job for sqlalchemy 2.0 and fixed all issues.
RFDAP-8594