-
-
Notifications
You must be signed in to change notification settings - Fork 56
feat: add-response-model #64
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
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.
A quick first review, a few return annotations are missing
Codecov Report
@@ Coverage Diff @@
## master #64 +/- ##
==========================================
+ Coverage 88.62% 90.08% +1.45%
==========================================
Files 21 22 +1
Lines 686 867 +181
==========================================
+ Hits 608 781 +173
- Misses 78 86 +8
Continue to review full report at Codecov.
|
* initial commit * tests: add fixtures for APIResponse * tests: [WIP] Test methods that don't interact with RequestResponse * tests: replace builtin type by typing type and add type annotations * tests: add requests Response fixtures * chore: change return order to improve readability * tests: add tests for left methods Co-authored-by: Joel Lee <[email protected]> Co-authored-by: Dani Reinón <[email protected]>
6233ae7
to
2df9d14
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.
This looks good to me 🚀
Nitpick: What do you think about making the classmethods/staticmethods on the APIResponse private (adding a leading _
)
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 1.93%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
@anand2312 Done! |
No description provided.