- Notifications
You must be signed in to change notification settings - Fork673
feat: Initial support for httpx#2336
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 commentedOct 20, 2022 • 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 @@## main #2336 +/- ##==========================================- Coverage 95.96% 95.14% -0.82%========================================== Files 80 82 +2 Lines 5331 5440 +109 ==========================================+ Hits 5116 5176 +60- Misses 215 264 +49
Flags with carried forward coverage won't be shown.Click here to find out more.
|
183d29d
to3a363d2
CompareThere 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.
@lmilbaum I made a quick initial pass. Would be interested to see how this runs on functional tests. Thanks a lot for working on this, it's something I've been thinking of myself for a while!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
9db988a
to1a3e23d
Compare20bcffb
to3918639
Compare1a7938b
tofa23370
Compare
Thanks both for driving this, sorry again this is taking a while for me to get back into, I thought this would be easier and only the most low-level stuff factored out, similar to how it's done inhttps://python-redmine.com/advanced/request_engines.html /https://github.com/maxtepkeev/python-redmine/tree/master/redminelib/engines. So just wanted to make sure we take a good look before we merge if there's a simple way :) |
I liked the approach taken in |
dc66009
to55edad8
Comparec0132ac
to9626499
CompareWould breaking this PR into smaller pieces would make sense? |
I think this might help yes@lmilbaum! https://github.com/python-gitlab/python-gitlab/pull/2336/files#r1010073025 Also, it would potentially be a smaller PR if we ensure we keep public https://python-gitlab.readthedocs.io/en/stable/api-levels.html |
So biggest issue with this for me is the type-hints. Everything having So I think we need to figure out a solution that doesn't use |
Thank you for the feedback@nejch and@JohnVillalovos. I've started breaking this up into smaller PRs. Take a look at#2382 |
084c405
to884daf3
Compare
Uh oh!
There was an error while loading.Please reload this page.
A followup of#1036
Two clients defined:
requests
andhttpx
. As long ashttpx
is not fully implemented and adopted by the community, keeping therequests
client as the default.