hyb
2026-01-07 c7f60dc7e9a36596f0e0d1787bd0cca4e9b57bcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Ë
 
çúhãóà—ddlZddlZddlmZddlmZmZmZmZm    Z    m
Z
m Z m Z m Z ddlmZmZe d«Ze ded¬«Zerdd    lmZGd
„d eeej,«ZGd „d ee«Zy)éN)Úsleep)    Ú TYPE_CHECKINGÚAnyÚCallableÚGenericÚIterableÚOptionalÚTupleÚTypeÚTypeVar)ÚConnectionErrorÚ TimeoutErrorÚTÚET)ÚboundÚ    covariant)ÚAbstractBackoffcó—eZdZUdZeeedfed<dddedeeedffd„Z    e
jd    e d
e fd „«Zd
efd „Zd eeed
dfd„Zd
efd„Zded
dfd„Zy)Ú AbstractRetryz0Retry a specific number of times after a failure.Ú_supported_errorsÚbackoffrÚretriesÚsupported_errorscó.—||_||_||_y)a'
        Initialize a `Retry` object with a `Backoff` object
        that retries a maximum of `retries` times.
        `retries` can be negative to retry forever.
        You can specify the types of supported errors which trigger
        a retry with the `supported_errors` parameter.
        N)Ú_backoffÚ_retriesr)Úselfrrrs    õ^H:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\redis/retry.pyÚ__init__zAbstractRetry.__init__s€ð ˆŒ ؈Œ Ø!1ˆÕóÚotherÚreturncó—tS©N)ÚNotImplemented©rr!s  rÚ__eq__zAbstractRetry.__eq__/s€äÐr cól—t|j|jt|j«f«Sr$)ÚhashrrÚ    frozensetr©rs rÚ__hash__zAbstractRetry.__hash__3s'€ÜT—]‘] D§M¡M´9¸T×=SÑ=SÓ3TÐUÓVÐVr Úspecified_errorsNcób—tt|jt|«z««|_y)zM
        Updates the supported errors with the specified error types
        N)ÚtupleÚsetr)rr-s  rÚupdate_supported_errorsz%AbstractRetry.update_supported_errors6s*€ô"'Ü ×&Ñ&¬Ð/?Ó)@Ñ@Ó Aó"
ˆÕr có—|jS)z,
        Get the number of retries.
        ©rr+s rÚ get_retrieszAbstractRetry.get_retries>s€ð}‰}Ðr Úvaluecó—||_y)z,
        Set the number of retries.
        Nr3)rr5s  rÚupdate_retrieszAbstractRetry.update_retriesDs €ðˆ r )Ú__name__Ú
__module__Ú __qualname__Ú__doc__r
r rÚ__annotations__ÚintrÚabcÚabstractmethodrÚboolr'r,rr1r4r7©r rrrs·…Ù:à˜T !™W c˜\Ñ*Ó*ð2à"ð2ðð2ð   Q¡¨  Ñ-ó    2ð"    ×Ñð˜Cð DòóððW˜#óWð
¸ÀÀaÁÑ8Ið
Èdó
ð˜Sóð  Cð¨Dôr rc
󯇗eZdZejZeeejffddde    de
e e dffˆfd„ Z dedefd    „Z    dd
egefd ee gefd eee gefdefd „ZˆxZS)ÚRetryrrrr.có(•—t‰||||«yr$)Úsuperr)rrrrÚ    __class__s    €rrzRetry.__init__Nsø€ô    ‰Ñ˜ 'Ð+;Õ<r r!r"cóð—t|t«stS|j|jk(xrF|j|jk(xr+t |j «t |j «k(Sr$)Ú
isinstancerCr%rrr0rr&s  rr'z Retry.__eq__Zsc€Ü˜%¤Ô'Ü!Ð !ð M‰M˜UŸ^™^Ñ +ò LØ— ‘  §¡Ñ/ò LäD×*Ñ*Ó+¬s°5×3JÑ3JÓ/KÑKð    
r ÚdoÚfailÚ is_retryablecóL—|jj«d}        |«S#|j$rm}|r    ||«s‚|dz }||«|jdk\r||jkDr|‚|jj    |«}|dkDr t |«Yd}~nd}~wwxYwŒˆ)a&
        Execute an operation that might fail and returns its result, or
        raise the exception that was thrown depending on the `Backoff` object.
        `do`: the operation to call. Expects no argument.
        `fail`: the failure handler, expects the last error that was thrown
        réN)rÚresetrrÚcomputer)rrIrJrKÚfailuresÚerrorrs       rÚcall_with_retryzRetry.call_with_retrydsŸ€ð      ‰ ×ÑÔØˆØð #Ù“t øØ×)Ñ)ò     #Ù© °UÔ(;ØØ˜A‘ ÙU” Ø—=‘= AÒ%¨(°T·]±]Ò*BؐKØŸ-™-×/Ñ/°Ó9Ø˜Q’;ܘ'”Nÿøð     #úðsŸ&¦B"µA#BÂB"r$)r8r9r:rr,r rÚsocketÚtimeoutr=r
r Ú    Exceptionrrr@r'rrr    rRÚ __classcell__)rFs@rrCrCKsºø„Ø×%Ñ%€Hð Ø Ø N‰Nð9
ñ    
=à"ð
=ðð
=ð   Y¡°Р4Ñ5õ    
=ð
˜Cð
 Dó
ð?Cñ    #à R˜U‰Oð#𘠠  { CÐ'Ñ(ð#ð˜x¨¨ °TÐ(9Ñ:Ñ;ð    #ð
 
÷ #r rC)r>rSÚtimerÚtypingrrrrrr    r
r r Úredis.exceptionsr rrrUrÚ redis.backoffrÚABCrrCrAr rú<module>r\sgðÛ
Û Ý÷
÷
õ
÷;á ˆCƒL€Ù ˆCy¨DÔ1€áÝ-ô/G˜A‘J §¡ô/ôd3#ˆM˜)Ñ $õ3#r