fix: revert adding typing to DNSRecord.suppressed_by (#1210) · python-zeroconf/python-zeroconf@3dba5ae

Original file line numberDiff line numberDiff line change

@@ -180,7 +180,7 @@ def suppressed_by(self, msg: 'DNSIncoming') -> bool:

180180

return True

181181

return False

182182
183-

def _suppressed_by_answer(self, other: 'DNSRecord') -> bool:

183+

def _suppressed_by_answer(self, other) -> bool: # type: ignore[no-untyped-def]

184184

"""Returns true if another record has same name, type and class,

185185

and if its TTL is at least half of this record's."""

186186

return self == other and other.ttl > (self.ttl / 2)