feat(client): bootstrap the http backends concept#2391
feat(client): bootstrap the http backends concept#2391nejch merged 1 commit intopython-gitlab:mainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2391 +/- ##
=======================================
Coverage 95.98% 95.99%
=======================================
Files 80 82 +2
Lines 5360 5372 +12
=======================================
+ Hits 5145 5157 +12
Misses 215 215
Flags with carried forward coverage won't be shown. Click here to find out more.
|
2717a1b to
07aba4f
Compare
07aba4f to
e043182
Compare
nejch
left a comment
There was a problem hiding this comment.
Thanks for breaking this up @lmilbaum! Just a few minor questions.
We used the redminelib approach here IIRC, after poking around github a bit more I think also calling these http backends, e.g. from gitlab import backends might make sense, but just a thought.
1cbb77c to
ba2ee6c
Compare
|
I would prefer that #2392 lands before this one. It is needed for testing this PR. |
@lmilbaum it shouldn't block if you cherry-pick the commit from #2397 here (feel free to cherry pick already), it seems like the tests in that PR are really meant for this one, then we can really test the method we are changing ( (Our use of Edit: maybe I was a bit quick with that PR and didnt check the tests ;) but in any case on second thought I think the tests can be done in unit tests as we don't make requests against a real server in those. So shouldn't block this PR IMO. |
|
@nejch could you please take a look. I would like to move forward. Thanks. |
24d5afa to
da6bc2b
Compare
da6bc2b to
c9888ef
Compare
Initial implementation of http engine concept. The long-term target is to shift all requests/response processing from the client to the http engine. When that is done for requests then it would be easy enough to add another engine, like httpx.