mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 15:54:26 +00:00
10 lines
394 B
Python
10 lines
394 B
Python
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):
|
|
...
|