MCPcopy Create free account
hub / github.com/rthalley/dnspython / __init__

Method __init__

dns/_asyncio_backend.py:139–148  ·  view source on GitHub ↗
(self, resolver, local_port, bootstrap_address, family)

Source from the content-addressed store, hash-verified

137
138 class _NetworkBackend(_CoreAsyncNetworkBackend):
139 def __init__(self, resolver, local_port, bootstrap_address, family):
140 super().__init__()
141 self._local_port = local_port
142 self._resolver = resolver
143 self._bootstrap_address = bootstrap_address
144 self._family = family
145 if local_port != 0:
146 raise NotImplementedError(
147 "the asyncio transport for HTTPX cannot set the local port"
148 )
149
150 async def connect_tcp(
151 self, host, port, timeout=None, local_address=None, socket_options=None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected