summaryrefslogtreecommitdiff
path: root/dns/rrset.pyi
blob: 0a81a2a06e69d813ea12a0c8256c21432b4ee63c (plain)
1
2
3
4
5
6
7
8
9
10
from typing import List, Optional
from . import rdataset, rdatatype

class RRset(rdataset.Rdataset):
    def __init__(self, name, rdclass : int , rdtype : int, covers=rdatatype.NONE,
                 deleting : Optional[int] =None) -> None:
        self.name = name
        self.deleting = deleting
def from_text(name : str, ttl : int, rdclass : str, rdtype : str, *text_rdatas : str):
    ...