2bi*"SSKrSSKrSSKr\R(aSSKJr "SS\R 5r\R\\RS/\ 44r "SS\5r \ "5r "SS \5r\"5r"S S \5r"S S \5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r"SS\5rg) N)RetryCallStatec\\rSrSrSr\R SSS\4Sj5rS Sjr S Sjr S r g ) retry_basez)Abstract base class for retry strategies. retry_staterreturncgNselfrs ڌ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/tenacity/retry.py__call__retry_base.__call__s c[X5$r ) retry_allr others r__and__retry_base.__and__ %%rc[X5$r ) retry_anyrs r__or__retry_base.__or__#rrr N)rrrr)rrrr) __name__ __module__ __qualname____firstlineno____doc__abcabstractmethodboolrrr__static_attributes__r rrrrs63 $4   &&rrrc*\rSrSrSrSSS\4SjrSrg) _retry_never*z-Retry strategy that never rejects any result.rrrcg)NFr r s rr_retry_never.__call__-srr Nrrrr r!r$rr%r rrr'r'*s7$4rr'c*\rSrSrSrSSS\4SjrSrg) _retry_always4z.Retry strategy that always rejects any result.rrrcg)NTr r s rr_retry_always.__call__7srr Nr+r rrr-r-4s8$4rr-c\\rSrSrSrS\R \/\4SS4Sjr SSS\4S jr S r g) retry_if_exception>zARetry strategy that retries if an exception verifies a predicate. predicaterNcXlgr r4r r4s r__init__retry_if_exception.__init__A"rrrcURc [S5eURR(a9URR5nUc [S5eUR U5$g)N(__call__() called before outcome was set(outcome failed but the exception is NoneFoutcome RuntimeErrorfailed exceptionr4r rrBs rrretry_if_exception.__call__Dsa    &IJ J    % %#++557I "#MNN>>), ,rr6) rrrr r!typingCallable BaseExceptionr$r8rr%r rrr2r2>s<K#&//=/42G"H#T# $4  rr2c^\rSrSrSr\4S\R\R\ \R\R\ S44SS4U4Sjjjr Sr U=r $) retry_if_exception_typeQz=Retries if an exception has been raised of one or more types.exception_types.rNc<>^TUl[TU] U4Sj5 g)Nc>[UT5$r  isinstanceerKs r2retry_if_exception_type.__init__..\s :a#ArrKsuperr8r rK __class__s `rr8 retry_if_exception_type.__init__Ts / ABrrKrrrr r! ExceptionrEUnionTyperGTupler8r% __classcell__rWs@rrIrIQs_G  C KK & LL]3S8 9 ; C  CCrrIc^\rSrSrSr\4S\R\R\ \R\R\ S44SS4U4Sjjjr Sr U=r $) retry_if_not_exception_type_zARetries except an exception has been raised of one or more types.rK.rNc<>^TUl[TU] U4Sj5 g)Nc&>[UT5(+$r rNrPs rrR6retry_if_not_exception_type.__init__..jz!_'E#ErrTrVs `rr8$retry_if_not_exception_type.__init__b / EFrrYrZr`s@rrbrb_s_K  G KK & LL]3S8 9 ; G  GGrrbc^\rSrSrSr\4S\R\R\ \R\R\ S44SS4U4Sjjjr SS S\ 4S jr S rU=r$) retry_unless_exception_typemz:Retries until an exception is raised of one or more types.rK.rNc<>^TUl[TU] U4Sj5 g)Nc&>[UT5(+$r rNrPs rrR6retry_unless_exception_type.__init__..xrgrrTrVs `rr8$retry_unless_exception_type.__init__prirrrcURc [S5eURR(dgURR5nUc [S5eUR U5$Nr<Tr=r>rCs rr$retry_unless_exception_type.__call__zsc    &IJ J""))''113  IJ J~~i((rrY)rrrr r!r[rEr\r]rGr^r8r$rr%r_r`s@rrkrkmsxD  G KK & LL]3S8 9 ; G  GG )$4 ) ) )rrkc\rSrSrSr\4S\R\R\ \R\R\ S44SS4Sjjr SS S\ 4S jr S rg) retry_if_exception_cause_typezRetries if any of the causes of the raised exception is of one or more types. The check on the type of the cause of the exception is done recursively (until finding an exception in the chain that has no `__cause__`) rK.rNcXlgr exception_cause_types)r rKs rr8&retry_if_exception_cause_type.__init__s &5"rrrcURc [S5eURR(aTURR5nUb7[ UR UR 5(agUR nUbM7g)Nz&__call__ called before outcome was setTF)r?r@rArBrO __cause__ry)r rexcs rr&retry_if_exception_cause_type.__call__sq    &GH H    % %%%//1C/cmmT-G-GHHmm/ rrx)rrrr r!r[rEr\r]rGr^r8r$rr%r rrrurusk  5 KK & LL]3S8 9 ; 5  5 $4  rrucp\rSrSrSrS\R \R/\4SS4Sjr SSS\4S jr S r g) retry_if_resultz+Retries if the result verifies a predicate.r4rNcXlgr r6r7s rr8retry_if_result.__init__r:rrrcURc [S5eURR(d)URURR 55$gNr<Fr?r@rAr4resultr s rrretry_if_result.__call__sJ    &IJ J""))>>+"5"5"<"<">? ?rr6 rrrr r!rErFAnyr$r8rr%r rrrrs@5#&//6::,2D"E#$#$4rrcp\rSrSrSrS\R \R/\4SS4Sjr SSS\4S jr S r g) retry_if_not_resultz*Retries if the result refutes a predicate.r4rNcXlgr r6r7s rr8retry_if_not_result.__init__r:rrrcURc [S5eURR(d.URURR 55(+$grrr s rrretry_if_not_result.__call__sM    &IJ J""))~~k&9&9&@&@&BCC Crr6rr rrrrs@4#&//6::,2D"E#$#$4rrcx^\rSrSrSrS S\R \S\R \SS4U4SjjjrSr U=r $) retry_if_exception_messagez2Retries if an exception message equals or matches.Nmessagematchrcp>^^T(a)U(a"[URRS35eT(aS[S[4U4SjjnUnOVU(a-[ R "U5mS[S[4U4SjjnUnO"[URRS35e[TU]!U5 g)Nz.() takes either 'message' or 'match', not bothrBrc >T[U5:H$r )str)rBrs r message_fnc8retry_if_exception_message.__init__..message_fncs#i.00rcJ>[TR[U555$r )r$rr)rBprogs r match_fnc6retry_if_exception_message.__init__..match_fncsDJJs9~677rz3() missing 1 required argument 'message' or 'match') TypeErrorrWrrGr$recompilerUr8)r rrrr4rrrWs ` @rr8#retry_if_exception_message.__init__s ut~~6677efg g  1} 1 1$I ::e$D 8] 8t 8"It~~6677jkl l #rr NN) rrrr r!rEOptionalrr8r%r_r`s@rrrsF<)-&*$%$s#$  $$rrc^\rSrSrSrS S\R \S\R \SS4U4SjjjrSS S\ 4S jr S r U=r $) retry_if_not_exception_messagez5Retries until an exception message equals or matches.NrrrcT>^[TU]X5 URmU4SjUlg)Nc>T"U0UD6(+$r r )args_kwargs_ if_predicates rrR9retry_if_not_exception_message.__init__..s|U7Vg7V3Vr)rUr8r4)r rrrrWs @rr8'retry_if_not_exception_message.__init__s" (~~ VrrrcURc [S5eURR(dgURR5nUc [S5eUR U5$rrr>rCs rr'retry_if_not_exception_message.__call__sa    &IJ J""))''113  IJ J~~i((rr6r) rrrr r!rErrr8r$rr%r_r`s@rrrsd?)-&*W%Ws#W  WW )$4 ) ) )rrc<\rSrSrSrS\SS4SjrSSS\4S jrS r g) rz1Retries if any of the retries condition is valid.retriesrNcXlgr rr rs rr8retry_any.__init__ rrrcB^[U4SjUR55$)Nc32># UH o"T5v M g7fr r .0rrs r %retry_any.__call__..8><)anyrr s `rrretry_any.__call__84<<888rr rrrr r!rr8r$rr%r rrrrs,;9$499rrc<\rSrSrSrS\SS4SjrSSS\4S jrS r g) ri z/Retries if all the retries condition are valid.rrNcXlgr rrs rr8retry_all.__init__ rrrrcB^[U4SjUR55$)Nc32># UH o"T5v M g7fr r rs rr%retry_all.__call__..rr)allrr s `rrretry_all.__call__rrrrr rrrr s,99$499rr)r"rrE TYPE_CHECKINGpip._vendor.tenacityrABCrr\rFr$ RetryBaseTr' retry_neverr- retry_alwaysr2rIrbrkrurrrrrrr rrrs "  3 & &\\*foo7G6H$6N&OO P :n J & C0 C G"4 G)"4)6J< j  *  $!3$>)%?)49 99 9r