Skip to content
Myr

Keep clients in sync (#3120)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kar Petrosyan · committed by GitHub · parent 7e10342 · Browse files · 1 file+4 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+4 added−5 removed

  • other:+4 added−5 removed

1 file+4 added−5 removed

modified:httpx/_client.py+4 added-5 removed
1052 unmodified lines
1053 *,1054 params: QueryParamTypes | None = None,1055 headers: HeaderTypes | None = None,1056 cookies: CookieTypes | None = None,1057 auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT,1057 auth: AuthTypes | UseClientDefault | None = USE_CLIENT_DEFAULT,1058 follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,1059 timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,1060 extensions: RequestExtensions | None = None,1061 ) -> Response:
328 unmodified lines
1390 timeout: TimeoutTypes = DEFAULT_TIMEOUT_CONFIG,1391 follow_redirects: bool = False,1392 limits: Limits = DEFAULT_LIMITS,1393 max_redirects: int = DEFAULT_MAX_REDIRECTS,1394 event_hooks: None1395 | (typing.Mapping[str, list[typing.Callable[..., typing.Any]]]) = None,1394 event_hooks: None | (typing.Mapping[str, list[EventHook]]) = None,1395 base_url: URLTypes = "",1396 transport: AsyncBaseTransport | None = None,1397 app: typing.Callable[..., typing.Any] | None = None,1398 trust_env: bool = True,
37 unmodified lines
1436 " Use the explicit style 'transport=ASGITransport(app=...)' instead."1437 )1438 warnings.warn(message, DeprecationWarning)14391441 allow_env_proxies = trust_env and transport is None1440 allow_env_proxies = trust_env and app is None and transport is None1441 proxy_map = self._get_proxy_map(proxies or proxy, allow_env_proxies)14421443 self._transport = self._init_transport(1444 verify=verify,
152 unmodified lines
1597 json: typing.Any | None = None,1598 params: QueryParamTypes | None = None,1599 headers: HeaderTypes | None = None,1600 cookies: CookieTypes | None = None,1602 auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT,1601 auth: AuthTypes | UseClientDefault | None = USE_CLIENT_DEFAULT,1602 follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,1603 timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,1604 extensions: RequestExtensions | None = None,1605 ) -> typing.AsyncIterator[Response]:
461 unmodified lines