Skip to content

Commit

Permalink
Drop extraneous proxy argument on URLLib3Transport. (#1090)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
tomchristie authored Jul 26, 2020
1 parent 6421575 commit 2e60e14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions httpx/_transports/urllib3.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import httpcore

from .._config import Proxy, SSLConfig
from .._config import SSLConfig
from .._content_streams import ByteStream, IteratorStream
from .._exceptions import NetworkError, map_exceptions
from .._types import CertTypes, VerifyTypes
Expand All @@ -19,7 +19,6 @@ class URLLib3Transport(httpcore.SyncHTTPTransport):
def __init__(
self,
*,
proxy: Proxy = None,
verify: VerifyTypes = True,
cert: CertTypes = None,
trust_env: bool = None,
Expand Down

0 comments on commit 2e60e14

Please sign in to comment.