- Notifications
You must be signed in to change notification settings - Fork674
fix: support int forparent_id inimport_group#2507
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
codecov-commenter commentedMar 4, 2023 • edited by codecovbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by codecovbot
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## main #2507 +/- ##==========================================+ Coverage 87.59% 96.17% +8.58%========================================== Files 87 87 Lines 5665 5676 +11 ==========================================+ Hits 4962 5459 +497+ Misses 703 217 -486
Flags with carried forward coverage won't be shown.Click here to find out more.
|
15c1b17 to2d1382fCompare
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, just a quick initial question on the fix, the rest seems to me an unrelated refactor so I'll look at it a bit later as I'm a bit tired right now 😅
Uh oh!
There was an error while loading.Please reload this page.
2d1382f tob95a6f4Comparenejch commentedMar 10, 2023
Sorry for the delay here, I just realized the testing conflicts a bit with those added inhttps://github.com/python-gitlab/python-gitlab/pull/2488/files#diff-fc2667e8a1b0a974c8447eee8fca931262283245469f31693874cad25651c8f1, I'll get back to this on the weekend :) |
b95a6f4 to192475aCompare
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, I had some thoughts on the testing structure but will do a follow-up as we have a big mix now from older tests anyway.
I found the tuple of three values confusing. So instead use adataclass to return the three values. It is still confusing but alittle bit less so.Also add some unit tests
This will also fix other use cases where an integer is passed in toMultipartEncoder.Added unit tests to show it works.Closes:#2506
This will also fix other use cases where an integer is passed in to
MultipartEncoder.
Added unit tests to show it works.
Closes:#2506