-
-
Notifications
You must be signed in to change notification settings - Fork 845
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to private module names #785
Conversation
Fantastic! I think we might also rejig how the imports are arranged, but I think we should probably leave that to a follow-up PR. (Ie. drop How do we want to approach this all release-wise/timing-wise? Presumably at least both this and #782 in a 0.12.0 release? |
Yup, that sounds good to me! |
Alright, I updated the docs -- only a few references to internal modules in logs, but otherwise nothing indicating that we've got anything missing at the top-level. This should be ready for review! I'll issue a follow-up for reorganizing imports. |
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.
Good stuff, this'll be a really nice bit of tightening up!
I'm happy for this to go in whenever you are, @florimondmanca.
(Essentially whenever we're at a point where we're confident we want to start pressing ahead on a 0.12.0)
from httpx.content_streams import encode | ||
from httpx.dispatch.base import AsyncDispatcher | ||
from httpx.utils import format_form_param | ||
from httpx._config import CertTypes, TimeoutTypes, VerifyTypes |
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.
Incidentally, it looks like we've erronously left the signature as send(request, verify, cert, timeout)
in a bunch of these and other test cases, rather than switching to send(request, timeout)
on the dispatch interface.
We're missing those because we're not type checking our test cases.
Not related to this PR, so doesn't neccessarily need to change here, but this helps highlight it, since we're pulling in more private API that we might otherwise expect.
What do we reckon then? Hit "Go" on this one now, and then start drawing up whatever we want in a 0.12 release? |
Yup, I think we’re ready for getting 0.12 together. :) |
Okay, let's roll this one now, then. |
Fixes #772
Still need to confirm…