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

Class DummyTransaction

dns/query.py:1678–1683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1676
1677 def writer(self, replacement: bool = False) -> dns.transaction.Transaction:
1678 class DummyTransaction:
1679 def nop(self, *args, **kw):
1680 pass
1681
1682 def __getattr__(self, _):
1683 return self.nop
1684
1685 return cast(dns.transaction.Transaction, DummyTransaction())
1686

Callers 1

writerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…