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