(
self,
proxy: Proxy,
verify: ssl.SSLContext | str | bool = True,
cert: CertTypes | None = None,
trust_env: bool = True,
http1: bool = True,
http2: bool = False,
limits: Limits = DEFAULT_LIMITS,
)
| 1452 | ) |
| 1453 | |
| 1454 | def _init_proxy_transport( |
| 1455 | self, |
| 1456 | proxy: Proxy, |
| 1457 | verify: ssl.SSLContext | str | bool = True, |
| 1458 | cert: CertTypes | None = None, |
| 1459 | trust_env: bool = True, |
| 1460 | http1: bool = True, |
| 1461 | http2: bool = False, |
| 1462 | limits: Limits = DEFAULT_LIMITS, |
| 1463 | ) -> AsyncBaseTransport: |
| 1464 | return AsyncHTTPTransport( |
| 1465 | verify=verify, |
| 1466 | cert=cert, |
| 1467 | trust_env=trust_env, |
| 1468 | http1=http1, |
| 1469 | http2=http2, |
| 1470 | limits=limits, |
| 1471 | proxy=proxy, |
| 1472 | ) |
| 1473 | |
| 1474 | def _transport_for_url(self, url: URL) -> AsyncBaseTransport: |
| 1475 | class="st">""" |
no test coverage detected