- Notifications
You must be signed in to change notification settings - Fork673
feat(client): addhttp_patch
method#2471
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
@nejch Just wanted to get the ball rolling on this. Not sure how much should be in the PR. Some unit tests are going to be wanted. Not sure about functional tests. |
lmilbaum commentedFeb 3, 2023
How about placing the function in the backend? |
Since I don't know much about the backend, can you explain why? I'm doing it like all the other |
ac3531a
to97e4438
Comparelmilbaum commentedFeb 3, 2023
Moving the http_* functions to the backend has already started. It will save a future work of moving this one as well and there will be no need to change the function signature. |
JohnVillalovos commentedFeb 3, 2023 • 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.
Sorry. I haven't looked into the back-end code. Can you explain how that will work? I don't really see much of anything in the back-end. I don't see any of the If all the other |
lmilbaum commentedFeb 3, 2023
You might want to take a look at#2435 |
codecov-commenter commentedFeb 3, 2023 • 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
📣 This organization is not using Codecov’sGitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories.Learn more @@ Coverage Diff @@## main #2471 +/- ##======================================= Coverage 96.18% 96.19% ======================================= Files 86 86 Lines 5635 5644 +9 =======================================+ Hits 5420 5429 +9 Misses 215 215
Flags with carried forward coverage won't be shown.Click here to find out more.
|
nejch commentedFeb 3, 2023 • 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.
@JohnVillalovos, I think this could be a
@lmilbaum in any case we will have these user-facing helper methods on the client, preferably backend-agnostic (https://python-gitlab.readthedocs.io/en/stable/api-levels.html#lower-level-api-http-methods). They help users work around endpoints we haven't implemented in the library. I hope if we get this right only |
Uh oh!
There was an error while loading.Please reload this page.
lmilbaum commentedFeb 3, 2023
I am not following what you are trying to say. In any case, maybe switching the return type in a similar way I've done in the PR#2435. |
In order to support some new API calls we need to support the HTTP `PATCH` method.Closes:#2469
97e4438
tob27f4ee
Compare
@lmilbaum since this PR is a separate concern, I think we can do that after, I can also rebase your PR with |
In order to support some new API calls we need to support the HTTP
PATCH
method.Closes:#2469