hyb
2025-12-30 399ffc4d9829f70529d3b096fe4228f7496cc566
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Ë
 
çúh1ãóø—dZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd    „d
e«ZGd „d e«ZGd „de«ZGd„de«Z    Gd„de«Z
Gd„de«Z Gd„de«Z Gd„de    «Z Gd„de    «ZGd„de    «ZGd„de    «ZGd„d e    «ZGd!„d"e    «ZGd#„d$ee«ZGd%„d&e«ZGd'„d(e«ZGd)„d*e    «ZGd+„d,e«ZGd-„d.e«ZGd/„d0ee    «ZGd1„d2e    «ZGd3„d4e    «ZGd5„d6e    «ZGd7„d8e«ZGd9„d:e«ZGd;„d<e«Z Gd=„d>e«Z!Gd?„d@e«Z"GdA„dBe«Z#GdC„dDe«Z$yE)Fz*Core exceptions raised by the Redis clientcó —eZdZy)Ú
RedisErrorN©Ú__name__Ú
__module__Ú __qualname__©óõcH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\redis/exceptions.pyrró„Ør    rcó —eZdZy)ÚConnectionErrorNrrr    r
r r r r    r có —eZdZy)Ú TimeoutErrorNrrr    r
rr r r    rcó —eZdZy)ÚAuthenticationErrorNrrr    r
rrr r    rcó —eZdZy)ÚAuthorizationErrorNrrr    r
rrr r    rcó —eZdZy)ÚBusyLoadingErrorNrrr    r
rrr r    rcó —eZdZy)ÚInvalidResponseNrrr    r
rrr r    rcó —eZdZy)Ú ResponseErrorNrrr    r
rr r r    rcó —eZdZy)Ú    DataErrorNrrr    r
rr$r r    rcó —eZdZy)Ú PubSubErrorNrrr    r
rr(r r    rcó —eZdZy)Ú
WatchErrorNrrr    r
rr,r r    rcó —eZdZy)Ú NoScriptErrorNrrr    r
r!r!0r r    r!có—eZdZdZy)ÚOutOfMemoryErroraU
    Indicates the database is full. Can only occur when either:
      * Redis maxmemory-policy=noeviction
      * Redis maxmemory-policy=volatile* and there are no evictable keys
 
    For more information see `Memory optimization in Redis <https://redis.io/docs/management/optimization/memory-optimization/#memory-allocation>`_. # noqa
    N©rrrÚ__doc__rr    r
r#r#4ó „ñð    r    r#có —eZdZy)ÚExecAbortErrorNrrr    r
r(r(@r r    r(có —eZdZy)Ú ReadOnlyErrorNrrr    r
r*r*Dr r    r*có —eZdZy)ÚNoPermissionErrorNrrr    r
r,r,Hr r    r,có —eZdZy)Ú ModuleErrorNrrr    r
r.r.Lr r    r.có—eZdZdZdd„Zy)Ú    LockErrorz$Errors acquiring or releasing a lockNcó —||_||_y©N)ÚmessageÚ    lock_name)Úselfr3r4s   r
Ú__init__zLockError.__init__Vs€ØˆŒ Ø"ˆr    )NN©rrrr%r6rr    r
r0r0Ps
„Ù*ô
#r    r0có—eZdZdZy)ÚLockNotOwnedErrorzDError trying to extend or release a lock that is not owned (anymore)Nr$rr    r
r9r9[s„ÙJàr    r9có—eZdZdZy)ÚChildDeadlockedErrorzBError indicating that a child process is deadlocked after a fork()Nr$rr    r
r;r;as„ÙHàr    r;có—eZdZdZy)Ú$AuthenticationWrongNumberOfArgsErrorz^
    An error to indicate that the wrong number of args
    were sent to the AUTH command
    Nr$rr    r
r=r=gó „ñð
    r    r=có—eZdZdZy)ÚRedisClusterExceptionz4
    Base exception for the RedisCluster client
    Nr$rr    r
r@r@pó „ñð    r    r@có—eZdZdZy)Ú ClusterErrorzm
    Cluster errors occurred multiple times, resulting in an exhaustion of the
    command execution TTL
    Nr$rr    r
rCrCxr>r    rCcó—eZdZdZd„Zy)ÚClusterDownErroraÐ
    Error indicated CLUSTERDOWN error received from cluster.
    By default Redis Cluster nodes stop accepting queries if they detect there
    is at least a hash slot uncovered (no available node is serving it).
    This way if the cluster is partially down (for example a range of hash
    slots are no longer covered) the entire cluster eventually becomes
    unavailable. It automatically returns available as soon as all the slots
    are covered again.
    có"—|f|_||_yr2)Úargsr3)r5Úresps  r
r6zClusterDownError.__init__Œs€ØGˆŒ    Øˆ r    Nr7rr    r
rErEs „ñór    rEcó—eZdZdZd„Zy)ÚAskErrora)
    Error indicated ASK error received from cluster.
    When a slot is set as MIGRATING, the node will accept all queries that
    pertain to this hash slot, but only if the key in question exists,
    otherwise the query is forwarded using a -ASK redirection to the node that
    is target of the migration.
 
    src node: MIGRATING to dst node
        get > ASK error
        ask dst node > ASKING command
    dst node: IMPORTING from src node
        asking command only affects next command
        any op will be allowed after asking command
    có֗|f|_||_|jd«\}}|jdd«\}}t    |«|_|t    |«fx|_\|_|_y)z#should only redirect to master nodeú ú:éN)    rGr3ÚsplitÚrsplitÚintÚslot_idÚ    node_addrÚhostÚport)r5rHrRÚnew_noderTrUs      r
r6zAskError.__init__¡s`€àGˆŒ    ØˆŒ Ø ŸJ™J s›OшØ—_‘_ S¨!Ó,‰
ˆˆdܘ7“|ˆŒ Ø04´c¸$³i°Ð?ˆŒÑ-˜œ D¥Ir    Nr7rr    r
rJrJ‘s „ñ ó@r    rJcó—eZdZdZd„Zy)Ú TryAgainErrorzÙ
    Error indicated TRYAGAIN error received from cluster.
    Operations on keys that don't exist or are - during resharding - split
    between the source and destination nodes, will generate a -TRYAGAIN error.
    có—yr2r)r5rGÚkwargss   r
r6zTryAgainError.__init__²s€Ø r    Nr7rr    r
rXrX«s „ñó  r    rXcó—eZdZdZdZy)ÚClusterCrossSlotErrorz›
    Error indicated CROSSSLOT error received from cluster.
    A CROSSSLOT error is generated when keys in a request don't hash to the
    same slot.
    z+Keys in request don't hash to the same slotN)rrrr%r3rr    r
r\r\¶s„ñð <Gr    r\có—eZdZdZy)Ú
MovedErrorz¾
    Error indicated MOVED error received from cluster.
    A request sent to a node that doesn't serve this key will be replayed with
    a MOVED error that points to the correct node.
    Nr$rr    r
r^r^Às „ñð     r    r^có—eZdZdZy)ÚMasterDownErrorz‹
    Error indicated MASTERDOWN error received from cluster.
    Link with MASTER is down and replica-serve-stale-data is set to 'no'.
    Nr$rr    r
r`r`Êr>r    r`có—eZdZdZy)ÚSlotNotCoveredErrora
    This error only happens in the case where the connection pool will try to
    fetch what node that is covered by a given slot.
 
    If this error is raised the client should drop the current node layout and
    attempt to reconnect and refresh the node layout again
    Nr$rr    r
rbrbÓr&r    rbcó—eZdZdZy)ÚMaxConnectionsErrorz›
    Raised when a connection pool has reached its max_connections limit.
    This indicates pool exhaustion rather than an actual connection failure.
    Nr$rr    r
rdrdßr>r    rdcó—eZdZdZy)ÚCrossSlotTransactionErrorz…
    Raised when a transaction or watch is triggered in a pipeline
    and not all keys or all commands belong to the same slot.
    Nr$rr    r
rfrfèr>r    rfcó—eZdZdZy)ÚInvalidPipelineStackzs
    Raised on unexpected response length on pipelines. This is
    most likely a handling error on the stack.
    Nr$rr    r
rhrhñr>r    rhcó—eZdZdZy)ÚExternalAuthProviderErrorzK
    Raised when an external authentication provider returns an error.
    Nr$rr    r
rjrjúrAr    rjN)%r%Ú    Exceptionrr rrrrrrrrrr!r#r(r*r,r.Ú
ValueErrorr0r9r;r=r@rCrErJrXr\r^r`rbrdrfrhrjrr    r
ú<module>rmsªðÙ,ô    ô    ô    jô    ô    :ô    ô    ˜/ô    ô    ˜ô    ô    ô    ô    jô    ô    Jô    ô    
ô    ô    *ô    ô    ô    ô    Mô    ô        }ô        ô    ]ô    ô    Mô    ô    ˜ ô    ô    -ô    ô#
˜Jô#ô    ˜    ô    ô     ˜9ô    ô     ¨=ô    ô    ˜Iô    ô    :ô    ô | ]ô ô @ˆ}ô@ô4 Mô ô<˜Mô<ô    ô    ô    Ð&ô    ô        Ð/ô        ô    ˜/ô    ô    Ð 5ô    ô    Ð0ô    ô     õ    r