+
     _i  c                   s   ^ RI Ht ]! ]! 4       P                  R4      RR4      '       g$   ]! 4       P                  R4      '       g   R]9   d   ^RIHt M^ RIt ^ RI	t
R tR	 tR
 tR t ! R R]4      t ! R R]4      t]P(                  ! ]4       ^RIHt ^RIHt ]P.                  t]P0                  t]P2                  t]P4                  t]P6                  t]P8                  t]P:                  t]P<                  t]P>                  t]P@                  t ]PB                  t!R t"R t#R t$R t%R t&]PN                  t']PP                  t(]PR                  t)]PT                  t*]PV                  t+]PX                  t,]PZ                  t-R t.R t/R t0R t1R t2R t3R t4]Pj                  t5]Pl                  t6]Pn                  t7R t8R t9 ! R  R!]4      t:]Pv                  ! ]:4        ! R" R#]:4      t<]Pz                  ! ]<4        ! R$ R%]4      t>]P~                  ! ]>4        ! R& R']:4      t@]P                  ! ]@4        ! R( R)]4      tB]P                  ! ]B4        ! R* R+]:4      tD]P                  ! ]D4        ! R, R-]4      tF]P                  ! ]F4        ! R. R/]4      tH]P                  ! ]H4       ]P                  tJ]P                  tK]P                  tLR0 tMR1 tN ! R2 R3]4      tO]P                  ! ]O4        ! R4 R5]4      tQ]P                  ! ]Q4        ! R6 R7]4      tS]P                  ! ]S4       R#   ] d	    ^ RI
t
 ELi ; i)8i    )version_infoZ__spec__ZparentNZ__package__.)_transactionc                 s     R V P                   P                  4       ,           pRV P                  P
                  : RV P                  P                  : RV: R2#   \        P                   d    Rp LPi ; i)z	proxy of  Z<r   z; z >)this__repr____builtin__Z	ExceptionZ	__class__
__module____name__)selfZstrthiss   & :/usr/lib64/python3.14/site-packages/libdnf5/transaction.py
_swig_reprr      s_    		 2 2 44 "^^668O8OQXZZ    s   !A A43A4c                    a  V 3R  lpV# )c                 s  < VR 8X  d   S! WV4       R# VR8X  d   V P                   P                  V4       R# \        W4      '       d5   \        \	        \        V 4      V4      \        4      '       d   S! WV4       R# \        RV ,          4      h)r   thisownz(You cannot add instance attributes to %sN)r   ownhasattr
isinstancegetattrtypepropertyAttributeError)r	   namevalueset   &&&r
   set_instance_attrZE_swig_setattr_nondynamic_instance_variable.<locals>.set_instance_attr   si    6>E"YIIMM% T  ZT
D0I8%T%TE" !Kd!RSS     )r   r      f r
   *_swig_setattr_nondynamic_instance_variabler      s    T r   c                 r   )c                 s   < \        W4      '       d+   \        \        W4      \        4      '       g   S! WV4       R# \	        R V ,          4      h)z%You cannot add class attributes to %sN)r   r   r   r   r   )clsr   r   r   r   r
   set_class_attrZ?_swig_setattr_nondynamic_class_variable.<locals>.set_class_attr)   s:    3j1CX&N&N5! !H3!NOOr   r   )r   r   r   r
   '_swig_setattr_nondynamic_class_variabler    (   s    P
 r   c                s   a  V 3R lpV# )zlClass decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclassc                 sp   < S! V P                   V P                  V P                  P                  4       4      # N)r   Z	__bases__Z__dict__copy)r   	metaclasss   &r
   wrapperZ$_swig_add_metaclass.<locals>.wrapper3   s'    s}}cll6G6G6IJJr   r   )r#   r$   r   r
   _swig_add_metaclassr%   1   s    KNr   c                   s>    ] tR t^8tRt]! ]P                  4      tRtR# )_SwigNonDynamicMetazKMeta class to enforce nondynamic attributes (no new attributes) for a classr   N)	r   r   __qualname____firstlineno____doc__r    r   Z__setattr____static_attributes__r   r   r
   r&   r&   8   s    U9$:J:JKKr   r&   c                   s   a  ] tR t^=t o ]! R R RR7      tR t]t]	P                  tR tRR ltRR ltR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tRtV tR# )SwigPyIteratorc                6    V P                   P                  4       # r!   r   r   x   &r
   <lambda>SwigPyIterator.<lambda>>       r   c                8    V P                   P                  V4      # r!   r-   r/   v   &&r
   r1   r2   >       AFFJJqMr   The membership flagZdocc                s    \        R 4      h)z*No constructor defined - class is abstract)r   )r	   argsZkwargss   &*,r
   __init__ZSwigPyIterator.__init__@   s    IJJr   c                .    \         P                  ! V 4      # r!   )r   ZSwigPyIterator_valuer	   r0   r
   r   ZSwigPyIterator.valueE   s    0066r   c                .    \         P                  ! W4      # r!   )r   ZSwigPyIterator_incrr	   nr7   r
   incrZSwigPyIterator.incrH       //88r   c                r?   r!   )r   ZSwigPyIterator_decrr@   r7   r
   decrZSwigPyIterator.decrK   rC   r   c                r?   r!   )r   ZSwigPyIterator_distancer	   r/   r7   r
   distanceZSwigPyIterator.distanceN       33D<<r   c                r?   r!   )r   ZSwigPyIterator_equalrE   r7   r
   equalZSwigPyIterator.equalQ   s    0099r   c                r=   r!   )r   ZSwigPyIterator_copyr>   r0   r
   r"   ZSwigPyIterator.copyT       //55r   c                r=   r!   )r   ZSwigPyIterator_nextr>   r0   r
   nextZSwigPyIterator.nextW   rI   r   c                r=   r!   )r   ZSwigPyIterator___next__r>   r0   r
   __next__ZSwigPyIterator.__next__Z       33D99r   c                r=   r!   )r   ZSwigPyIterator_previousr>   r0   r
   previousZSwigPyIterator.previous]   rL   r   c                r?   r!   )r   ZSwigPyIterator_advancer@   r7   r
   advanceZSwigPyIterator.advance`       224;;r   c                r?   r!   )r   ZSwigPyIterator___eq__rE   r7   r
   __eq__ZSwigPyIterator.__eq__c       11$::r   c                r?   r!   )r   ZSwigPyIterator___ne__rE   r7   r
   __ne__ZSwigPyIterator.__ne__f   rQ   r   c                r?   r!   )r   ZSwigPyIterator___iadd__r@   r7   r
   __iadd__ZSwigPyIterator.__iadd__i   rG   r   c                r?   r!   )r   ZSwigPyIterator___isub__r@   r7   r
   __isub__ZSwigPyIterator.__isub__l   rG   r   c                r?   r!   )r   ZSwigPyIterator___add__r@   r7   r
   __add__ZSwigPyIterator.__add__o   rO   r   c                2    \         P                  ! V .VO5!  # r!   )r   ZSwigPyIterator___sub__r	   r;      &*r
   __sub__ZSwigPyIterator.__sub__r   s    224?$??r   c                s    V # r!   r   r>   r0   r
   __iter__ZSwigPyIterator.__iter__t   s    r   r   N)i   )r   r   r'   r(   r   r   r<   r   r   r   Zdelete_SwigPyIterator__swig_destroy__r   rB   rD   rF   rH   r"   rJ   rK   rM   rN   rP   rR   rS   rT   rU   rY   rZ   r*   __classdictcell__Z__classdict__   @r
   r+   r+   =   s     -/IOdeGKH#99799=:66::<;;==<@ r   r+   )common)	exceptionc                 r=   r!   )r   !transaction_item_action_to_stringZactionr0   r
   ra   ra          99&AAr   c                 r=   r!   )r   #transaction_item_action_from_stringrb   r0   r
   rd   rd          ;;FCCr   c                 r=   r!   )r   !transaction_item_action_to_letterrb   r0   r
   rf   rf      rc   r   c                 r=   r!   )r   "transaction_item_action_is_inboundrb   r0   r
   rg   rg      s    ::6BBr   c                 r=   r!   )r   #transaction_item_action_is_outboundrb   r0   r
   rh   rh      re   r   c                 r=   r!   )r   !transaction_item_reason_to_stringZreasonr0   r
   ri   ri      rc   r   c                 r=   r!   )r   #transaction_item_reason_from_stringrj   r0   r
   rk   rk      re   r   c                r?   )z
Compare transaction items and return:
-1 if lhs < rhs
1 if lhs > rhs
0 if lhs == rhs
Higher number means a better (or a stronger) reason.
)r   transaction_item_reason_compareZlhsZrhsr7   r
   rl   rl      s     77AAr   c                 r?   r!   )r   __lt__rm   r7   r
   rn   rn          s((r   c                 r?   r!   )r   __le__rm   r7   r
   rp   rp      ro   r   c                 r?   r!   )r   __gt__rm   r7   r
   rq   rq      ro   r   c                 r?   r!   )r   __ge__rm   r7   r
   rr   rr      ro   r   c                 r=   r!   )r    transaction_item_state_to_stringZstater0   r
   rs   rs      s    88??r   c                 r=   r!   )r   "transaction_item_state_from_stringrt   r0   r
   ru   ru      s    ::5AAr   c                   st   a  ] tR t^t o ]! R R RR7      t]tR tR t	R t
R t]P                  tR	 tR
tV tR# )TransactionItemc                r,   r!   r-   r.   r0   r
   r1   TransactionItem.<lambda>   r3   r   c                r4   r!   r-   r5   r7   r
   r1   rw      r8   r   r9   r:   c                r=   )zBGet action associated with the transaction item in the transaction)r   ZTransactionItem_get_actionr>   r0   r
   
get_actionZTransactionItem.get_action       66t<<r   c                r=   )zPGet reason of the action associated with the transaction item in the transaction)r   ZTransactionItem_get_reasonr>   r0   r
   
get_reasonZTransactionItem.get_reason   ry   r   c                r=   )z=Get transaction item repoid (text identifier of a repository))r   ZTransactionItem_get_repoidr>   r0   r
   
get_repoidZTransactionItem.get_repoid   ry   r   c                r=   )zGet transaction item state)r   ZTransactionItem_get_stater>   r0   r
   	get_stateZTransactionItem.get_state   s    55d;;r   c                X    \         P                  ! V \         P                  ! V!  4       R # r!   )r   ZTransactionItem_swiginitZnew_TransactionItemrW   rX   r
   r<   ZTransactionItem.__init__   s    --dL4T4TVZ4[\r   r   N)r   r   r'   r(   r   r   r   r   rx   rz   r{   r|   r   Zdelete_TransactionItemr[   r<   r*   r\   r]   r^   r
   rv   rv      sI     -/IOdeGH===< $::] ]r   rv   c                   sl   a  ] tR t^t o Rt]! R R RR7      t]tR t	R t
R t]P                  tR	tV tR
# )
CompsGroupz
CompsGroup contains a copy of important data from comps::CompsGroup that is used
to perform comps transaction and then stored in the transaction (history) database.
c                r,   r!   r-   r.   r0   r
   r1   CompsGroup.<lambda>   r3   r   c                r4   r!   r-   r5   r7   r
   r1   r      r8   r   r9   r:   c                r=   )zAGet string representation of the object, which equals to group_id)r   ZCompsGroup_to_stringr>   r0   r
   	to_stringZCompsGroup.to_string   s    0066r   c                r=   )zGet types of the packages to be installed with the group (related xml elements: `<comps><group><packagelist><packagereq type="VALUE" ...>`))r   ZCompsGroup_get_package_typesr>   r0   r
   get_package_typesZCompsGroup.get_package_types       88>>r   c                r}   r!   )r   ZCompsGroup_swiginitZnew_CompsGrouprW   rX   r
   r<   ZCompsGroup.__init__   s    ((|/J/JD/QRr   r   N)r   r   r'   r(   r)   r   r   r   r   r   r   r<   r   Zdelete_CompsGroupr[   r*   r\   r]   r^   r
   r~   r~      s>     
 -/IOdeGH7?S#55r   r~   c                   s`   a  ] tR t^t o Rt]! R R RR7      t]t]	P                  tR tRtV tR# )	CompsGroupPackagezDCompsGroupPackage represents a package associated with a comps groupc                r,   r!   r-   r.   r0   r
   r1   CompsGroupPackage.<lambda>   r3   r   c                r4   r!   r-   r5   r7   r
   r1   r      r8   r   r9   r:   c                r}   r!   )r   ZCompsGroupPackage_swiginitZnew_CompsGroupPackagerW   rX   r
   r<   ZCompsGroupPackage.__init__       //l6X6XZ^6_`r   r   N)r   r   r'   r(   r)   r   r   r   r   r   Zdelete_CompsGroupPackager[   r<   r*   r\   r]   r^   r
   r   r      s6     O-/IOdeGH#<<a ar   r   c                   sf   a  ] tR t^t o Rt]! R R RR7      t]tR t	R t
]P                  tRtV tR	# )
CompsEnvironmentz
CompsEnvironment contains a copy of important data from comps::CompsEnvironment that is used
to perform comps transaction and then stored in the transaction (history) database.
c                r,   r!   r-   r.   r0   r
   r1   CompsEnvironment.<lambda>  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r     r8   r   r9   r:   c                r=   )zGGet string representation of the object, which equals to environment_id)r   ZCompsEnvironment_to_stringr>   r0   r
   r   ZCompsEnvironment.to_string  ry   r   c                r}   r!   )r   ZCompsEnvironment_swiginitZnew_CompsEnvironmentrW   rX   r
   r<   ZCompsEnvironment.__init__  s    ..t\5V5VX\5]^r   r   N)r   r   r'   r(   r)   r   r   r   r   r   r<   r   Zdelete_CompsEnvironmentr[   r*   r\   r]   r^   r
   r   r      s9     
 -/IOdeGH=_#;;r   r   c                   s\   a  ] tR tRt o ]! R R RR7      t]t]P                  t
R tRtV tR# )	CompsEnvironmentGroupi  c                r,   r!   r-   r.   r0   r
   r1   CompsEnvironmentGroup.<lambda>  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r     r8   r   r9   r:   c                r}   r!   )r   ZCompsEnvironmentGroup_swiginitZnew_CompsEnvironmentGrouprW   rX   r
   r<   ZCompsEnvironmentGroup.__init__  s    33D,:`:`bf:ghr   r   N)r   r   r'   r(   r   r   r   r   r   Zdelete_CompsEnvironmentGroupr[   r<   r*   r\   r]   r^   r
   r   r     s3     -/IOdeGH#@@i ir   r   c                   s   a  ] tR tRt o Rt]! R R RR7      t]tR t	R t
R	 tR
 tR tR t]P                   tR tRtV tR# )Packagei  z
Package contains a copy of important data from rpm::Package that is used
to perform rpm transaction and then stored in the transaction (history) database.
c                r,   r!   r-   r.   r0   r
   r1   Package.<lambda>!  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r   !  r8   r   r9   r:   c                r=   )zGet package name)r   ZPackage_get_namer>   r0   r
   get_nameZPackage.get_name$      ,,T22r   c                r=   )zGet package epoch)r   ZPackage_get_epochr>   r0   r
   	get_epochZPackage.get_epoch(      --d33r   c                r=   )zGet package release)r   ZPackage_get_releaser>   r0   r
   get_releaseZPackage.get_release,      //55r   c                r=   )zGet package arch)r   ZPackage_get_archr>   r0   r
   get_archZPackage.get_arch0  r   r   c                r=   )zGet package version)r   ZPackage_get_versionr>   r0   r
   get_versionZPackage.get_version4  r   r   c                r=   )zFGet string representation of the object, which equals to package NEVRA)r   ZPackage_to_stringr>   r0   r
   r   ZPackage.to_string8  r   r   c                r}   r!   )r   ZPackage_swiginitZnew_PackagerW   rX   r
   r<   ZPackage.__init__=  s    %%dL,D,Dd,KLr   r   N)r   r   r'   r(   r)   r   r   r   r   r   r   r   r   r   r   r   Zdelete_Packager[   r<   r*   r\   r]   r^   r
   r   r     sZ     
 -/IOdeGH346364 $22M Mr   r   c                   s   a  ] tR tRt o Rt]! R R RR7      t]tR t	]
P                  tR tR	 tR
 tR tR tR tR tR tRtV tR# )TransactionHistoryiB  zSA class for working with transactions recorded in the transaction history database.c                r,   r!   r-   r.   r0   r
   r1   TransactionHistory.<lambda>E  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r   E  r8   r   r9   r:   c                r}   r!   )r   ZTransactionHistory_swiginitZnew_TransactionHistoryrW   rX   r
   r<   ZTransactionHistory.__init__H  s    00|7Z7Z\`7abr   c                r=   r!   )r   ZTransactionHistory_get_weak_ptrr>   r0   r
   get_weak_ptrZTransactionHistory.get_weak_ptrL      ;;DAAr   c                r=   z
Lists all transaction IDs from the transaction history database. The
result is sorted in ascending order.

:rtype: std::vector< int64_t,std::allocator< int64_t > >
:return: The list of transaction IDs.
)r   Z'TransactionHistory_list_transaction_idsr>   r0   r
   list_transaction_idsZ'TransactionHistory.list_transaction_idsO  s     CCDIIr   c                rV   a  
*Overload 1:*
Lists transactions from the transaction history for transaction ids in `ids`.

:type ids: std::vector< int64_t,std::allocator< int64_t > >
:param ids: The ids to list.
:rtype: std::vector< libdnf5::transaction::Transaction,std::allocator< libdnf5::transaction::Transaction > >
:return: The listed transactions.

|

*Overload 2:*
Lists transactions from the transaction history for transaction ids
within the [start, end] range (inclusive).

:type start: int
:param start: The first id of the range to be listed.
:type end: int
:param end: The last id of the range to be listed.
:rtype: std::vector< libdnf5::transaction::Transaction,std::allocator< libdnf5::transaction::Transaction > >
:return: The listed transactions.
)r   Z$TransactionHistory_list_transactionsrW   rX   r
   list_transactionsZ$TransactionHistory.list_transactionsY  s    . @@MMMr   c                r=   z
Lists all transactions from the transaction history.

:rtype: std::vector< libdnf5::transaction::Transaction,std::allocator< libdnf5::transaction::Transaction > >
:return: The listed transactions.
)r   Z(TransactionHistory_list_all_transactionsr>   r0   r
   list_all_transactionsZ(TransactionHistory.list_all_transactionsr  s     DDTJJr   c                r=   zb
:rtype: libdnf5::BaseWeakPtr
:return: The `Base` object to which this object belongs.
Since: 5.0
)r   ZTransactionHistory_get_baser>   r0   r
   get_baseZTransactionHistory.get_base{  s     77==r   c                0    \         P                  ! WW#4      # a  
Get reason for package specified by name and arch at a point in history
specified by transaction id.

:type name: string
:param name: Name of rpm package
:type arch: string
:param arch: Arch of rpm package
:type transaction_id_point: int
:param transaction_id_point: Id of a history transaction (can be obtained from
                                libdnf5::transaction::TransactionHistory)
:rtype: int
:return: Reason of the last transaction item before transaction_id_point that
            has an rpm with matching name and arch.
)r   Z-TransactionHistory_transaction_item_reason_atr	   r   ZarchZtransaction_id_point   &&&&r
   transaction_item_reason_atZ-TransactionHistory.transaction_item_reason_at  s      II$VZqqr   c                r?   ap  
Get counts of transaction items for specified transactions.
It gets the counts in a single db query.

:type transactions: std::vector< libdnf5::transaction::Transaction,std::allocator< libdnf5::transaction::Transaction > >
:param transactions: Get counts for these transactions.

:rtype: std::unordered_map< int64_t,int64_t >
:return: Mapped transaction id -> count.
)r   Z.TransactionHistory_get_transaction_item_countsr	   transactionsr7   r
   get_transaction_item_countsZ.TransactionHistory.get_transaction_item_counts  s     JJ4^^r   c                0    \         P                  ! WV4      # a  
Filter out transactions that don't contain any rpm with matching name

:type transactions: std::vector< libdnf5::transaction::Transaction,std::allocator< libdnf5::transaction::Transaction > >
:param transactions:     Vector of Transactions to filter
:type pkg_names: std::vector< std::string,std::allocator< std::string > >
:param pkg_names:        Vector of rpm package names to match
)r   Z3TransactionHistory_filter_transactions_by_pkg_namesr	   r   Z	pkg_names   &&&r
    filter_transactions_by_pkg_namesZ3TransactionHistory.filter_transactions_by_pkg_names  s     OOPTdmnnr   r   N)r   r   r'   r(   r)   r   r   r   r   r<   r   Zdelete_TransactionHistoryr[   r   r   r   r   r   r   r   r   r*   r\   r]   r^   r
   r   r   B  se     ^-/IOdeGHc#==BJN2K>r$_	o 	or   r   c                   s   a  ] tR tRt o Rt]! R R RR7      t]tR t	]
P                  tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t Rt!V t"R# )TransactionHistoryWeakPtri  a  
WeakPtr is a "smart" pointer. It contains a pointer to resource and to guard of resource.
WeakPtr pointer can be owner of the resource. However, the resource itself may depend on another resource.
WeakPtr registers/unregisters itself at the guard of resource. And the resource guard invalidates
the registered WeakPtrs when the resource is unusable (eg. its dependecny was released).
Note on thread safety:
It is safe to create, access and destroy WeakPtrs in multiple threads simultaneously.
c                r,   r!   r-   r.   r0   r
   r1   "TransactionHistoryWeakPtr.<lambda>  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r     r8   r   r9   r:   c                r}   r!   )r   Z"TransactionHistoryWeakPtr_swiginitZnew_TransactionHistoryWeakPtrrW   rX   r
   r<   Z"TransactionHistoryWeakPtr.__init__  s    77l>h>hjn>opr   c                r=   )zRProvides access to the managed object. Generates exception if object is not valid.)r   Z#TransactionHistoryWeakPtr___deref__r>   r0   r
   	__deref__Z#TransactionHistoryWeakPtr.__deref__  s    ??EEr   c                r=   )zTReturns a pointer to the managed object. Generates exception if object is not valid.)r   ZTransactionHistoryWeakPtr_getr>   r0   r
   getZTransactionHistoryWeakPtr.get  s    99$??r   c                r=   )z"Checks if managed object is valid.)r   Z"TransactionHistoryWeakPtr_is_validr>   r0   r
   is_validZ"TransactionHistoryWeakPtr.is_valid      >>tDDr   c                r?   )z?Checks if the other WeakPtr instance has the same WeakPtrGuard.)r   Z(TransactionHistoryWeakPtr_has_same_guardr	   Zotherr7   r
   has_same_guardZ(TransactionHistoryWeakPtr.has_same_guard  s    DDTQQr   c                r=   r!   )r   Z!TransactionHistoryWeakPtr___ref__r>   r0   r
   __ref__Z!TransactionHistoryWeakPtr.__ref__      ==dCCr   c                r?   r!   )r   Z TransactionHistoryWeakPtr___eq__r   r7   r
   rP   Z TransactionHistoryWeakPtr.__eq__      <<TIIr   c                r?   r!   )r   Z TransactionHistoryWeakPtr___ne__r   r7   r
   rR   Z TransactionHistoryWeakPtr.__ne__  r   r   c                r?   r!   )r   Z TransactionHistoryWeakPtr___lt__r   r7   r
   rn   Z TransactionHistoryWeakPtr.__lt__  r   r   c                r?   r!   )r   Z TransactionHistoryWeakPtr___gt__r   r7   r
   rq   Z TransactionHistoryWeakPtr.__gt__  r   r   c                r?   r!   )r   Z TransactionHistoryWeakPtr___le__r   r7   r
   rp   Z TransactionHistoryWeakPtr.__le__  r   r   c                r?   r!   )r   Z TransactionHistoryWeakPtr___ge__r   r7   r
   rr   Z TransactionHistoryWeakPtr.__ge__  r   r   c                r=   r!   )r   Z"TransactionHistoryWeakPtr___hash__r>   r0   r
   __hash__Z"TransactionHistoryWeakPtr.__hash__  s    >>tDDr   c                r=   r!   )r   Z&TransactionHistoryWeakPtr_get_weak_ptrr>   r0   r
   r   Z&TransactionHistoryWeakPtr.get_weak_ptr      BB4HHr   c                r=   r   )r   Z.TransactionHistoryWeakPtr_list_transaction_idsr>   r0   r
   r   Z.TransactionHistoryWeakPtr.list_transaction_ids  s     JJ4PPr   c                rV   r   )r   Z+TransactionHistoryWeakPtr_list_transactionsrW   rX   r
   r   Z+TransactionHistoryWeakPtr.list_transactions  s    . GGTtTTr   c                r=   r   )r   Z/TransactionHistoryWeakPtr_list_all_transactionsr>   r0   r
   r   Z/TransactionHistoryWeakPtr.list_all_transactions  s     KKDQQr   c                r=   r   )r   Z"TransactionHistoryWeakPtr_get_baser>   r0   r
   r   Z"TransactionHistoryWeakPtr.get_base  s     >>tDDr   c                r   r   )r   Z4TransactionHistoryWeakPtr_transaction_item_reason_atr   r   r
   r   Z4TransactionHistoryWeakPtr.transaction_item_reason_at  s      PPQU]axxr   c                r?   r   )r   Z5TransactionHistoryWeakPtr_get_transaction_item_countsr   r7   r
   r   Z5TransactionHistoryWeakPtr.get_transaction_item_counts1  s     QQRVeer   c                r   r   )r   Z:TransactionHistoryWeakPtr_filter_transactions_by_pkg_namesr   r   r
   r   Z:TransactionHistoryWeakPtr.filter_transactions_by_pkg_names>  s     VVW[ktuur   r   N)#r   r   r'   r(   r)   r   r   r   r   r<   r   Z delete_TransactionHistoryWeakPtrr[   r   r   r   r   r   rP   rR   rn   rq   rp   rr   r   r   r   r   r   r   r   r   r   r*   r\   r]   r^   r
   r   r     s      -/IOdeGHq#DDF@ERDJJJJJJEIQU2REy$f	v 	vr   r   c                 r=   r!   )r   transaction_state_to_stringrt   r0   r
   r   r   O  s    33E::r   c                 r=   r!   )r   transaction_state_from_stringrt   r0   r
   r   r   R  s    55e<<r   c                   s   a  ] tR tRt o Rt]! R R RR7      t]t]	P                  tR tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tRtV t R# )TransactioniT  a9  
Transaction holds information about a transaction.
It contains transaction items such as packages, comps groups and environments.
Transaction object are used to retrieve information about past transactions
from the transaction history database as well as for performing a transaction
to change packages on disk.
c                r,   r!   r-   r.   r0   r
   r1   Transaction.<lambda>]  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r   ]  r8   r   r9   r:   c                r}   r!   )r   ZTransaction_swiginitZnew_TransactionrW   rX   r
   r<   ZTransaction.__init__a  s    ))$0L0Ld0STr   c                r?   r!   )r   ZTransaction___eq__r   r7   r
   rP   ZTransaction.__eq__d      ..t;;r   c                r?   r!   )r   ZTransaction___lt__r   r7   r
   rn   ZTransaction.__lt__g  r   r   c                r?   r!   )r   ZTransaction___gt__r   r7   r
   rq   ZTransaction.__gt__j  r   r   c                r=   )zM
Get Transaction database id (primary key)
Return 0 if the id wasn't set yet
)r   ZTransaction_get_idr>   r0   r
   get_idZTransaction.get_idm  s    
 ..t44r   c                r=   )z*Get date and time of the transaction start)r   ZTransaction_get_dt_startr>   r0   r
   get_dt_startZTransaction.get_dt_startt      44T::r   c                r=   )z(Get date and time of the transaction end)r   ZTransaction_get_dt_endr>   r0   r
   
get_dt_endZTransaction.get_dt_endx  s    22488r   c                r=   )z~
Get RPM database version before the transaction
Format: `<rpm_count>`:`<sha1 of sorted SHA1HEADER fields of installed RPMs>`
)r   Z#Transaction_get_rpmdb_version_beginr>   r0   r
   get_rpmdb_version_beginZ#Transaction.get_rpmdb_version_begin|  s    
 ??EEr   c                r=   )z}
Get RPM database version after the transaction
Format: `<rpm_count>`:`<sha1 of sorted SHA1HEADER fields of installed RPMs>`
)r   Z!Transaction_get_rpmdb_version_endr>   r0   r
   get_rpmdb_version_endZ!Transaction.get_rpmdb_version_end  s    
 ==dCCr   c                r=   )zCGet $releasever variable value that was used during the transaction)r   ZTransaction_get_releaseverr>   r0   r
   get_releaseverZTransaction.get_releasever  ry   r   c                r=   )z.Get UID of a user that started the transaction)r   ZTransaction_get_user_idr>   r0   r
   get_user_idZTransaction.get_user_id      33D99r   c                r=   )zOGet the description of the transaction (e.g. the CLI command that was executed))r   ZTransaction_get_descriptionr>   r0   r
   get_descriptionZTransaction.get_description  s    77==r   c                r=   )z7Get a user-specified comment describing the transaction)r   ZTransaction_get_commentr>   r0   r
   get_commentZTransaction.get_comment  r   r   c                r=   )zGet transaction state)r   ZTransaction_get_stater>   r0   r
   r|   ZTransaction.get_state  s    11$77r   c                r=   )z=Return all comps environments associated with the transaction)r   Z"Transaction_get_comps_environmentsr>   r0   r
   get_comps_environmentsZ"Transaction.get_comps_environments  r   r   c                r=   )z7Return all comps groups associated with the transaction)r   ZTransaction_get_comps_groupsr>   r0   r
   get_comps_groupsZTransaction.get_comps_groups  r   r   c                r=   )z7Return all rpm packages associated with the transaction)r   ZTransaction_get_packagesr>   r0   r
   get_packagesZTransaction.get_packages  r   r   c                r=   )z
Warning: This method is experimental/unstable and should not be relied on. It may be removed without warning
Serialize the transaction into a json data format which can be later loaded
into a `libdnf5::Goal` and replayed.
)r   ZTransaction_serializer>   r0   r
   	serializeZTransaction.serialize  s     11$77r   c                r=   )zY
:rtype: libdnf5::BaseWeakPtr
:return: A `Base` object to which the transaction belongs.
)r   ZTransaction_get_baser>   r0   r
   r   ZTransaction.get_base  s    
 0066r   r   N)!r   r   r'   r(   r)   r   r   r   r   r   Zdelete_Transactionr[   r<   rP   rn   rq   r   r   r   r   r   r   r   r   r   r|   r   r   r   r   r   r*   r\   r]   r^   r
   r   r   T  s      -/IOdeGH#66U<<<5;9FD=:>:8E?;87 7r   r   c                     a  ] tR tRt o ]! R R RR7      t]tR tR t	R t
R	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R  t"R! t#R" t$R# t%R$ t&R% t'](PR                  t*R&t+V t,R'# )(VectorTransactioni  c                r,   r!   r-   r.   r0   r
   r1   VectorTransaction.<lambda>  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r     r8   r   r9   r:   c                r=   r!   )r   ZVectorTransaction_iteratorr>   r0   r
   iteratorZVectorTransaction.iterator      66t<<r   c                "    V P                  4       # r!   r   r>   r0   r
   rZ   ZVectorTransaction.__iter__      }}r   c                r=   r!   )r   ZVectorTransaction___nonzero__r>   r0   r
   __nonzero__ZVectorTransaction.__nonzero__      99$??r   c                r=   r!   )r   ZVectorTransaction___bool__r>   r0   r
   __bool__ZVectorTransaction.__bool__  r   r   c                r=   r!   )r   ZVectorTransaction___len__r>   r0   r
   __len__ZVectorTransaction.__len__  s    55d;;r   c                r   r!   )r   ZVectorTransaction___getslice__r	   ZiZjr   r
   __getslice__ZVectorTransaction.__getslice__      ::4AFFr   c                rV   r!   )r   ZVectorTransaction___setslice__rW   rX   r
   __setslice__ZVectorTransaction.__setslice__      ::4G$GGr   c                r   r!   )r   ZVectorTransaction___delslice__r   r   r
   __delslice__ZVectorTransaction.__delslice__  r   r   c                rV   r!   )r   ZVectorTransaction___delitem__rW   rX   r
   __delitem__ZVectorTransaction.__delitem__      99$FFFr   c                rV   r!   )r   ZVectorTransaction___getitem__rW   rX   r
   __getitem__ZVectorTransaction.__getitem__  r   r   c                rV   r!   )r   ZVectorTransaction___setitem__rW   rX   r
   __setitem__ZVectorTransaction.__setitem__  r   r   c                r=   r!   )r   ZVectorTransaction_popr>   r0   r
   popZVectorTransaction.pop      11$77r   c                r?   r!   )r   ZVectorTransaction_appendrE   r7   r
   appendZVectorTransaction.append  s    44T==r   c                r=   r!   )r   ZVectorTransaction_emptyr>   r0   r
   emptyZVectorTransaction.empty  rL   r   c                r=   r!   )r   ZVectorTransaction_sizer>   r0   r
   sizeZVectorTransaction.size      22488r   c                r?   r!   )r   ZVectorTransaction_swapr	   r6   r7   r
   swapZVectorTransaction.swap  rO   r   c                r=   r!   )r   ZVectorTransaction_beginr>   r0   r
   beginZVectorTransaction.begin  rL   r   c                r=   r!   )r   ZVectorTransaction_endr>   r0   r
   endZVectorTransaction.end  r   r   c                r=   r!   )r   ZVectorTransaction_rbeginr>   r0   r
   rbeginZVectorTransaction.rbegin  s    44T::r   c                r=   r!   )r   ZVectorTransaction_rendr>   r0   r
   rendZVectorTransaction.rend  r   r   c                r=   r!   )r   ZVectorTransaction_clearr>   r0   r
   clearZVectorTransaction.clear  rL   r   c                r=   r!   )r   ZVectorTransaction_get_allocatorr>   r0   r
   get_allocatorZVectorTransaction.get_allocator  r   r   c                r=   r!   )r   ZVectorTransaction_pop_backr>   r0   r
   pop_backZVectorTransaction.pop_back   r   r   c                rV   r!   )r   ZVectorTransaction_eraserW   rX   r
   eraseZVectorTransaction.erase  s    33D@4@@r   c                r}   r!   )r   ZVectorTransaction_swiginitZnew_VectorTransactionrW   rX   r
   r<   ZVectorTransaction.__init__  r   r   c                r?   r!   )r   ZVectorTransaction_push_backrE   r7   r
   	push_backZVectorTransaction.push_back	  s    77@@r   c                r=   r!   )r   ZVectorTransaction_frontr>   r0   r
   frontZVectorTransaction.front  rL   r   c                r=   r!   )r   ZVectorTransaction_backr>   r0   r
   backZVectorTransaction.back  r   r   c                r   r!   )r   ZVectorTransaction_assignr	   rA   r/   r   r
   assignZVectorTransaction.assign  s    44Ta@@r   c                rV   r!   )r   ZVectorTransaction_insertrW   rX   r
   insertZVectorTransaction.insert  s    44TADAAr   c                r?   r!   )r   ZVectorTransaction_reserver@   r7   r
   reserveZVectorTransaction.reserve  s    55d>>r   c                r=   r!   )r   ZVectorTransaction_capacityr>   r0   r
   capacityZVectorTransaction.capacity  r   r   r   N)-r   r   r'   r(   r   r   r   r   r   rZ   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r<   r   r   r   r   r   r   r   r   Zdelete_VectorTransactionr[   r*   r\   r]   r^   r
   r   r     s     -/IOdeGH=@=<GHGGGG8>:9<:8;9:B=AaA:9AB?=#<<r   r   c                   r   )(VectorTransactionPackagei!  c                r,   r!   r-   r.   r0   r
   r1   !VectorTransactionPackage.<lambda>"  r3   r   c                r4   r!   r-   r5   r7   r
   r1   r   "  r8   r   r9   r:   c                r=   r!   )r   Z!VectorTransactionPackage_iteratorr>   r0   r
   r   Z!VectorTransactionPackage.iterator%  r   r   c                r   r!   r   r>   r0   r
   rZ   Z!VectorTransactionPackage.__iter__'  r   r   c                r=   r!   )r   Z$VectorTransactionPackage___nonzero__r>   r0   r
   r   Z$VectorTransactionPackage.__nonzero__*  s    @@FFr   c                r=   r!   )r   Z!VectorTransactionPackage___bool__r>   r0   r
   r   Z!VectorTransactionPackage.__bool__-  r   r   c                r=   r!   )r   Z VectorTransactionPackage___len__r>   r0   r
   r   Z VectorTransactionPackage.__len__0  s    <<TBBr   c                r   r!   )r   Z%VectorTransactionPackage___getslice__r   r   r
   r   Z%VectorTransactionPackage.__getslice__3      AA$1MMr   c                rV   r!   )r   Z%VectorTransactionPackage___setslice__rW   rX   r
   r   Z%VectorTransactionPackage.__setslice__6  s    AA$NNNr   c                r   r!   )r   Z%VectorTransactionPackage___delslice__r   r   r
   r   Z%VectorTransactionPackage.__delslice__9  r   r   c                rV   r!   )r   Z$VectorTransactionPackage___delitem__rW   rX   r
   r   Z$VectorTransactionPackage.__delitem__<      @@MMMr   c                rV   r!   )r   Z$VectorTransactionPackage___getitem__rW   rX   r
   r   Z$VectorTransactionPackage.__getitem__?  r   r   c                rV   r!   )r   Z$VectorTransactionPackage___setitem__rW   rX   r
   r   Z$VectorTransactionPackage.__setitem__B  r   r   c                r=   r!   )r   ZVectorTransactionPackage_popr>   r0   r
   r   ZVectorTransactionPackage.popE      88>>r   c                r?   r!   )r   ZVectorTransactionPackage_appendrE   r7   r
   r   ZVectorTransactionPackage.appendH  s    ;;DDDr   c                r=   r!   )r   ZVectorTransactionPackage_emptyr>   r0   r
   r   ZVectorTransactionPackage.emptyK      ::4@@r   c                r=   r!   )r   ZVectorTransactionPackage_sizer>   r0   r
   r   ZVectorTransactionPackage.sizeN  r   r   c                r?   r!   )r   ZVectorTransactionPackage_swapr   r7   r
   r   ZVectorTransactionPackage.swapQ  s    99$BBr   c                r=   r!   )r   ZVectorTransactionPackage_beginr>   r0   r
   r   ZVectorTransactionPackage.beginT  r  r   c                r=   r!   )r   ZVectorTransactionPackage_endr>   r0   r
   r   ZVectorTransactionPackage.endW  r  r   c                r=   r!   )r   ZVectorTransactionPackage_rbeginr>   r0   r
   r   ZVectorTransactionPackage.rbeginZ  r   r   c                r=   r!   )r   ZVectorTransactionPackage_rendr>   r0   r
   r   ZVectorTransactionPackage.rend]  r   r   c                r=   r!   )r   ZVectorTransactionPackage_clearr>   r0   r
   r   ZVectorTransactionPackage.clear`  r  r   c                r=   r!   )r   Z&VectorTransactionPackage_get_allocatorr>   r0   r
   r   Z&VectorTransactionPackage.get_allocatorc  r   r   c                r=   r!   )r   Z!VectorTransactionPackage_pop_backr>   r0   r
   r   Z!VectorTransactionPackage.pop_backf  r   r   c                rV   r!   )r   ZVectorTransactionPackage_eraserW   rX   r
   r   ZVectorTransactionPackage.erasei  r   r   c                r}   r!   )r   Z!VectorTransactionPackage_swiginitZnew_VectorTransactionPackagerW   rX   r
   r<   Z!VectorTransactionPackage.__init__l  s    66t\=f=fhl=mnr   c                r?   r!   )r   Z"VectorTransactionPackage_push_backrE   r7   r
   r   Z"VectorTransactionPackage.push_backo  s    >>tGGr   c                r=   r!   )r   ZVectorTransactionPackage_frontr>   r0   r
   r   ZVectorTransactionPackage.frontr  r  r   c                r=   r!   )r   ZVectorTransactionPackage_backr>   r0   r
   r   ZVectorTransactionPackage.backu  r   r   c                r   r!   )r   ZVectorTransactionPackage_assignr   r   r
   r   ZVectorTransactionPackage.assignx  s    ;;DQGGr   c                rV   r!   )r   ZVectorTransactionPackage_insertrW   rX   r
   r   ZVectorTransactionPackage.insert{  s    ;;DH4HHr   c                r?   r!   )r   Z VectorTransactionPackage_reserver@   r7   r
   r   Z VectorTransactionPackage.reserve~  s    <<TEEr   c                r=   r!   )r   Z!VectorTransactionPackage_capacityr>   r0   r
   r   Z!VectorTransactionPackage.capacity  r   r   r   N)-r   r   r'   r(   r   r   r   r   r   rZ   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r<   r   r   r   r   r   r   r   r   Zdelete_VectorTransactionPackager[   r*   r\   r]   r^   r
   r   r   !  s     -/IOdeGHDGDCNONNNN?EA@CA?B@AIDHoHA@HIFD#CCr   r   )UZsysr    Z_swig_python_version_infor   Zglobalsr   r   r   r   Zbuiltinsr   ZImportErrorr   r   r    r%   r   r&   Zobjectr+   ZSwigPyIterator_swigregisterr_   r`   ZTransactionItemAction_INSTALLZTransactionItemAction_UPGRADEZTransactionItemAction_DOWNGRADEZTransactionItemAction_REINSTALLZTransactionItemAction_REMOVEZTransactionItemAction_REPLACEDZ#TransactionItemAction_REASON_CHANGEZTransactionItemAction_ENABLEZTransactionItemAction_DISABLEZTransactionItemAction_RESETZTransactionItemAction_SWITCHra   rd   rf   rg   rh   ZTransactionItemReason_NONEZ TransactionItemReason_DEPENDENCYZTransactionItemReason_USERZTransactionItemReason_CLEANZ%TransactionItemReason_WEAK_DEPENDENCYZTransactionItemReason_GROUPZ#TransactionItemReason_EXTERNAL_USERri   rk   rl   rn   rp   rq   rr   ZTransactionItemState_STARTEDZTransactionItemState_OKZTransactionItemState_ERRORrs   ru   rv   ZTransactionItem_swigregisterr~   ZCompsGroup_swigregisterr   ZCompsGroupPackage_swigregisterr   ZCompsEnvironment_swigregisterr   Z"CompsEnvironmentGroup_swigregisterr   ZPackage_swigregisterr   ZTransactionHistory_swigregisterr   Z&TransactionHistoryWeakPtr_swigregisterZTransactionState_STARTEDZTransactionState_OKZTransactionState_ERRORr   r   r   ZTransaction_swigregisterr   ZVectorTransaction_swigregisterr   Z%VectorTransactionPackage_swigregisterr   r   r
   <module>r     sy   :
79==$h55}9U9UY\`hYh"[
L$ L
8V 8v  ( ( 8   , J J  , J J "."N"N "."N"N +HH !-!L!L &2&V&V #+HH  , J J *FF +HH BDBCD)DD #/#P#P  )DD *FF (4(Z(Z %*FF &2&V&V #BDB))))+HH &>> )DD @B]f ]2  ) )/ :6 6,  $ $Z 0a a  + +,= >< <$  * *+; <iF i  / /0E F#Mo #ML  ! !' *io ioX  , ,-? @Xv Xvv  3 34M N'@@ "66 %<< ;=c7& c7L  % %k 2b= b=J  + +,= >bDv bDJ  2 23K Lm  s   L/ /L>=L>