mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-03-12 04:35:40 -07:00
* Bump dnspython from 2.0.0 to 2.2.0 Bumps [dnspython]() from 2.0.0 to 2.2.0. --- updated-dependencies: - dependency-name: dnspython dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update dnspython==2.2.0 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
22 lines
1006 B
Python
22 lines
1006 B
Python
from typing import Optional,Dict,Union,Any
|
|
|
|
from . import message, tsig, rdataclass, name
|
|
|
|
class Update(message.Message):
|
|
def __init__(self, zone : Union[name.Name, str], rdclass : Union[int,str] = rdataclass.IN, keyring : Optional[Dict[name.Name,bytes]] = None,
|
|
keyname : Optional[name.Name] = None, keyalgorithm : Optional[name.Name] = tsig.default_algorithm) -> None:
|
|
self.id : int
|
|
def add(self, name : Union[str,name.Name], *args : Any):
|
|
...
|
|
def delete(self, name, *args : Any):
|
|
...
|
|
def replace(self, name : Union[str,name.Name], *args : Any):
|
|
...
|
|
def present(self, name : Union[str,name.Name], *args : Any):
|
|
...
|
|
def absent(self, name : Union[str,name.Name], rdtype=None):
|
|
"""Require that an owner name (and optionally an rdata type) does
|
|
not exist as a prerequisite to the execution of the update."""
|
|
def to_wire(self, origin : Optional[name.Name] = None, max_size=65535, **kw) -> bytes:
|
|
...
|