-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Prompted by encode/httpx#3287
starlette
is currently using private imports from httpx
...
starlette/starlette/testclient.py
Lines 500 to 513 in c78c9aa
url: httpx._types.URLTypes, | |
*, | |
content: httpx._types.RequestContent | None = None, | |
data: _RequestData | None = None, | |
files: httpx._types.RequestFiles | None = None, | |
json: typing.Any = None, | |
params: httpx._types.QueryParamTypes | None = None, | |
headers: httpx._types.HeaderTypes | None = None, | |
cookies: httpx._types.CookieTypes | None = None, | |
auth: httpx._types.AuthTypes | |
| httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT, | |
follow_redirects: bool | None = None, | |
allow_redirects: bool | None = None, | |
timeout: httpx._types.TimeoutTypes |
These are broken against the latest minor point release, which includes this (internal) refactoring... encode/httpx#3245
It's possible that the path of least resistance for the short term is for httpx
to re-include URLTypes
, tho really we need to be making sure that downstream packages are not using private imports.
Some prior discussion of this also at #2534.
Metadata
Metadata
Assignees
Labels
No labels