Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/dns/__pycache__/transaction.cpython-312.pyc

255 lines
29 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
g<> i3X<00><00><><00>ddlZddlmZmZmZmZmZddlZddl Zddl
Zddl Zddl Zddl ZddlZddlZddlZddlZGd<03>d<04>ZGd<05>dej&j(<00>ZGd<07>dej&j(<00>ZGd <09>d
ej&j(<00>Zd <0B>Zd <0C>Zed ej4j6ej8j:gdfZed ej4j6ej>j@ej>j@gdfZ!ed ej4j6gdfZ"Gd<0E>d <0A>Z#y)<0F>N)<05>Any<6E>Callable<6C>Iterator<6F>List<73>Tuplec<00><00>eZdZd
d<03>Zd deddfd<05>Zdeejjdzeejjdzffd<07>Z
dejjfd<08>Z dejjdzfd <09>Zy) <0C>TransactionManager<65>return<72> Transactionc<00><00>t<00>)zBegin a read-only transaction.<2E><01>NotImplementedError<6F><01>selfs <20>>E:\Project\pygoedge\.venv\Lib\site-packages\dns/transaction.py<70>readerzTransactionManager.reader<00><00><00>!<21>!<21><00> replacementc<00><00>t<00>)aBegin a writable transaction.
*replacement*, a ``bool``. If `True`, the content of the
transaction completely replaces any prior content. If False,
the default, then the content of the transaction updates the
existing content.
r )rrs r<00>writerzTransactionManager.writers
<00><00>"<22>!rNc<00><00>t<00>)aqReturns a tuple
(absolute_origin, relativize, effective_origin)
giving the absolute name of the default origin for any
relative domain names, the "effective origin", and whether
names should be relativized. The "effective origin" is the
absolute origin if relativize is False, and the empty name if
relativize is true. (The effective origin is provided even
though it can be computed from the absolute_origin and
relativize setting because it avoids a lot of code
duplication.)
If the returned names are `None`, then no origin information is
available.
This information is used by code working with transactions to
allow it to coordinate relativization. The transaction code
itself takes what it gets (i.e. does not change name
relativity).
r rs r<00>origin_informationz%TransactionManager.origin_information!s
<00><00>2"<22>!rc<00><00>t<00>)z%The class of the transaction manager.r rs r<00> get_classzTransactionManager.get_class<rrc<00>4<00>|j<00>\}}}|r|Sy)z#Origin to use in from_wire() calls.N)r)r<00>absolute_origin<69>
relativize<EFBFBD>_s r<00>from_wire_originz#TransactionManager.from_wire_origin@s#<00><00>+/<2F>+B<>+B<>+D<>(<28><1F>*<2A>a<EFBFBD> <15>"<22> "<22>r)r
r )F)<0F>__name__<5F>
__module__<EFBFBD> __qualname__r<00>boolrr<00>dns<6E>name<6D>Namer<00>
rdataclass<EFBFBD>
RdataClassrr <00>rrr r s|<00><00>"<22>"<22>$<24>"<22>=<3D>"<22>"<22> <0E>s<EFBFBD>x<EFBFBD>x<EFBFBD>}<7D>}<7D>t<EFBFBD>#<23>T<EFBFBD>3<EFBFBD>8<EFBFBD>8<EFBFBD>=<3D>=<3D>4<EFBFBD>+?<3F>?<3F> @<40>"<22>6"<22>3<EFBFBD>><3E>><3E>4<>4<>"<22><18>#<23>(<28>(<28>-<2D>-<2D>$<24>"6<>rr c<00><00>eZdZdZy)<03>DeleteNotExactz>Existing data did not match data specified by an exact delete.N<>r!r"r#<00>__doc__r*rrr,r,Is<00><00>Hrr,c<00><00>eZdZdZy)<03>ReadOnlyz*Tried to write to a read-only transaction.Nr-r*rrr0r0M<00><00><00>4rr0c<00><00>eZdZdZy)<03> AlreadyEndedz*Tried to use an already-ended transaction.Nr-r*rrr3r3Qr1rr3c<00><><00>|<00>$t|tjj<00>r|Stjj|<00>S<00>N)<04>
isinstancer%<00>rdataset<65>ImmutableRdataset)r7s r<00>_ensure_immutable_rdatasetr9Us5<00><00><0F><17>:<3A>h<EFBFBD><03> <0C> <0C>0N<30>0N<30>O<><17><0F> <0E><<3C><<3C> )<29> )<29>(<28> 3<>3rc<00>h<00>|<00>|j<00>r|Stjj|<00>Sr5)<04> is_immutabler%<00>node<64> ImmutableNode)r<s r<00>_ensure_immutable_noder>[s,<00><00> <0B>|<7C>t<EFBFBD>(<28>(<28>*<2A><13> <0B> <0E>8<EFBFBD>8<EFBFBD> !<21> !<21>$<24> '<27>'rr c <00><00>eZdZ d9dededefd<04>Zejjfdejje zdzdejje zdejje zd ejjfd
<EFBFBD>Zdejjd ej j"dzfd <0B>Zd:d <0C>Zd ed dfd<0E>Zd ed dfd<0F>Zd ed dfd<10>Zd ed dfd<11>Zdejje zd efd<12>Zddejj4fdededejjd dfd<17>Zd<18>Zd efd<19>Zd:d<1A>Zd:d<1B>Z de!d dfd<1D>Z"de#d dfd<1E>Z$de%d dfd<1F>Z&d e'e(ejjejjffd <20>Z)d e'ejjfd!<21>Z*d"<22>Z+d#<23>Z,d$<24>Z-d%<25>Z.d&<26>Z/d'<27>Z0d(<28>Z1d)<29>Z2d*<2A>Z3d+<2B>Z4d,<2C>Z5d-<2D>Z6d.<2E>Z7d/<2F>Z8d0<64>Z9d1<64>Z:d2<64>Z;d3<64>Z<d4<64>Z=d5<64>Z>d6<64>Z?d7<64>Z@d8<64>ZAy);r <00>managerr<00> read_onlyc<00>f<00>||_||_||_d|_g|_g|_g|_y<00>NF)r@rrA<00>_ended<65>_check_put_rdataset<65>_check_delete_rdataset<65>_check_delete_name)rr@rrAs r<00>__init__zTransaction.__init__ls9<00><00> <1F><04> <0C>&<26><04><18>"<22><04><0E><1B><04> <0B>?A<><04> <20>EG<45><04>#<23>=?<3F><04>rr&N<>rdtype<70>coversr
c<00>b<00>|j<00>t|t<00>r tjj |d<01>}tj jj|<02>}tj jj|<03>}|j|||<03>}t|<04>S)z<>Return the rdataset associated with *name*, *rdtype*, and *covers*,
or `None` if not found.
Note that the returned rdataset is immutable.
N) <0B> _check_endedr6<00>strr%r&<00> from_text<78> rdatatype<70> RdataType<70>make<6B> _get_rdatasetr9)rr&rIrJr7s r<00>getzTransaction.get<65>s<><00><00> <0A><19><19><1B> <15>d<EFBFBD>C<EFBFBD> <20><16>8<EFBFBD>8<EFBFBD>%<25>%<25>d<EFBFBD>D<EFBFBD>1<>D<EFBFBD><14><1D><1D>(<28>(<28>-<2D>-<2D>f<EFBFBD>5<><06><14><1D><1D>(<28>(<28>-<2D>-<2D>f<EFBFBD>5<><06><17>%<25>%<25>d<EFBFBD>F<EFBFBD>F<EFBFBD>;<3B><08>)<29>(<28>3<>3rc<00>6<00>t|j|<01><00>S)z[Return the node at *name*, if any.
Returns an immutable node or ``None``.
)r><00> _get_node<64>rr&s r<00>get_nodezTransaction.get_node<64>s<00><00>
&<26>d<EFBFBD>n<EFBFBD>n<EFBFBD>T<EFBFBD>&:<3A>;<3B>;rc<00>(<00>|jrt<00>yr5)rAr0rs r<00>_check_read_onlyzTransaction._check_read_only<6C>s<00><00> <0F>><3E>><3E><1A>N<EFBFBD> r<00>argsc<00>h<00>|j<00>|j<00>|jd|<01>y)z<>Add records.
The arguments may be:
- rrset
- name, rdataset...
- name, ttl, rdata...
FN<46>rLrY<00>_add<64>rrZs r<00>addzTransaction.add<64>s*<00><00> <0A><19><19><1B> <0C><1D><1D><1F> <0C> <09> <09>%<25><14>rc<00>h<00>|j<00>|j<00>|jd|<01>y)a<>Replace the existing rdataset at the name with the specified
rdataset, or add the specified rdataset if there was no existing
rdataset.
The arguments may be:
- rrset
- name, rdataset...
- name, ttl, rdata...
Note that if you want to replace the entire node, you should do
a delete of the name followed by one or more calls to add() or
replace().
TNr\r^s r<00>replacezTransaction.replace<63>s*<00><00>" <0A><19><19><1B> <0C><1D><1D><1F> <0C> <09> <09>$<24><04>rc<00>h<00>|j<00>|j<00>|jd|<01>y)a Delete records.
It is not an error if some of the records are not in the existing
set.
The arguments may be:
- rrset
- name
- name, rdatatype, [covers]
- name, rdataset...
- name, rdata...
FN<46>rLrY<00>_deleter^s r<00>deletezTransaction.delete<74>s*<00><00>$ <0A><19><19><1B> <0C><1D><1D><1F> <0C> <0C> <0C>U<EFBFBD>D<EFBFBD>!rc<00>h<00>|j<00>|j<00>|jd|<01>y)a4Delete records.
The arguments may be:
- rrset
- name
- name, rdatatype, [covers]
- name, rdataset...
- name, rdata...
Raises dns.transaction.DeleteNotExact if some of the records
are not in the existing set.
TNrcr^s r<00> delete_exactzTransaction.delete_exact<63>s*<00><00>& <0A><19><19><1B> <0C><1D><1D><1F> <0C> <0C> <0C>T<EFBFBD>4<EFBFBD> rc<00><><00>|j<00>t|t<00>r tjj |d<01>}|j |<01>S)zDoes the specified name exist?N)rLr6rMr%r&rN<00> _name_existsrVs r<00> name_existszTransaction.name_exists<74>s?<00><00> <0C><19><19><1B> <15>d<EFBFBD>C<EFBFBD> <20><16>8<EFBFBD>8<EFBFBD>%<25>%<25>d<EFBFBD>D<EFBFBD>1<>D<EFBFBD><13> <20> <20><14>&<26>&r<00>T<>value<75>relativec<00><><00>|j<00>|dkr td<02><00>t|t<00>r tj
j |d<03>}|j|tjjtjj<00>}|<04>t|<04>dk(rt<00>|r0tjj|dj<00>|z}ntjj|<01>}|j}|dk(rd}|dj!|<05><05>}tj"j%|j&|<06>}|j!||<07>y)a<>Update the serial number.
*value*, an `int`, is an increment if *relative* is `True`, or the
actual value to set if *relative* is `False`.
Raises `KeyError` if there is no SOA rdataset at *name*.
Raises `ValueError` if *value* is negative or if the increment is
so large that it would cause the new serial to be less than the
prior value.
rznegative update_serial() valueNrk)<01>serial)rL<00>
ValueErrorr6rMr%r&rNrRrO<00>SOA<4F>NONE<4E>len<65>KeyErrorro<00>Serialrlrar7<00>
from_rdata<EFBFBD>ttl)rrlrmr&r7ro<00>rdata<74> new_rdatasets r<00> update_serialzTransaction.update_serial<61>s<00><00>" <0A><19><19><1B> <10>1<EFBFBD>9<EFBFBD><1C>=<3D>><3E> ><3E> <15>d<EFBFBD>C<EFBFBD> <20><16>8<EFBFBD>8<EFBFBD>%<25>%<25>d<EFBFBD>D<EFBFBD>1<>D<EFBFBD><17>%<25>%<25>d<EFBFBD>C<EFBFBD>M<EFBFBD>M<EFBFBD>,=<3D>,=<3D>s<EFBFBD>}<7D>}<7D>?Q<>?Q<>R<><08> <13> <1B>s<EFBFBD>8<EFBFBD>}<7D><01>1<><1A>N<EFBFBD> <13><18>Z<EFBFBD>Z<EFBFBD>&<26>&<26>x<EFBFBD><01>{<7B>'9<>'9<>:<3A>U<EFBFBD>B<>F<EFBFBD><18>Z<EFBFBD>Z<EFBFBD>&<26>&<26>u<EFBFBD>-<2D>F<EFBFBD><17><1C><1C><06> <11>Q<EFBFBD>;<3B><16>F<EFBFBD><18><11> <0B>#<23>#<23>6<EFBFBD>#<23>2<><05><1A>|<7C>|<7C>.<2E>.<2E>x<EFBFBD>|<7C>|<7C>U<EFBFBD>C<> <0C> <0C> <0C> <0C>T<EFBFBD><<3C>(rc<00>B<00>|j<00>|j<00>Sr5<00>rL<00>_iterate_rdatasetsrs r<00>__iter__zTransaction.__iter__s<00><00> <0C><19><19><1B><13>&<26>&<26>(<28>(rc<00>B<00>|j<00>|j<00>S)aHas this transaction changed anything?
For read-only transactions, the result is always `False`.
For writable transactions, the result is `True` if at some time
during the life of the transaction, the content was changed.
)rL<00>_changedrs r<00>changedzTransaction.changeds<00><00> <0A><19><19><1B><13>}<7D>}<7D><EFBFBD>rc<00>&<00>|jd<01>y)a<>Commit the transaction.
Normally transactions are used as context managers and commit
or rollback automatically, but it may be done explicitly if needed.
A ``dns.transaction.Ended`` exception will be raised if you try
to use a transaction after it has been committed or rolled back.
Raises an exception if the commit fails (in which case the transaction
is also rolled back.
TN<54><01>_endrs r<00>commitzTransaction.commit*s<00><00> <0A> <09> <09>$<24>rc<00>&<00>|jd<01>y)avRollback the transaction.
Normally transactions are used as context managers and commit
or rollback automatically, but it may be done explicitly if needed.
A ``dns.transaction.AlreadyEnded`` exception will be raised if you try
to use a transaction after it has been committed or rolled back.
Rollback cannot otherwise fail.
FNr<4E>rs r<00>rollbackzTransaction.rollback7s<00><00> <0A> <09> <09>%<25>r<00>checkc<00>:<00>|jj|<01>y)a<>Call *check* before putting (storing) an rdataset.
The function is called with the transaction, the name, and the rdataset.
The check function may safely make non-mutating transaction method
calls, but behavior is undefined if mutating transaction methods are
called. The check function should raise an exception if it objects to
the put, and otherwise should return ``None``.
N)rE<00>append<6E>rr<>s r<00>check_put_rdatasetzTransaction.check_put_rdatasetCs<00><00> <0A> <20> <20>'<27>'<27><05>.rc<00>:<00>|jj|<01>y)a<>Call *check* before deleting an rdataset.
The function is called with the transaction, the name, the rdatatype,
and the covered rdatatype.
The check function may safely make non-mutating transaction method
calls, but behavior is undefined if mutating transaction methods are
called. The check function should raise an exception if it objects to
the put, and otherwise should return ``None``.
N)rFr<>r<>s r<00>check_delete_rdatasetz!Transaction.check_delete_rdatasetOs<00><00> <0A>#<23>#<23>*<2A>*<2A>5<EFBFBD>1rc<00>:<00>|jj|<01>y)a<>Call *check* before putting (storing) an rdataset.
The function is called with the transaction and the name.
The check function may safely make non-mutating transaction method
calls, but behavior is undefined if mutating transaction methods are
called. The check function should raise an exception if it objects to
the put, and otherwise should return ``None``.
N)rGr<>r<>s r<00>check_delete_namezTransaction.check_delete_name\s<00><00> <0A><1F><1F>&<26>&<26>u<EFBFBD>-rc<00>B<00>|j<00>|j<00>S)a@Iterate all the rdatasets in the transaction, returning
(`dns.name.Name`, `dns.rdataset.Rdataset`) tuples.
Note that as is usual with python iterators, adding or removing items
while iterating will invalidate the iterator and may raise `RuntimeError`
or fail to iterate over all entries.r|rs r<00>iterate_rdatasetszTransaction.iterate_rdatasetshs<00><00> <0A><19><19><1B><13>&<26>&<26>(<28>(rc<00>B<00>|j<00>|j<00>S)z<>Iterate all the names in the transaction.
Note that as is usual with python iterators, adding or removing names
while iterating will invalidate the iterator and may raise `RuntimeError`
or fail to iterate over all entries.)rL<00>_iterate_namesrs r<00> iterate_nameszTransaction.iterate_namests<00><00> <0A><19><19><1B><13>"<22>"<22>$<24>$rc<00><<00>t|<02>dk7rtd|<01><00><02><00>y)Nrzextra parameters to )rs<00> TypeError)r<00>methodrZs r<00>_raise_if_not_emptyzTransaction._raise_if_not_empty<74>s%<00><00> <0E>t<EFBFBD>9<EFBFBD><01>><3E><1B>2<>6<EFBFBD>(<28>;<3B><<3C> <<3C> rc<00><><00> |j<00>}t|tjj<00>r|j <00>}|St|tj j<00>r|}|S|rd}n[t|t<00>r-|}|tjjkDrt|<01>d<02><02><00>t|<01>d<03><02><00>|j<00>}t|tjj<00>r"tj j||<04>}|St|<01>d<04><02><00>#t $r|rYyt|<01>d<05><02><00>wxYw)Nrz: TTL value too bigz: expected a TTLz: expected an Rdataz: expected more arguments)<11>popleftr6r%<00>rrset<65>RRset<65> to_rdatasetr7<00>Rdataset<65>intrw<00>MAX_TTLrpr<>rx<00>Rdatarv<00>
IndexError)rr<><00>deletingrZ<00>argr7rws r<00>_rdataset_from_argszTransaction._rdataset_from_args<67>s$<00><00> F<01><16>,<2C>,<2C>.<2E>C<EFBFBD><19>#<23>s<EFBFBD>y<EFBFBD>y<EFBFBD><EFBFBD><EFBFBD>/<2F><1E>?<3F>?<3F>,<2C><08>$<1C>O<EFBFBD>#<1C>C<EFBFBD><13><1C><1C>!6<>!6<>7<><1E><08> <1C>O<EFBFBD><1C><1B>C<EFBFBD>!<21>#<23>s<EFBFBD>+<2B>!<21><03><1E><13><17><17><1F><1F>0<>",<2C><06>x<EFBFBD>7J<37>-K<>"L<>L<>'<27>6<EFBFBD>(<28>2B<32>(C<>D<>D<><1E>,<2C>,<2C>.<2E>C<EFBFBD><1D>c<EFBFBD>3<EFBFBD>9<EFBFBD>9<EFBFBD>?<3F>?<3F>3<>"<22>|<7C>|<7C>6<>6<>s<EFBFBD>C<EFBFBD>@<40>H<EFBFBD><1C>O<EFBFBD>$<24>v<EFBFBD>h<EFBFBD>.A<>$B<>C<>C<><43><19> F<01><17><1B> <20>6<EFBFBD>(<28>*C<> D<>E<>E<>  F<01>s%<00>AD$<00>'D$<00>0B%D$<00>D$<00>$ E<03>1Ec<00><><00>|rd}nd} tj|<02>}|j<00>}t|t<00>r t
j j|d<00>}t|t
j j<00>r|}|j|d|<02>}nQt|t
jj<00>r|}|j }|j<00>}nt|<03>d<04><02><00>|<06>J<00>|j|jj!<00>k7rt#|<03>d<05><02><00>|j$t
j&j(k(r'|j+<00>\}}} || k7rt#|<03>d<06><02><00>|j-||<02>|s<>|j/||j$|j0<00>}
|
<EFBFBD><EFBFBD>t|
t
j2j4<00>rRt
j2j7|
j|
j$|
j0<00>} | j9|
<EFBFBD>| }
|
j;|<06>}|j=||<06>y#t>$rtd|<03><00><02><00>wxYw)Nz replace()zadd()F<>/ requires a name or RRset as the first argument<6E> has objects of wrong RdataClassz has non-origin SOA<4F>not enough parameters to ) <20> collections<6E>dequer<65>r6rMr%r&rNr'r<>r<>r<>r<>r<><00>rdclassr@rrprIrOrq<00>_origin_informationr<6E>rRrJr7r8r<><00>update<74>union<6F>_checked_put_rdatasetr<74>) rrarZr<>r<>r&r7r<>r<00>origin<69>existing<6E>trdss rr]zTransaction._add<64>s
<00><00> <12> <20>F<EFBFBD><1C>F<EFBFBD>& B<01><1E>$<24>$<24>T<EFBFBD>*<2A>D<EFBFBD><16>,<2C>,<2C>.<2E>C<EFBFBD><19>#<23>s<EFBFBD>#<23><19>h<EFBFBD>h<EFBFBD>(<28>(<28><13>d<EFBFBD>3<><03><19>#<23>s<EFBFBD>x<EFBFBD>x<EFBFBD>}<7D>}<7D>-<2D><1A><04><1F>3<>3<>F<EFBFBD>E<EFBFBD>4<EFBFBD>H<><08><1B>C<EFBFBD><13><19><19><1F><1F>1<><1B><05><1C>z<EFBFBD>z<EFBFBD><04>!<21>,<2C>,<2C>.<2E><08><1F><1D>h<EFBFBD>M<>N<><12><12><1C>'<27> '<27>'<27><17><1F><1F>4<EFBFBD><<3C><<3C>#9<>#9<>#;<3B>;<3B> <20>F<EFBFBD>8<EFBFBD>+K<>!L<>M<>M<><17><EFBFBD><EFBFBD>#<23>-<2D>-<2D>"3<>"3<>3<>!%<25>!9<>!9<>!;<3B><0E><11>A<EFBFBD>v<EFBFBD><17>6<EFBFBD>><3E>$<24><06>x<EFBFBD>/B<>%C<>D<>D<> <10> $<24> $<24>V<EFBFBD>T<EFBFBD> 2<><1A><1F>-<2D>-<2D>d<EFBFBD>H<EFBFBD>O<EFBFBD>O<EFBFBD>X<EFBFBD>_<EFBFBD>_<EFBFBD>U<><08><1B>'<27>!<21>(<28>C<EFBFBD>L<EFBFBD>L<EFBFBD>,J<>,J<>K<>"<22>|<7C>|<7C>4<>4<>$<24>,<2C>,<2C>h<EFBFBD>o<EFBFBD>o<EFBFBD>x<EFBFBD><EFBFBD><EFBFBD> <1A><04><1D> <0B> <0B>H<EFBFBD>-<2D>#'<27><08>'<27>~<7E>~<7E>h<EFBFBD>7<>H<EFBFBD> <10> &<26> &<26>t<EFBFBD>X<EFBFBD> 6<><36><19> B<01><1B>7<><06>x<EFBFBD>@<40>A<> A<> B<01>s <00>H=I<00>Ic<00><><00>|rd}nd} tj|<02>}|j<00>}t|t<00>r t
j j|d<00>}t|t
j j<00><00>r.|}t|<02>dkD<00>r t|dt<00>st|dt<00>r<>t
jjj|j<00><00>}t|<02>dkDr8t
jjj|j<00><00>}nt
jj}|j||<02>|j!|||<07>}|<08>|rt#|<03>d<04><02><00>y|j%|||<07>y|j'|d|<02>} nAt|t
j(j*<00>r|} | j }nt-|<03>d<06><02><00>|j||<02>| r<>| j.|j0j3<00>k7rt5|<03>d<07><02><00>|j!|| j6| j8<00>}|<08><>|r$|j;| <09>}
|
| k7rt#|<03>d<08><02><00>|j=| <09>} t| <09>dk(r(|j%|| j6| j8<00>y|j?|| <09>y|rAt#|<03>d<04><02><00>|r|jA|<05>st#|<03>d <09><02><00>|jC|<05>yy#tD$rt-d
|<03><00><02><00>wxYw) Nzdelete_exact()zdelete()rz: missing rdatasetTr<54>r<>z: missing rdatasz: name not knownr<6E>)#r<>r<>r<>r6rMr%r&rNr'rsr<>rOrPrQrrr<>rRr,<00>_checked_delete_rdatasetr<74>r<>r<>r<>r<>r@rrprIrJ<00> intersection<6F>
differencer<EFBFBD>ri<00>_checked_delete_namer<65>) r<00>exactrZr<>r<>r&rIrJr<>r7r<>s rrdzTransaction._delete<74>s<><00><00> <10>%<25>F<EFBFBD><1F>F<EFBFBD>9 B<01><1E>$<24>$<24>T<EFBFBD>*<2A>D<EFBFBD><16>,<2C>,<2C>.<2E>C<EFBFBD><19>#<23>s<EFBFBD>#<23><19>h<EFBFBD>h<EFBFBD>(<28>(<28><13>d<EFBFBD>3<><03><19>#<23>s<EFBFBD>x<EFBFBD>x<EFBFBD>}<7D>}<7D>-<2D><1A><04><16>t<EFBFBD>9<EFBFBD>q<EFBFBD>=<3D><1E>t<EFBFBD>A<EFBFBD>w<EFBFBD><03>,<2C>
<EFBFBD>4<EFBFBD><01>7<EFBFBD>C<EFBFBD>0H<30>!<21>]<5D>]<5D>4<>4<>9<>9<>$<24>,<2C>,<2C>.<2E>I<>F<EFBFBD><1A>4<EFBFBD>y<EFBFBD>1<EFBFBD>}<7D>!$<24><1D><1D>!8<>!8<>!=<3D>!=<3D>d<EFBFBD>l<EFBFBD>l<EFBFBD>n<EFBFBD>!M<><06>!$<24><1D><1D>!3<>!3<><06><18>,<2C>,<2C>V<EFBFBD>T<EFBFBD>:<3A>#<23>1<>1<>$<24><06><06>G<>H<EFBFBD><1F>'<27> <20>"0<>F<EFBFBD>8<EFBFBD>;M<>1N<31>"O<>O<><1B><1D>5<>5<>d<EFBFBD>F<EFBFBD>F<EFBFBD>K<><1A>#<23>7<>7<><06><04>d<EFBFBD>K<>H<EFBFBD><1B>C<EFBFBD><13><19><19><1F><1F>1<><1E><08><1F>}<7D>}<7D><04><1F><1D>h<EFBFBD>M<>N<><12><12> <11> $<24> $<24>V<EFBFBD>T<EFBFBD> 2<><17><1B>#<23>#<23>t<EFBFBD>|<7C>|<7C>'=<3D>'=<3D>'?<3F>?<3F>$<24><06>x<EFBFBD>/O<>%P<>Q<>Q<><1F>-<2D>-<2D>d<EFBFBD>H<EFBFBD>O<EFBFBD>O<EFBFBD>X<EFBFBD>_<EFBFBD>_<EFBFBD>U<><08><1B>'<27><1C>'/<2F>'<<3C>'<<3C>X<EFBFBD>'F<> <0C>'<27>8<EFBFBD>3<>"0<>F<EFBFBD>8<EFBFBD>;K<>1L<31>"M<>M<>'<27>2<>2<>8<EFBFBD><<3C>H<EFBFBD><1A>8<EFBFBD>}<7D><01>)<29><1C>5<>5<> <20>(<28>/<2F>/<2F>8<EFBFBD>?<3F>?<3F><1A><1D>2<>2<>4<EFBFBD><18>B<><1A>(<28>F<EFBFBD>8<EFBFBD>3E<33>)F<>G<>G<><18><14>!2<>!2<>4<EFBFBD>!8<>(<28>F<EFBFBD>8<EFBFBD>3C<33>)D<>E<>E<><14>)<29>)<29>$<24>/<2F> <1B><> <1A> B<01><1B>7<><06>x<EFBFBD>@<40>A<> A<> B<01>s&<00>E?L(<00> L(<00>D3L(<00>L(<00>$AL(<00>(Mc<00>(<00>|jrt<00>yr5)rDr3rs rrLzTransaction._check_endeds<00><00> <0F>;<3B>;<3B><1E> <1E> rc<00>n<00>|j<00> |j|<01>d|_y#d|_wxYw)NT)rL<00>_end_transactionrD<00>rr<>s rr<>zTransaction._ends0<00><00> <0C><19><19><1B> <1F> <10> !<21> !<21>&<26> )<29><1E>D<EFBFBD>K<EFBFBD><4B>$<24>D<EFBFBD>K<EFBFBD>s<00>+<00> 4c<00>^<00>|jD] }||||<02><00>|j||<02>yr5)rE<00> _put_rdataset)rr&r7r<>s rr<>z!Transaction._checked_put_rdatasets.<00><00><19>-<2D>-<2D>E<EFBFBD> <11>$<24><04>h<EFBFBD> '<27>.<2E> <0C><1A><1A>4<EFBFBD><18>*rc<00>b<00>|jD] }|||||<03><00>|j|||<03>yr5)rF<00>_delete_rdataset)rr&rIrJr<>s rr<>z$Transaction._checked_delete_rdataset s2<00><00><19>0<>0<>E<EFBFBD> <11>$<24><04>f<EFBFBD>f<EFBFBD> -<2D>1<> <0C><1D><1D>d<EFBFBD>F<EFBFBD>F<EFBFBD>3rc<00>Z<00>|jD] }|||<01><00> |j|<01>yr5)rG<00> _delete_name)rr&r<>s rr<>z Transaction._checked_delete_name%s*<00><00><19>,<2C>,<2C>E<EFBFBD> <11>$<24><04> <1D>-<2D> <0C><19><19>$<24>rc<00><00>|Sr5r*rs r<00> __enter__zTransaction.__enter__.s<00><00><13> rc<00>b<00>|js#|<01>|j<00>y|j<00>yrC)rDr<>r<>)r<00>exc_type<70>exc_val<61>exc_tbs r<00>__exit__zTransaction.__exit__1s+<00><00><13>{<7B>{<7B><17><1F><14> <0B> <0B> <0A><15><15> <0A> <0A><0F>rc<00><00>t<00>)zlReturn the rdataset associated with *name*, *rdtype*, and *covers*,
or `None` if not found.
r <00>rr&rIrJs rrRzTransaction._get_rdataset>s
<00><00>"<22>!rc<00><00>t<00>)zStore the rdataset.r )rr&r7s rr<>zTransaction._put_rdatasetDrrc<00><00>t<00>)zhDelete all data associated with *name*.
It is not an error if the name does not exist.
r rVs rr<>zTransaction._delete_nameH<00>
<00><00>
"<22>!rc<00><00>t<00>)z<>Delete all data associated with *name*, *rdtype*, and *covers*.
It is not an error if the rdataset does not exist.
r r<>s rr<>zTransaction._delete_rdatasetOr<>rc<00><00>t<00>)z2Does name exist?
Returns a bool.
r rVs rrizTransaction._name_existsVr<>rc<00><00>t<00>)z&Has this transaction changed anything?r rs rr<>zTransaction._changed]rrc<00><00>t<00>)z<>End the transaction.
*commit*, a bool. If ``True``, commit the transaction, otherwise
roll it back.
If committing and the commit fails, then roll back and raise an
exception.
r r<>s rr<>zTransaction._end_transactionas
<00><00>"<22>!rc<00><00>t<00>)z<>Set the origin.
This method is called when reading a possibly relativized
source, and an origin setting operation occurs (e.g. $ORIGIN
in a zone file).
r )rr<>s r<00> _set_originzTransaction._set_originls
<00><00>"<22>!rc<00><00>t<00>)z7Return an iterator that yields (name, rdataset) tuples.r rs rr}zTransaction._iterate_rdatasetsurrc<00><00>t<00>)z&Return an iterator that yields a name.r rs rr<>zTransaction._iterate_namesyrrc<00><00>t<00>)zPReturn the node at *name*, if any.
Returns a node or ``None``.
r rVs rrUzTransaction._get_node}r<>rc<00>6<00>|jj<00>Sr5)r@rrs rr<>zTransaction._origin_information<6F>s<00><00><13>|<7C>|<7C>.<2E>.<2E>0<>0r)FF)r
N)Br!r"r#r r$rHr%rOrrr&r'rMrPr7r<>rSr<<00>NoderWrYrr_rarergrj<00>emptyr<79>rzr~r<>r<>r<><00>CheckPutRdatasetTyper<65><00>CheckDeleteRdatasetTyper<65><00>CheckDeleteNameTyper<65>rrr<>r<>r<>r<>r]rdrLr<>r<>r<>r<>r<>r<>rRr<>r<>r<>rir<>r<>r<>r}r<>rUr<>r*rrr r ks<><00><00>"<22><1F> @<01>#<23> @<01><1A> @<01><18> @<01>214<31> <0A> <0A>0B<30>0B<30> 4<><11>h<EFBFBD>h<EFBFBD>m<EFBFBD>m<EFBFBD>c<EFBFBD>!<21>D<EFBFBD>(<28>4<><14> <0A> <0A>'<27>'<27>#<23>-<2D>4<><14> <0A> <0A>'<27>'<27>#<23>-<2D> 4<>
<0A><1C><1C> <1E> <1E> 4<>&<<3C>S<EFBFBD>X<EFBFBD>X<EFBFBD>]<5D>]<5D><<3C>s<EFBFBD>x<EFBFBD>x<EFBFBD>}<7D>}<7D>t<EFBFBD>/C<><<3C><1B> <1F><13> <1F><14> <1F><1E>S<EFBFBD><1E>T<EFBFBD><1E>*"<22>C<EFBFBD>"<22>D<EFBFBD>"<22>,!<21>#<23>!<21>$<24>!<21>.'<27><03><08><08> <0A> <0A><03> 3<>'<27><04>'<27><17><1D>!<21>h<EFBFBD>h<EFBFBD>n<EFBFBD>n<EFBFBD> ")<29><12>")<29><17>")<29><12>h<EFBFBD>h<EFBFBD>m<EFBFBD>m<EFBFBD> ")<29>
<0E> ")<29>H)<29> <1F><14> <1F> <18>
<19>
/<2F>(<<3C>
/<2F><14>
/<2F> 2<>+B<> 2<>t<EFBFBD> 2<>
.<2E>':<3A>
.<2E>t<EFBFBD>
.<2E>
)<29> <11>%<25><03><08><08> <0A> <0A>s<EFBFBD>|<7C>|<7C>'<<3C>'<<3C><<3C>=<3D> ><3E>
)<29>%<25>x<EFBFBD><03><08><08> <0A> <0A>6<>%<25>=<3D>F<01><+B<01>Z>B<01>@<1F><1F>+<2B>
4<>
 <20><14><15>"<22> "<22>"<22>"<22>"<22>"<22> "<22>"<22>"<22>"<22>"<22>1r)$r<><00>typingrrrrr<00> dns.exceptionr%<00>dns.name<6D>dns.node<64> dns.rdata<74>dns.rdataclass<73> dns.rdataset<65> dns.rdatatype<70> dns.rrset<65>
dns.serial<61>dns.ttlr <00> exception<6F> DNSExceptionr,r0r3r9r>r&r'r7r<>r<>rOrPr<>r<>r r*rr<00><module>r<>s<00><01><13>7<>7<><14><0F><0F><10><15><13><14><10><11><0E>4<18>4<18>nI<01>S<EFBFBD>]<5D>]<5D>/<2F>/<2F>I<01>5<>s<EFBFBD>}<7D>}<7D>)<29>)<29>5<>5<>3<EFBFBD>=<3D>=<3D>-<2D>-<2D>5<>4<> (<28>  <20><12>C<EFBFBD>H<EFBFBD>H<EFBFBD>M<EFBFBD>M<EFBFBD>3<EFBFBD><<3C><<3C>#8<>#8<>9<>4<EFBFBD>?<3F><02><14>#<23><12>C<EFBFBD>H<EFBFBD>H<EFBFBD>M<EFBFBD>M<EFBFBD>3<EFBFBD>=<3D>=<3D>#:<3A>#:<3A>C<EFBFBD>M<EFBFBD>M<EFBFBD><S<><S<>T<><08>
<EFBFBD><02><17><1F> <0A>s<EFBFBD>x<EFBFBD>x<EFBFBD>}<7D>}<7D>=<3D>t<EFBFBD>C<>D<><13>`1<>`1r