We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99a6f98 commit 0094e26Copy full SHA for 0094e26
1 file changed
src/zeroconf/_dns.py
@@ -207,7 +207,7 @@ def is_recent(self, now: _float) -> bool:
207
"""Returns true if the record more than one quarter of its TTL remaining."""
208
return self.created + (_RECENT_TIME_MS * self.ttl) > now
209
210
- def reset_ttl(self, other: 'DNSRecord') -> None:
+ def reset_ttl(self, other) -> None: # type: ignore[no-untyped-def]
211
"""Sets this record's TTL and created time to that of
212
another record."""
213
self.set_created_ttl(other.created, other.ttl)
0 commit comments