Skip to content
Myr

Drop extraneous `proxy` argument on `URLLib3Transport`. (#1090)

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

* Update urllib3.py Drop `proxy` argument that has been accidentally left over on `URLLib3Transport`. It's not used anywhere, and it's not relevant since we seperate `URLLib3Transport` and `URLLib3ProxyTransport` classes. * Update urllib3.py

authored by Tom Christie · committed by GitHub · parent 6421575 · Browse files · 1 file+1 added−2 removed
This commit

State

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

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:httpx/_transports/urllib3.py+1 added-2 removed
1 unmodified line
2from typing import Dict, Iterator, List, Optional, Tuple34import httpcore56from .._config import Proxy, SSLConfig6from .._config import SSLConfig7from .._content_streams import ByteStream, IteratorStream8from .._exceptions import NetworkError, map_exceptions9from .._types import CertTypes, VerifyTypes10
7 unmodified lines
18class URLLib3Transport(httpcore.SyncHTTPTransport):19 def __init__(20 self,21 *,22 proxy: Proxy = None,22 verify: VerifyTypes = True,23 cert: CertTypes = None,24 trust_env: bool = None,25 pool_connections: int = 10,
128 unmodified lines