def null_factory(
*args, # pylint: disable=unused-argument
- **kwargs # pylint: disable=unused-argument
+ **kwargs, # pylint: disable=unused-argument
):
return NullContext(None)
self,
origin: Optional[dns.name.Name] = None,
relativize: bool = True,
- **kw: Dict[str, Any]
+ **kw: Dict[str, Any],
) -> str:
"""Convert an rdata to text format.
self,
origin: Optional[dns.name.Name] = None,
relativize: bool = True,
- **kw: Dict[str, Any]
+ **kw: Dict[str, Any],
) -> str:
return r"\# %d " % len(self.data) + _hexify(self.data, **kw)
self,
origin: Optional[dns.name.Name] = None,
relativize: bool = True,
- **kw: Dict[str, Any]
+ **kw: Dict[str, Any],
) -> str:
"""Convert the RRset into DNS zone file format.
file: Any,
compress: Optional[dns.name.CompressType] = None, # type: ignore
origin: Optional[dns.name.Name] = None,
- **kw: Dict[str, Any]
+ **kw: Dict[str, Any],
) -> int:
"""Convert the RRset to wire format.
ttl: int,
rdclass: Union[dns.rdataclass.RdataClass, str],
rdtype: Union[dns.rdatatype.RdataType, str],
- *text_rdatas: Any
+ *text_rdatas: Any,
) -> RRset:
"""Create an RRset with the specified name, TTL, class, and type and with
the specified rdatas in text format.