We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07cf846 commit 3dba5aeCopy full SHA for 3dba5ae
1 file changed
src/zeroconf/_dns.py
@@ -180,7 +180,7 @@ def suppressed_by(self, msg: 'DNSIncoming') -> bool:
180
return True
181
return False
182
183
- def _suppressed_by_answer(self, other: 'DNSRecord') -> bool:
+ def _suppressed_by_answer(self, other) -> bool: # type: ignore[no-untyped-def]
184
"""Returns true if another record has same name, type and class,
185
and if its TTL is at least half of this record's."""
186
return self == other and other.ttl > (self.ttl / 2)
0 commit comments