Skip to content

Commit c0c2b9d

Browse files
committed
seq
1 parent 43e6879 commit c0c2b9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

zeroconf/_protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
import enum
2424
import struct
25-
from typing import Any, Dict, List, Optional, Set, TYPE_CHECKING, Tuple, Union, cast
25+
from typing import Any, Dict, List, Optional, Set, Sequence, TYPE_CHECKING, Tuple, Union, cast
2626

2727

2828
from ._dns import DNSAddress, DNSHinfo, DNSNsec, DNSPointer, DNSQuestion, DNSRecord, DNSService, DNSText
@@ -586,7 +586,7 @@ def _write_answers_from_offset(self, answer_offset: int) -> int:
586586
answers_written += 1
587587
return answers_written
588588

589-
def _write_records_from_offset(self, records: List[DNSRecord], offset: int) -> int:
589+
def _write_records_from_offset(self, records: Sequence[DNSRecord], offset: int) -> int:
590590
records_written = 0
591591
for record in records[offset:]:
592592
if not self._write_record(record, 0):

0 commit comments

Comments
 (0)