Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
♻️ Move duplicated code portion to a static method in theAPIKeyBase super class#3142
Conversation
📝 Docs preview for commit4a80d02 at:https://608d27c61facd91cca0729bf--fastapi.netlify.app |
Uh oh!
There was an error while loading.Please reload this page.
codecovbot commentedMay 13, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #3142 +/- ##=========================================== Coverage 100.00% 100.00% =========================================== Files 243 531 +288 Lines 7419 13623 +6204 ===========================================+ Hits 7419 13623 +6204
Continue to review full report at Codecov.
|
📝 Docs preview for commit8ce0578 at:https://627e2fec25b877508f6395dc--fastapi.netlify.app |
patrick91 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!
svlandeg commentedAug 14, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@patrick91 : could you have another look at this PR, as it's not succeeding the linting step? 🙏 [Update]: I've gone in and fixed it 😉 |
APIKeyBase super class
tiangolo 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, thank you! 🚀
And thanks for the reviews and help! ☕
30b270b intofastapi:masterUh oh!
There was an error while loading.Please reload this page.
The code block below was used 3 times:
I have moved this portion to the
staticmethodinto the super class as it will be shared by inheritance to all 3 subclasses.