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

Method __init__

dns/_trio_backend.py:66–69  ·  view source on GitHub ↗
(self, family, stream, tls=False)

Source from the content-addressed store, hash-verified

64
65class StreamSocket(dns._asyncbackend.StreamSocket):
66 def __init__(self, family, stream, tls=False):
67 super().__init__(family, socket.SOCK_STREAM)
68 self.stream = stream
69 self.tls = tls
70
71 async def sendall(self, what, timeout):
72 with _maybe_timeout(timeout):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected