/usr/lib/rads/venv/lib/python3.13/site-packages/dns/__pycache__
NameSizeModeActions
asyncbackend.cpython-313.pyc34550644editdlrm
asyncquery.cpython-313.pyc376610644editdlrm
asyncresolver.cpython-313.pyc208710644editdlrm
dnssec.cpython-313.pyc514610644editdlrm
dnssectypes.cpython-313.pyc20700644editdlrm
e164.cpython-313.pyc48490644editdlrm
edns.cpython-313.pyc258940644editdlrm
entropy.cpython-313.pyc61100644editdlrm
enum.cpython-313.pyc49300644editdlrm
exception.cpython-313.pyc74740644editdlrm
flags.cpython-313.pyc30980644editdlrm
grange.cpython-313.pyc17750644editdlrm
immutable.cpython-313.pyc38280644editdlrm
inet.cpython-313.pyc65810644editdlrm
ipv4.cpython-313.pyc27190644editdlrm
ipv6.cpython-313.pyc69210644editdlrm
message.cpython-313.pyc859310644editdlrm
name.cpython-313.pyc490600644editdlrm
namedict.cpython-313.pyc43540644editdlrm
nameserver.cpython-313.pyc147060644editdlrm
node.cpython-313.pyc163490644editdlrm
opcode.cpython-313.pyc31400644editdlrm
query.cpython-313.pyc645170644editdlrm
rcode.cpython-313.pyc44530644editdlrm
rdata.cpython-313.pyc386500644editdlrm
rdataclass.cpython-313.pyc35370644editdlrm
rdataset.cpython-313.pyc226570644editdlrm
rdatatype.cpython-313.pyc102390644editdlrm
renderer.cpython-313.pyc159450644editdlrm
resolver.cpython-313.pyc880070644editdlrm
reversename.cpython-313.pyc46930644editdlrm
rrset.cpython-313.pyc123170644editdlrm
serial.cpython-313.pyc54210644editdlrm
set.cpython-313.pyc121210644editdlrm
tokenizer.cpython-313.pyc265250644editdlrm
transaction.cpython-313.pyc288830644editdlrm
tsig.cpython-313.pyc171680644editdlrm
tsigkeyring.cpython-313.pyc28710644editdlrm
ttl.cpython-313.pyc25350644editdlrm
update.cpython-313.pyc161190644editdlrm
version.cpython-313.pyc7620644editdlrm
versioned.cpython-313.pyc148000644editdlrm
win32util.cpython-313.pyc99290644editdlrm
wire.cpython-313.pyc55500644editdlrm
xfr.cpython-313.pyc146710644editdlrm
zone.cpython-313.pyc662180644editdlrm
zonefile.cpython-313.pyc343180644editdlrm
zonetypes.cpython-313.pyc14160644editdlrm
_asyncbackend.cpython-313.pyc49850644editdlrm
_asyncio_backend.cpython-313.pyc145780644editdlrm
_ddr.cpython-313.pyc79590644editdlrm
_features.cpython-313.pyc32360644editdlrm
_immutable_ctx.cpython-313.pyc33350644editdlrm
_trio_backend.cpython-313.pyc137510644editdlrm
__init__.cpython-313.pyc7020644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/dns/__pycache__/transaction.cpython-313.pyc (28883B)
j=XSSKrSSKJrJrJrJrJrJrJr SSK r SSK r SSK r SSK r SSKr SSKr SSKr SSKr SSKr "SS5r"SS\ R(R*5r"SS\ R(R*5r"S S \ R(R*5rS rS r\S \ R6R8\ R:R</S4r\S \ R6R8\ R@RB\ R@RB/S4r"\S \ R6R8/S4r#"SS 5r$g)N)AnyCallableIteratorListOptionalTupleUnionc\rSrSrS SjrS S\SS4SjjrS\\\ RR\\\ RR44Sjr S\ RR4SjrS\\ RR4S jrS rg )TransactionManagerreturn Transactionc[e)zBegin a read-only transaction.NotImplementedErrorselfs B/usr/lib/rads/venv/lib/python3.13/site-packages/dns/transaction.pyreaderTransactionManager.reader!! replacementc[e)zBegin 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 rwriterTransactionManager.writers "!rc[e)aReturns 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). rrs rorigin_information%TransactionManager.origin_information s 2"!rc[e)z%The class of the transaction manager.rrs r get_classTransactionManager.get_class;rrc<UR5upnU(aU$g)z#Origin to use in from_wire() calls.N)r)rabsolute_origin relativize_s rfrom_wire_origin#TransactionManager.from_wire_origin?s!+/+B+B+D(a " "rN)r r)F)__name__ __module__ __qualname____firstlineno__rboolrrrdnsnameNamer rdataclass RdataClassr!r'__static_attributes__r)rrr r s|""$"="" x &hsxx}}.EE F"6"3>>44"(388=="9rr c\rSrSrSrSrg)DeleteNotExactHz>Existing data did not match data specified by an exact delete.r)Nr*r+r,r-__doc__r4r)rrr6r6HsHrr6c\rSrSrSrSrg)ReadOnlyLz*Tried to write to a read-only transaction.r)Nr8r)rrr;r;L4rr;c\rSrSrSrSrg) AlreadyEndedPz*Tried to use an already-ended transaction.r)Nr8r)rrr?r?Pr=rr?cUb)[U[RR5(aU$[RRU5$N) isinstancer/rdatasetImmutableRdataset)rDs r_ensure_immutable_rdatasetrFTs8:h 0N0NOO << ) )( 33rctUbUR5(aU$[RRU5$rB) is_immutabler/node ImmutableNode)rIs r_ensure_immutable_noderKZs/ |t((** 88 ! !$ ''rrc B\rSrSrS;S\S\S\4Sjjr\RR4S\ \ \RR\4S\ \RR\4S\ \RR\4S \R R"4S jjrS\RRS \ \R&R(4S jrSS4r?S5r@S6rAS7rBS8rCS9rDS:rEg )=rjmanagerr read_onlyc`XlX lX0lSUl/Ul/Ul/UlgNF)rNrrO_ended_check_put_rdataset_check_delete_rdataset_check_delete_name)rrNrrOs r__init__Transaction.__init__ks3  &" ?A EG#=?rr0rdtypecoversr cjUR5 [U[5(a [RR US5n[R RRU5n[R RRU5nURXU5n[U5$)zReturn the rdataset associated with *name*, *rdtype*, and *covers*, or `None` if not found. Note that the returned rdataset is immutable. N) _check_endedrCstrr/r0 from_text rdatatype RdataTypemake _get_rdatasetrF)rr0rXrYrDs rgetTransaction.gets  dC 88%%dD1D((--f5((--f5%%dF;)(33rc6[URU55$)zKReturn the node at *name*, if any. Returns an immutable node or ``None``. )rK _get_noderr0s rget_nodeTransaction.get_nodes &dnnT&:;;rNc2UR(a[egrB)rOr;rs r_check_read_onlyTransaction._check_read_onlys >>N rargschUR5 UR5 URSU5 g)zeAdd records. The arguments may be: - rrset - name, rdataset... - name, ttl, rdata... FNr[rj_addrrls raddTransaction.adds*   %rchUR5 UR5 URSU5 g)akReplace 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(). TNrnrps rreplaceTransaction.replaces*"   $rchUR5 UR5 URSU5 g)zDelete 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... FNr[rj_deleterps rdeleteTransaction.deletes*$   UD!rchUR5 UR5 URSU5 g)zDelete 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. TNrwrps r delete_exactTransaction.delete_exacts*&   T4 rcUR5 [U[5(a [RR US5nUR U5$)zDoes the specified name exist?N)r[rCr\r/r0r] _name_existsrfs r name_existsTransaction.name_existssB  dC 88%%dD1D  &&rTvaluerelativecUR5 US:a [S5e[U[5(a [R R US5nURU[RR[RR5nUb[U5S:Xa[eU(a0[RRUSR5U-nO[RRU5nURnUS:XaSnUSR!US9n[R"R%UR&U5nUR!X75 g)aVUpdate 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() valueNr)serial)r[ ValueErrorrCr\r/r0r]rar^SOANONElenKeyErrorrSerialrrtrD from_rdatattl)rrrr0rDrrdata new_rdatasets r update_serialTransaction.update_serials"  19=> > dC 88%%dD1D%%dCMM,=,=s}}?Q?QR  s8}1N ZZ&&x{'9'9:UBFZZ&&u-F Q;F ##6#2||..x||UC  T(rcBUR5 UR5$rBr[_iterate_rdatasetsrs r__iter__Transaction.__iter__s &&((rcBUR5 UR5$)zHas 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. )r[_changedrs rchangedTransaction.changeds }}rc&URS5 g)ayCommit 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_endrs rcommitTransaction.commit)s $rc&URS5 g)aFRollback 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. FNrrs rrollbackTransaction.rollback6s %rcheckc:URRU5 g)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)rSappendrrs rcheck_put_rdatasetTransaction.check_put_rdatasetBs   ''.rc:URRU5 g)aCall *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)rTrrs rcheck_delete_rdataset!Transaction.check_delete_rdatasetNs ##**51rc:URRU5 g)amCall *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)rUrrs rcheck_delete_nameTransaction.check_delete_name[s &&u-rcBUR5 UR5$)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.rrs riterate_rdatasetsTransaction.iterate_rdatasetsgs &&((rcBUR5 UR5$)zIterate 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.)r[_iterate_namesrs r iterate_namesTransaction.iterate_namesss ""$$rc>[U5S:wa[SU35eg)Nrzextra parameters to )r TypeError)rmethodrls r_raise_if_not_emptyTransaction._raise_if_not_emptys% t9>26(;< < rcUR5n[U[RR5(aUR 5nU$[U[R R5(aUnU$U(aSnOb[U[5(a/UnU[RR:a[US35eO[US35eUR5n[U[RR5(a![R RXd5nU$[US35e![ a U(ag[US35ef=f)Nrz: TTL value too bigz: expected a TTLz: expected an Rdataz: expected more arguments)popleftrCr/rrsetRRset to_rdatasetrDRdatasetintrMAX_TTLrrrRdatar IndexError)rrdeletingrlargrDrs r_rdataset_from_argsTransaction._rdataset_from_argss5 F,,.C#syy//??,$O#C!6!677 OC!#s++!0",x7J-K"LL1(6(2B(CDD,,.Cc399??33"||66s@HO$vh.A$BCC F 6(*C DEE  Fs%A D> ,D>:B5D>0D>>E E c[R"U5nU(aSnOSnUR5n[U[5(a [ R RUS5n[U[ R R5(aUnURUSU5nOV[U[ RR5(aUnUR nUR5nO[US35eURURR!5:wa[#US35eUR$[ R&R(:Xa&UR+5u pXY:wa[#US35eUR-X25 U(dUR/XVR$UR05n U b[U [ R2R45(aR[ R2R7U RU R$U R05n U R9U 5 U n U R;U5nUR=XV5 g![>a [SW35ef=f)Nz replace()zadd()F/ requires a name or RRset as the first argument has objects of wrong RdataClassz has non-origin SOAnot enough parameters to ) collectionsdequerrCr\r/r0r]r1rrrrrrdclassrNr!rrXr^r_origin_informationrrarYrDrErupdateunion_checked_put_rdatasetr) rrtrlrrr0rDrr&originexistingtrdss rroTransaction._adds) B$$T*D$ ,,.C#s##hh((d3#sxx}}--33FE4HC11zz!,,.hMN4<<#9#9#;; F8+K!LMM#--"3"33!%!9!9!;A>$x/B%CDD  $ $V 2--dOOX__U'!(CLL,J,JKK"||44$,,hoox  H-#''~~h7H  & &t 6 B7x@A A Bs II!!I:c[R"U5nU(aSnOSnUR5n[U[5(a [ R RUS5n[U[ R R5(Ga>Un[U5S:Ga[US[5(d[US[5(a[ RRRUR55n[U5S:a8[ RRRUR55nO[ RRnURX25 UR!XVU5nUcU(a[#US35egUR%XVU5 gUR'USU5n OF[U[ R(R*5(aUn U R nO[-US35eURX25 U (aU R.UR0R35:wa[5US35eUR!XYR6U R85nUbU(a$UR;U 5n X:wa[#US35eUR=U 5n [U 5S:Xa'UR%XYR6U R85 gUR?XY5 gU(a[#US35egU(a$URAU5(d[#US 35eURCU5 g![Da [-S W35ef=f) Nzdelete_exact()zdelete()rz: missing rdatasetTrrz: missing rdatasz: name not knownr)#rrrrCr\r/r0r]r1rrr^r_r`rrrar6_checked_delete_rdatasetrrrrrrNr!rrXrY intersection differencerr_checked_delete_namer) rexactrlrrr0rXrYrrDrs rrxTransaction._deletes= B$$T*D)#,,.C#s##hh((d3#sxx}}--t9q=tAw,, 47C0H0H!]]4499$,,.IF4y1}!$!8!8!=!=dlln!M!$!3!3,,V:#11$GH' "0F8;M1N"OO!55dFK#77dKHC11}}hMN  $ $V 2##t||'='='??$x/O%PQQ--dOOX__U''/'<'c2UR(a[egrB)rRr?rs rr[Transaction._check_endeds ;;  rcnUR5 URU5 SUlg!SUlf=f)NT)r[_end_transactionrRrrs rrTransaction._ends0    ! !& )DK$DKs+ 4c^URH nU"XU5 M URX5 grB)rS _put_rdataset)rr0rDrs rr!Transaction._checked_put_rdatasets*--E $h '. 4*rc`URH nU"XX#5 M URXU5 grB)rT_delete_rdataset)rr0rXrYrs rr$Transaction._checked_delete_rdatasets,00E $f -1 dF3rc\URH nU"X5 M URU5 grB)rU _delete_name)rr0rs rr Transaction._checked_delete_name#s(,,E $ - $rcU$rBr)rs r __enter__Transaction.__enter__,s rcnUR(d$UcUR5 gUR5 grQ)rRrr)rexc_typeexc_valexc_tbs r__exit__Transaction.__exit__/s+{{  rc[e)z\Return the rdataset associated with *name*, *rdtype*, and *covers*, or `None` if not found. rrr0rXrYs rraTransaction._get_rdataset<s "!rc[e)zStore the rdataset.r)rr0rDs rrTransaction._put_rdatasetBrrc[e)zXDelete all data associated with *name*. It is not an error if the name does not exist. rrfs rrTransaction._delete_nameF "!rc[e)ztDelete all data associated with *name*, *rdtype*, and *covers*. It is not an error if the rdataset does not exist. rrs rrTransaction._delete_rdatasetMrrc[e)z"Does name exist? Returns a bool. rrfs rrTransaction._name_existsTrrc[e)z&Has this transaction changed anything?rrs rrTransaction._changed[rrc[e)zEnd 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. rrs rrTransaction._end_transaction_s "!rc[e)zSet 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)rrs r _set_originTransaction._set_originjs "!rc[e)z7Return an iterator that yields (name, rdataset) tuples.rrs rrTransaction._iterate_rdatasetssrrc[e)z&Return an iterator that yields a name.rrs rrTransaction._iterate_nameswrrc[e)z@Return the node at *name*, if any. Returns a node or ``None``. rrfs rreTransaction._get_node{rrc6URR5$rB)rNrrs rrTransaction._origin_informations||..00r)rUrTrSrRrNrOr)FF)r N)Fr*r+r,r-r r.rVr/r^rrr r0r1r\r_rDrrbrINodergrjrrqrtryr|remptyrrrrrrCheckPutRdatasetTyperCheckDeleteRdatasetTyperCheckDeleteNameTyperrrrrrrrorxr[rrrrrrrarrrrrrr rrrerr4r)rrrrjs" @# @ @ @27:mm6H6H 4uSXX]]C/014cmm--s234cmm--s23 4    4& )%x 6%=F<*BX>B@+ 4  " """"" """""1r)%rtypingrrrrrrr dns.exceptionr/dns.namedns.nodedns.rdataclass dns.rdataset dns.rdatatype dns.rrset dns.serialdns.ttlr exception DNSExceptionr6r;r?rFrKr0r1rDrrr^r_rrrr)rrr$sHHH44nIS]]//I5s}}))553==--54 (  CHHMM3<<#8#894?#CHHMM3==#:#:CMM