- Notifications
You must be signed in to change notification settings - Fork675
chore: update type-hints return signature for GetWithoutIdMixin methods#2036
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Commitf0152dc removed situationwhere `get()` in a `GetWithoutIdMixin` based class could return `None`Update the type-hints to no longer return `Optional` AKA `None`
codecov-commenter commentedMay 30, 2022
Codecov Report
@@ Coverage Diff @@## main #2036 +/- ##======================================= Coverage 93.72% 93.72% ======================================= Files 78 78 Lines 4941 4941 ======================================= Hits 4631 4631 Misses 310 310
Flags with carried forward coverage won't be shown.Click here to find out more.
|
nejch 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.
Thanks@JohnVillalovos lgtm, just a quick question. There's another quirk with GetWithoutIdMixin I'll open a follow-up for.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Commitf0152dc removed situation
where
get()in aGetWithoutIdMixinbased class could returnNoneUpdate the type-hints to no longer return
OptionalAKANone