-
-
Notifications
You must be signed in to change notification settings - Fork 770
♻ Refactor internal statements to simplify code #53
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
Chore: Merges multiple nested if conditions into one
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.
Thanks for the interest! I have some comments, all this is mainly about taste. 🤷 😅
Codecov Report
@@ Coverage Diff @@
## main #53 +/- ##
==========================================
- Coverage 97.58% 97.58% -0.01%
==========================================
Files 182 182
Lines 6054 6053 -1
==========================================
- Hits 5908 5907 -1
Misses 146 146
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
📝 Docs preview for commit 2a91647 at: https://630a8dd6fbefa94700c71038--sqlmodel.netlify.app |
Hello @tiangolo all the changes you asked for are done 🍰 |
📝 Docs preview for commit 0c054ab at: https://630a90e8801d6f48588c8617--sqlmodel.netlify.app |
Awesome, thanks @yezz123! 🍰 |
SQLModel.__setattr__
if
expression in this FunctionSQLModel.from_orm
SQLModel._calculate_keys
if/else
to remove emptyif
body in this FunctionGUID.process_result_value