Skip to content

Commit d9923a2

Browse files
committed
fix: cannot be typed until cython3
1 parent 2c6ae75 commit d9923a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zeroconf/_dns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def is_recent(self, now: float_) -> bool:
208208
"""Returns true if the record more than one quarter of its TTL remaining."""
209209
return self.created + (_RECENT_TIME_MS * self.ttl) > now
210210

211-
def reset_ttl(self, other: 'DNSRecord') -> None:
211+
def reset_ttl(self, other) -> None: # type: ignore[no-untyped-def]
212212
"""Sets this record's TTL and created time to that of
213213
another record."""
214214
self.set_created_ttl(other.created, other.ttl)

0 commit comments

Comments
 (0)