mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-06-25 23:35:30 +00:00
Fix types for new requests release.
This commit is contained in:
parent
9919abf725
commit
b059247f1a
@ -117,7 +117,7 @@ class UnixHTTPAdapter(BaseHTTPAdapter):
|
|||||||
|
|
||||||
return pool
|
return pool
|
||||||
|
|
||||||
def request_url(self, request: PreparedRequest, proxies: Mapping[str, str]) -> str:
|
def request_url(self, request: PreparedRequest, proxies: Mapping[str, str] | None) -> str:
|
||||||
# The select_proxy utility in requests errors out when the provided URL
|
# The select_proxy utility in requests errors out when the provided URL
|
||||||
# does not have a hostname, like is the case when using a UNIX socket.
|
# does not have a hostname, like is the case when using a UNIX socket.
|
||||||
# Since proxies are an irrelevant notion in the case of UNIX sockets
|
# Since proxies are an irrelevant notion in the case of UNIX sockets
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user