chore: use `urlunparse` instead of string replace by JohnVillalovos · Pull Request #2221 · python-gitlab/python-gitlab
Repository navigation
chore: use urlunparse instead of string replace - #2221
Merged
nejch merged 1 commit into main from jlvillal/unparse Aug 4, 2022
Merged
chore: use urlunparse instead of string replace #2221
nejch merged 1 commit into
main from
jlvillal/unparse
Conversation
JohnVillalovos commented Aug 4, 2022
Copy link Copy Markdown
Member
Use the urlunparse() function to reconstruct the URL without the
query parameters.
chore: use urlunparse instead of string replace
6d1b62d
Use the `urlunparse()` function to reconstruct the URL without the query parameters.
nejch commented Aug 4, 2022
Copy link Copy Markdown
Member
|
@JohnVillalovos this uses a private interface, see my comment at #2219 (comment) . |
JohnVillalovos commented Aug 4, 2022
Copy link Copy Markdown
Member
Author
It is documented in the official docs, which to me means it is supposed to be used. https://docs.python.org/3/library/urllib.parse.html
|
codecov-commenter
commented
Aug 4, 2022
·
edited by codecov
Bot
Loading
Copy link Copy Markdown
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@ ## main #2221 +/- ## ======================================= Coverage 95.45% 95.45% ======================================= Files 81 81 Lines 5368 5368 ======================================= Hits 5124 5124 Misses 244 244
Flags with carried forward coverage won't be shown. Click here to find out more.
|
JohnVillalovos commented Aug 4, 2022 · edited Loading
Copy link Copy Markdown
Member
Author
|
My theory is that because the The
|
nejch commented Aug 4, 2022
Copy link Copy Markdown
Member
|
Ok, I will begrudgingly merge this 🐱 |
9e0b60f
into
main
Aug 4, 2022
nejch
deleted the
jlvillal/unparse
branch
August 4, 2022 16:06
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment