- Notifications
You must be signed in to change notification settings - Fork673
fix: correct some type-hints in gitlab/mixins.py#1398
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
fix: correct some type-hints in gitlab/mixins.py#1398
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Commitbaea721 introduced type-hintsfor gitlab/mixins.py.After starting to add type-hints to gitlab/v4/objects/users.pydiscovered a few errors.Main error was using '=' instead of ':'. For example: _parent = Optional[...] should be _parent: Optional[...]Resolved those issues.
codecov-commenter commentedApr 18, 2021 • 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 #1398 +/- ##==========================================- Coverage 80.16% 80.13% -0.03%========================================== Files 73 73 Lines 4073 4077 +4 ==========================================+ Hits 3265 3267 +2- Misses 808 810 +2
Flags with carried forward coverage won't be shown.Click here to find out more.
Continue to review full report at Codecov.
|
Thanks for the fixes. That makes much more sense now 😄 |
Commitbaea721 introduced type-hints
for gitlab/mixins.py.
After starting to add type-hints to gitlab/v4/objects/users.py
discovered a few errors.
Main error was using '=' instead of ':'. For example:
_parent = Optional[...] should be _parent: Optional[...]
Resolved those issues.