Skip to content

Commit 543558d

Browse files
authored
Cleanup typing in zeroconf._protocol.outgoing (#1000)
1 parent af4d082 commit 543558d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

zeroconf/_protocol/outgoing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def add_additional_answer(self, record: DNSRecord) -> None:
158158
self.additionals.append(record)
159159

160160
def add_question_or_one_cache(
161-
self, cache: 'DNSCache', now: float, name: str, type_: int, class_: int
161+
self, cache: DNSCache, now: float, name: str, type_: int, class_: int
162162
) -> None:
163163
"""Add a question if it is not already cached."""
164164
cached_entry = cache.get_by_details(name, type_, class_)
@@ -168,7 +168,7 @@ def add_question_or_one_cache(
168168
self.add_answer_at_time(cached_entry, now)
169169

170170
def add_question_or_all_cache(
171-
self, cache: 'DNSCache', now: float, name: str, type_: int, class_: int
171+
self, cache: DNSCache, now: float, name: str, type_: int, class_: int
172172
) -> None:
173173
"""Add a question if it is not already cached.
174174
This is currently only used for IPv6 addresses.

0 commit comments

Comments
 (0)