Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions zeroconf/_protocol/outgoing.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_additional_answer(self, record: DNSRecord) -> None:
self.additionals.append(record)

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

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