Add fastapi code

This commit is contained in:
2022-11-27 13:16:21 +01:00
parent 7cc1a424dc
commit 337ca690cf
2880 changed files with 643628 additions and 0 deletions

View File

@ -0,0 +1,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):
...