+
    ni#                         R t ^ RIHtHtHtHt ^ RIt^ RIt^ RI	t^ RI
t^ RIt^ RIt ! R R]P                  P                  4      tRR R lltR R ltRR	 R
 lltR R ltR# )z)DNS RRsets (an RRset is a named rdataset))Any
CollectionDictcastNc                     a a ] tR t^t oRtRR.t]P                  P                  R3V3R lV 3R lllt	V 3R lt
R tR	 tV 3R
 ltV3R lV 3R lltRV3R lV 3R llltRV3R lV 3R llltRV3R lV 3R llltV3R lR ltRtVtV ;t# )RRseta  A DNS RRset (named rdataset).

RRset inherits from Rdataset, and RRsets can be treated as
Rdatasets in most cases.  There are, however, a few notable
exceptions.  RRsets have different to_wire() and to_text() method
arguments, reflecting the fact that RRsets always have an owner
name.
namedeletingNc                  < V ^8  d   QhRS[ P                  P                  RS[ P                  P                  RS[ P
                  P                  RS[ P
                  P                  RS[ P                  P                  R,          /# )   r   rdclassrdtypecoversr	   N)dnsr   Name
rdataclass
RdataClass	rdatatype	RdataType)format__classdict__s   "cC:\Users\petid\OneDrive\Desktop\Maestro\MAESTRO\maestro-backend\venv\Lib\site-packages\dns/rrset.py__annotate__RRset.__annotate__*   sr     ! !hhmm! **! ''	!
 ''! ..++d2!    c                @   < \         SV `  W#V4       Wn        WPn        R# )zCreate a new RRset.N)super__init__r   r	   selfr   r   r   r   r	   	__class__s   &&&&&&r   r   RRset.__init__*   s     	&1	 r   c                   < \        \        \        SV `  4       4      pV P                  Vn        V P
                  Vn        V# N)r   r   r   _cloner   r	   )r   objr    s   & r   r$   RRset._clone8   s1    5%'.*+99}}
r   c                   V P                   ^ 8X  d   RpM7R\        P                  P                  V P                   4      ,           R,           pV P                  e2   R\        P
                  P                  V P                  4      ,           pMRpR\        V P                  4      ,           R,           \        P
                  P                  V P                  4      ,           R,           \        P                  P                  V P                  4      ,           V,           V,           R,           V P                  4       ,           R,           # )	     ()z delete=z<DNS  z RRset: >)r   r   r   to_textr	   r   strr   r   r   _rdata_repr)r   ctextdtexts   &  r   __repr__RRset.__repr__>   s    ;;!E#--//<<sBE==$!7!7!FFEE$))n nn$$T\\23 	
 mm##DKK01     	! 
	
r   c                "    V P                  4       # r#   )r.   r   s   &r   __str__RRset.__str__U   s    ||~r   c                   < \        V\        4      '       d   V P                  VP                  8w  d   R # M,\        V\        P                  P
                  4      '       g   R # \        SV `  V4      # )F)
isinstancer   r   r   rdatasetRdatasetr   __eq__)r   otherr    s   &&r   r=   RRset.__eq__X   sQ    eU##yyEJJ& 'E3<<#8#899w~e$$r   c                ,   < V ^8  d   QhRS[ RS[ RS[/# )r   argskwargsreturn)r   bool)r   r   s   "r   r   r   `   s"     2 23 2# 2$ 2r   c                   < \        V^ ,          \        P                  P                  4      '       d   V P                  ! V/ VB # \
        SV `  ! V/ VB # )a  Does this rrset match the specified attributes?

Behaves as :py:func:`full_match()` if the first argument is a
``dns.name.Name``, and as :py:func:`dns.rdataset.Rdataset.match()`
otherwise.

(This behavior fixes a design mistake where the signature of this
method became incompatible with that of its superclass.  The fix
makes RRsets matchable as Rdatasets while preserving backwards
compatibility.)
)r:   r   r   r   
full_matchr   match)r   rA   rB   r    s   &*,r   rG   RRset.match`   sF     d1gsxx}}--??D3F337=$1&11r   c                  < V ^8  d   QhRS[ P                  P                  RS[ P                  P                  RS[ P
                  P                  RS[ P
                  P                  RS[ P                  P                  R,          RS[/# )r   r   r   r   r   r	   NrC   )r   r   r   r   r   r   r   rD   )r   r   s   "r   r   r   q   s|      hhmm ** ''	
 '' ..++d2 
r   c                   < \         SV `  W#V4      '       g   R# V P                  V8w  g   V P                  V8w  d   R# R# )zdReturns ``True`` if this rrset matches the specified name, class,
type, covers, and deletion state.
FT)r   rG   r   r	   r   s   &&&&&&r   rF   RRset.full_matchq   s6     w}Wf5599 9r   c                ~   < V ^8  d   QhRS[ P                  P                  R,          RS[RS[S[S[3,          RS[/# )r   originN
relativizekwrC   )r   r   r   rD   r   r/   r   )r   r   s   "r   r   r      sH     
 
$
 
 38n	

 

r   c                R   < \         SV `  ! V P                  WV P                  3/ VB # )a  Convert the RRset into DNS zone file format.

See ``dns.name.Name.choose_relativity`` for more information
on how *origin* and *relativize* determine the way names
are emitted.

Any additional keyword arguments are passed on to the rdata
``to_text()`` method.

*origin*, a ``dns.name.Name`` or ``None``, the origin for relative
names.

*relativize*, a ``bool``.  If ``True``, names will be relativized
to *origin*.
)r   r.   r   r	   )r   rM   rN   rO   r    s   &&&,r   r.   RRset.to_text   s-    , wIIv4==
<>
 	
r   c          
         < V ^8  d   QhRS[ RS[P                  P                  R,          RS[P                  P                  R,          RS[S[S[ 3,          RS[/# )r   filecompressNrM   rO   rC   )r   r   r   CompressTyper   r   r/   int)r   r   s   "r   r   r      sa     
 

 ((''$.
 $	

 38n
 

r   c                R   < \         SV `  ! V P                  WW0P                  3/ VB # )zConvert the RRset to wire format.

All keyword arguments are passed to ``dns.rdataset.to_wire()``; see
that function for details.

Returns an ``int``, the number of records emitted.
)r   to_wirer   r	   )r   rS   rT   rM   rO   r    s   &&&&,r   rX   RRset.to_wire   s-     wIItv}}
@B
 	
r   c                H   < V ^8  d   QhRS[ P                  P                  /# )r   rC   )r   r;   r<   )r   r   s   "r   r   r      s!     B BS\\22 Br   c                h    \         P                  P                  V P                  \	        V 4      4      # )zIConvert an RRset into an Rdataset.

Returns a ``dns.rdataset.Rdataset``.
)r   r;   from_rdata_listttllistr6   s   &r   to_rdatasetRRset.to_rdataset   s#    
 ||++DHHd4jAAr   )r	   r   r#   )NT)NN)__name__
__module____qualname____firstlineno____doc__	__slots__r   r   NONEr   r$   r3   r7   r=   rG   rF   r.   rX   r_   __static_attributes____classdictcell____classcell__)r    r   s   @@r   r   r      s      $I +.--*<*<59! !
.%2 2" &
 
4
 
*B B Br   r   c                   V ^8  d   QhR\         P                  P                  \        ,          R\        R\         P
                  P                  \        ,          R\         P                  P                  \        ,          R\        \        ,          R\         P                  P                  R,          R\         P                  P                  R,          R	\        R
\         P                  P                  R,          R\        /
# )r   r   r]   r   r   text_rdatas
idna_codecNrM   rN   relativize_torC   )r   r   r   r/   rV   r   r   r   r   r   	IDNACodecrD   r   )r   s   "r   r   r      s     ( (
((--#
(	( ^^&&,( MM##c)	(
 C( ""T)( HHMMD ( ( 88==4'( (r   c	           
        \        V \        4      '       d#   \        P                  P	                  V RVR7      p \        P
                  P                  P                  V4      p\        P                  P                  P                  V4      p\        WV4      p	V	P                  V4       V FK  p
\        P                  P	                  V	P                  V	P                  WWxV4      pV	P                  V4       KM  	  V	# )aM  Create an RRset with the specified name, TTL, class, and type, and with
the specified list of rdatas in text format.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder to use; if ``None``, the default IDNA 2003
encoder/decoder is used.

*origin*, a ``dns.name.Name`` (or ``None``), the
origin to use for relative names.

*relativize*, a ``bool``.  If true, name will be relativized.

*relativize_to*, a ``dns.name.Name`` (or ``None``), the origin to use
when relativizing names.  If not set, the *origin* value will be used.

Returns a ``dns.rrset.RRset`` object.
Nrm   )r:   r/   r   r   	from_textr   r   maker   r   r   
update_ttlrdatar   r   add)r   r]   r   r   rl   rm   rM   rN   rn   rtrds   &&&&&&&&&   r   from_text_listrz      s    : $xx!!$!Dnn'',,W5G]]$$))&1FdV$ALLYY  IIqxxJz
 	
b		 
 Hr   c                   V ^8  d   QhR\         P                  P                  \        ,          R\        R\         P
                  P                  \        ,          R\         P                  P                  \        ,          R\        R\        /# )r   r   r]   r   r   rl   rC   )r   r   r   r/   rV   r   r   r   r   r   r   )r   s   "r   r   r      so      
((--#
	 ^^&&, MM##c)	
  r   c           
     N    \        WW#\        \        \        ,          V4      4      # )zCreate an RRset with the specified name, TTL, class, and type and with
the specified rdatas in text format.

Returns a ``dns.rrset.RRset`` object.
)rz   r   r   r/   )r   r]   r   r   rl   s   &&&&*r   rr   rr      s#     7DC+$F r   c          
         V ^8  d   QhR\         P                  P                  \        ,          R\        R\
        \         P                  P                  ,          R\         P                  P                  R,          R\        /# )r   r   r]   rdatasrm   NrC   )
r   r   r   r/   rV   r   ru   Rdataro   r   )r   s   "r   r   r      sc      
((--#
	 syy' ""T)	
 r   c                Z   \        V \        4      '       d#   \        P                  P	                  V RVR7      p \        V4      ^ 8X  d   \        R4      hRpV FI  pVf2   \        WP                  VP                  4      pVP                  V4       VP                  V4       KK  	  Vf   Q hV# )a  Create an RRset with the specified name and TTL, and with
the specified list of rdata objects.

*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
encoder/decoder to use; if ``None``, the default IDNA 2003
encoder/decoder is used.

Returns a ``dns.rrset.RRset`` object.

Nrq   zrdata list must not be empty)r:   r/   r   r   rr   len
ValueErrorr   r   r   rt   rv   )r   r]   r~   rm   rw   ry   s   &&&&  r   r\   r\      s    " $xx!!$!D
6{a788A9dJJ		2ALL	b		 
 ==Hr   c                    V ^8  d   QhR\         P                  P                  \        ,          R\        R\
        R\        /# )r   r   r]   r~   rC   )r   r   r   r/   rV   r   r   )r   s   "r   r   r     s;     Q QSXX]]S( Qs QS QU Qr   c                t    \        W\        \        \        P                  P
                  ,          V4      4      # )z~Create an RRset with the specified name and TTL, and with
the specified rdata objects.

Returns a ``dns.rrset.RRset`` object.
)r\   r   r   r   ru   r   )r   r]   r~   s   &&*r   
from_rdatar     s%     4d:ciioo+F&OPPr   )NNTNr#   )re   typingr   r   r   r   dns.namer   	dns.rdatadns.rdataclassdns.rdatasetdns.rdatatypedns.rendererr;   r<   r   rz   rr   r\   r    r   r   <module>r      sT   $ 0 . .      ZBCLL!! ZBz(V$@Qr   