@@ -500,7 +500,11 @@ class IPv4Record(NameResolutionRecord):
500
500
#: IPv4 address.
501
501
ip : 'IPv4Address'
502
502
#: Name resolution data.
503
- records : 'tuple[str]'
503
+ records : 'tuple[str, ...]'
504
+
505
+ if TYPE_CHECKING :
506
+ def __init__ (self , type : 'Enum_RecordType' , length : 'int' , ip : 'IPv4Address' ,
507
+ records : 'tuple[str, ...]' ) -> 'None' : ...
504
508
505
509
506
510
class IPv6Record (NameResolutionRecord ):
@@ -509,7 +513,11 @@ class IPv6Record(NameResolutionRecord):
509
513
#: IPv6 address.
510
514
ip : 'IPv6Address'
511
515
#: Name resolution data.
512
- records : 'tuple[str]'
516
+ records : 'tuple[str, ...]'
517
+
518
+ if TYPE_CHECKING :
519
+ def __init__ (self , type : 'Enum_RecordType' , length : 'int' , ip : 'IPv6Address' ,
520
+ records : 'tuple[str, ...]' ) -> 'None' : ...
513
521
514
522
515
523
class NS_DNSNameOption (Option ):
@@ -679,10 +687,10 @@ class TLSKeyLog(DSBSecrets):
679
687
"""Data model for TLS key log DSB secrets."""
680
688
681
689
#: TLS key log entries.
682
- entries : 'OrderedMultiDict [TLSKeyLabel, bytes]'
690
+ entries : 'dict [TLSKeyLabel, OrderedMultiDict[ bytes, bytes] ]'
683
691
684
692
if TYPE_CHECKING :
685
- def __init__ (self , entries : 'OrderedMultiDict [TLSKeyLabel, bytes]' ) -> 'None' : ...
693
+ def __init__ (self , entries : 'dict [TLSKeyLabel, OrderedMultiDict[ bytes, bytes] ]' ) -> 'None' : ...
686
694
687
695
688
696
class WireGuardKeyLog (DSBSecrets ):
0 commit comments