-
Notifications
You must be signed in to change notification settings - Fork 15
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
🎨(api) convert camelCase variables to snake_case #436
Conversation
df40712
to
533e362
Compare
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.
LGTM! 🎉
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.
@lebaudantoine some camelCase remain in Pydantic models in models. To align with this PR, we could standardise all our Pydantic models, but that could be done in another PR |
Issue opened @quitterie-lcs #439 |
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.
b7ceabe
to
8c94cb1
Compare
Implemented camelCase aliases on API routes' params. Ensures PEP8 compliance without disabling PyLint.
Implemented camelCase aliases on attributes of LRSStatementQuery. Ensures PEP8 compliance without disabling PyLint.
8c94cb1
to
c2dfbaa
Compare
Purpose
Ensures PEP8 compliance without disabling PyLint.
Proposal
Implemented
camelCase
aliases on attributes or routes' parameters.Let me know if I am being too pedantic, and this breaking change is not worth it.