hyb
2025-12-31 6cdcd01f77e11b72c323603e27ebdb85b15223c9
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
Ë
 
çúh¿hã    ó´—ddlZddlZddlZddlZddlZddlZddlZddlmZm    Z    ddl
m
Z
ddl m Z ddl mZmZmZmZmZmZmZmZmZmZmZmZmZmZddlmZmZddlm Z m!Z!m"Z"ddl#m$Z$dd    l%m&Z&m'Z'm(Z(dd
l)m*Z*dd l+m,Z,dd l-m.Z.dd l/m0Z0m1Z1ddl2m3Z3m4Z4m5Z5ddl6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@ddlAmBZBmCZCddlDmEZEmFZFddlGmHZHddlImJZJmKZKddlLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZXmYZYmZZZm[Z[m\Z\m]Z]m^Z^ddl_m`Z`maZambZbddlcmdZdmeZemfZfmgZgmhZhmiZimjZjedr ddlkmlZlmmZmmnZnndZldZndZmedeodedeedf«ZpGd„de5e;eC«ZqGd„d«ZrGd„d«ZsGd„d e5e;eC«Zte7D]8Zueujíd!d"«jï«Zueud#k(rŒ)exeteue>eu««Œ:Gd$„d%«ZyGd&„d'e«ZzGd(„d)ez«Z{Gd*„d+e{«Z|Gd,„d-e{«Z}y).éN)ÚABCÚabstractmethod)Úcopy)Úchain)ÚAnyÚCallableÚ    CoroutineÚDequeÚDictÚ    GeneratorÚListÚMappingÚOptionalÚSetÚTupleÚTypeÚTypeVarÚUnion)ÚAsyncCommandsParserÚEncoder)Ú_RedisCallbacksÚ_RedisCallbacksRESP2Ú_RedisCallbacksRESP3)ÚResponseCallbackT)Ú
ConnectionÚ SSLConnectionÚ    parse_url©ÚLock)ÚRetry)ÚTokenInterface)ÚExponentialWithJitterBackoffÚ    NoBackoff)ÚEMPTY_RESPONSEÚ NEVER_DECODEÚ AbstractRedis)
ÚPIPELINE_BLOCKED_COMMANDSÚPRIMARYÚREPLICAÚSLOT_IDÚAbstractRedisClusterÚ LoadBalancerÚLoadBalancingStrategyÚblock_pipeline_commandÚ get_node_nameÚparse_cluster_slots)Ú READ_COMMANDSÚAsyncRedisClusterCommands)ÚREDIS_CLUSTER_HASH_SLOTSÚkey_slot)ÚCredentialProvider)Ú#AfterAsyncClusterInstantiationEventÚEventDispatcher)ÚAskErrorÚBusyLoadingErrorÚClusterDownErrorÚ ClusterErrorÚConnectionErrorÚCrossSlotTransactionErrorÚ    DataErrorÚExecAbortErrorÚInvalidPipelineStackÚMaxConnectionsErrorÚ
MovedErrorÚRedisClusterExceptionÚ
RedisErrorÚ ResponseErrorÚSlotNotCoveredErrorÚ TimeoutErrorÚ TryAgainErrorÚ
WatchError)ÚAnyKeyTÚ
EncodableTÚKeyT)Ú SSL_AVAILABLEÚdeprecated_argsÚdeprecated_functionÚget_lib_versionÚsafe_strÚ str_if_bytesÚ truncate_text)Ú
TLSVersionÚ VerifyFlagsÚ
VerifyModeÚ TargetNodesTÚ ClusterNodecZó€—eZdZdZedededdfd„«ZdZe    dgdd    ¬
«e    d gd d ¬
«ddddddddddddddddddde
«ddddddddddddddddddddddf*de ede ee fde eddeded e ed!ed"e d e d#e d$e d%d&e eeed'e ee fd(e ed)e ed*e ed+e ed,e ed-e ed.e ed/ed0ed1ed2ed3e ed4ed5e ee e e effd6e ed7ed8e ed9e ed:e eefd;e eed<e eed=e ed>ed?e ed@e edAe edBe e dCe eeee fgeee ffdDe eddfVdE„««Zd„dF„Zd…dG„Ze dHdIdJ¬K«d…dL„«Z!d„dM„Z"de fdN„Z#de fdO„Z$dP„Z%de&eddffdQ„Z'dRZ(e)jTe+jXfdSedTeddfdU„Z-dVe.ddfdW„Z/dedfdX„Z0dedfdY„Z1dedfdZ„Z2d†d[„Z3d†d\„Z4d‡d]„Z5            dˆde ede e d^e ede dfd_„Z6    d‰d`edaede dfdb„Z7d`e8de fdc„Z9de:fdd„Z;de<ee effde„Z=d$e>ddfdf„Z?dgedhe@ddfdi„ZAddjœdgedkedle ededfdm„ZBdgedkede fdn„ZCdoedefdp„ZDdoededfdq„ZEdke8dedefdr„ZFdsddke eGe8fdedefdt„ZH    dŠdue edve eddwfdx„ZI                            d‹dyeGdze ed{ed|ed}e ed~e eeJded€edeJfd„ZKd‚eLddweffdƒ„ZMy)ŒÚ RedisClustera·
    Create a new RedisCluster client.
 
    Pass one of parameters:
 
      - `host` & `port`
      - `startup_nodes`
 
    | Use ``await`` :meth:`initialize` to find cluster nodes & create connections.
    | Use ``await`` :meth:`close` to disconnect connections & close client.
 
    Many commands support the target_nodes kwarg. It can be one of the
    :attr:`NODE_FLAGS`:
 
      - :attr:`PRIMARIES`
      - :attr:`REPLICAS`
      - :attr:`ALL_NODES`
      - :attr:`RANDOM`
      - :attr:`DEFAULT_NODE`
 
    Note: This client is not thread/process/fork safe.
 
    :param host:
        | Can be used to point to a startup node
    :param port:
        | Port used if **host** is provided
    :param startup_nodes:
        | :class:`~.ClusterNode` to used as a startup node
    :param require_full_coverage:
        | When set to ``False``: the client will not require a full coverage of
          the slots. However, if not all slots are covered, and at least one node
          has ``cluster-require-full-coverage`` set to ``yes``, the server will throw
          a :class:`~.ClusterDownError` for some key-based commands.
        | When set to ``True``: all slots must be covered to construct the cluster
          client. If not all slots are covered, :class:`~.RedisClusterException` will be
          thrown.
        | See:
          https://redis.io/docs/manual/scaling/#redis-cluster-configuration-parameters
    :param read_from_replicas:
        | @deprecated - please use load_balancing_strategy instead
        | Enable read from replicas in READONLY mode.
          When set to true, read commands will be assigned between the primary and
          its replications in a Round-Robin manner.
          The data read from replicas is eventually consistent with the data in primary nodes.
    :param load_balancing_strategy:
        | Enable read from replicas in READONLY mode and defines the load balancing
          strategy that will be used for cluster node selection.
          The data read from replicas is eventually consistent with the data in primary nodes.
    :param dynamic_startup_nodes:
        | Set the RedisCluster's startup nodes to all the discovered nodes.
          If true (default value), the cluster's discovered nodes will be used to
          determine the cluster nodes-slots mapping in the next topology refresh.
          It will remove the initial passed startup nodes if their endpoints aren't
          listed in the CLUSTER SLOTS output.
          If you use dynamic DNS endpoints for startup nodes but CLUSTER SLOTS lists
          specific IP addresses, it is best to set it to false.
    :param reinitialize_steps:
        | Specifies the number of MOVED errors that need to occur before reinitializing
          the whole cluster topology. If a MOVED error occurs and the cluster does not
          need to be reinitialized on this current error handling, only the MOVED slot
          will be patched with the redirected node.
          To reinitialize the cluster on every MOVED error, set reinitialize_steps to 1.
          To avoid reinitializing the cluster on moved errors, set reinitialize_steps to
          0.
    :param cluster_error_retry_attempts:
        | @deprecated - Please configure the 'retry' object instead
          In case 'retry' object is set - this argument is ignored!
 
          Number of times to retry before raising an error when :class:`~.TimeoutError`,
          :class:`~.ConnectionError`, :class:`~.SlotNotCoveredError`
          or :class:`~.ClusterDownError` are encountered
    :param retry:
        | A retry object that defines the retry strategy and the number of
          retries for the cluster client.
          In current implementation for the cluster client (starting form redis-py version 6.0.0)
          the retry object is not yet fully utilized, instead it is used just to determine
          the number of retries for the cluster client.
          In the future releases the retry object will be used to handle the cluster client retries!
    :param max_connections:
        | Maximum number of connections per node. If there are no free connections & the
          maximum number of connections are already created, a
          :class:`~.MaxConnectionsError` is raised.
    :param address_remap:
        | An optional callable which, when provided with an internal network
          address of a node, e.g. a `(host, port)` tuple, will return the address
          where the node is reachable.  This can be used to map the addresses at
          which the nodes _think_ they are, to addresses at which a client may
          reach them, such as when they sit behind a proxy.
 
    | Rest of the arguments will be passed to the
      :class:`~redis.asyncio.connection.Connection` instances when created
 
    :raises RedisClusterException:
        if any arguments are invalid or unknown. Eg:
 
        - `db` != 0 or None
        - `path` argument for unix socket connection
        - none of the `host`/`port` & `startup_nodes` were provided
 
    ÚurlÚkwargsÚreturnc ó€—|jt|««|jdd«turd|d<|di|¤ŽS)aá
        Return a Redis client object configured from the given URL.
 
        For example::
 
            redis://[[username]:[password]]@localhost:6379/0
            rediss://[[username]:[password]]@localhost:6379/0
 
        Three URL schemes are supported:
 
        - `redis://` creates a TCP socket connection. See more at:
          <https://www.iana.org/assignments/uri-schemes/prov/redis>
        - `rediss://` creates a SSL wrapped TCP socket connection. See more at:
          <https://www.iana.org/assignments/uri-schemes/prov/rediss>
 
        The username, password, hostname, path and all querystring values are passed
        through ``urllib.parse.unquote`` in order to replace any percent-encoded values
        with their corresponding characters.
 
        All querystring options are cast to their appropriate Python types. Boolean
        arguments can be specified with string values "True"/"False" or "Yes"/"No".
        Values that cannot be properly cast cause a ``ValueError`` to be raised. Once
        parsed, the querystring arguments and keyword arguments are passed to
        :class:`~redis.asyncio.connection.Connection` when created.
        In the case of conflicting arguments, querystring arguments are used.
        Úconnection_classNTÚssl©)ÚupdaterÚpopr)Úclsr[r\s   õhH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\redis/asyncio/cluster.pyÚfrom_urlzRedisCluster.from_urlÊs=€ð8     ‰ ”i “nÔ%Ø :‰:Ð(¨$Ó /´=Ñ @Ø ˆF5‰MÙ‰}V‰}Ðó)Ú _initializeÚ_lockÚretryÚ command_flagsÚcommands_parserÚconnection_kwargsÚencoderÚ
node_flagsÚ nodes_managerÚread_from_replicasÚreinitialize_counterÚreinitialize_stepsÚresponse_callbacksÚresult_callbacksrqz6Please configure the 'load_balancing_strategy' insteadz5.3.0)Ú args_to_warnÚreasonÚversionÚcluster_error_retry_attemptsz+Please configure the 'retry' object insteadz6.0.0NiëTFééìrzredis-pyzutf-8ÚstrictÚrequiredéÚhostÚportÚ startup_nodesrXÚrequire_full_coverageÚload_balancing_strategyÚdynamic_startup_nodesrsÚmax_connectionsrjr Úretry_on_errorÚdbÚpathÚcredential_providerÚusernameÚpasswordÚ client_nameÚlib_nameÚ lib_versionÚencodingÚencoding_errorsÚdecode_responsesÚhealth_check_intervalÚsocket_connect_timeoutÚsocket_keepaliveÚsocket_keepalive_optionsÚsocket_timeoutr`Ú ssl_ca_certsÚ ssl_ca_dataÚ ssl_cert_reqsÚssl_include_verify_flagsÚssl_exclude_verify_flagsÚ ssl_certfileÚssl_check_hostnameÚ ssl_keyfileÚssl_min_versionÚ ssl_ciphersÚprotocolÚ address_remapÚevent_dispatcherc+óì—| r td«‚|r td«‚|r|s |s td«‚id|
“dt“d|“d|“d|“d    |“d
|“d |“d |“d |“d|“d|“d|“d|“d|“d|“d|(“}+|r!|+jt||| |!|"|#|$|%|&|'dœ «|s|r|j|+d<| r| |_nt tdd¬«|    ¬«|_| r|j
j| «tj«|+d<|+jd«dvr|+djt«n|+djt«|+|_|rFg},|D]<}-|,jt!|-j"|-j$fi|j¤Ž«Œ>|,}ng}|r(|r&|jt!||fi|j¤Ž«|*€t'«|_n|*|_||_t-|||+||)|j(¬«|_t1|||«|_||_||_||_d|_t=«|_|j@jBj«|_"|j@jFj«|_$|+d|_%|j@jLj«|_'d„|jNd <d!|_(d|_)d|_*tWjX«|_-y)"Nz/Argument 'db' must be 0 or None in cluster modez3Unix domain socket is not supported in cluster modea1RedisCluster requires at least one node to discover the cluster.
Please provide one of the following or use RedisCluster.from_url:
   - host and port: RedisCluster(host="localhost", port=6379)
   - startup_nodes: RedisCluster(startup_nodes=[ClusterNode("localhost", 6379), ClusterNode("localhost", 6380)])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¡Úredis_connect_funcéé
)ÚbaseÚcap)ÚbackoffÚretriesrt)Ú3r{)r…r£r¤rcóN—tt|j««dfi|¤ŽS©Nr)r0ÚlistÚvalues)ÚcmdÚresr\s   reú<lambda>z'RedisCluster.__init__.<locals>.<lambda>°s'€Ô':ܐS—Z‘Z“\Ó" 1Ñ%ñ(Ø)/ñ(€rgú CLUSTER SLOTST).rCrrbrÚ
on_connectrjr r"Úupdate_supported_errorsrrÚgetrrrmÚappendrXr€rr7Ú_event_dispatcherr‚Ú NodesManagerrprrnrqr„rsrrrrlÚ    __class__Ú
NODE_FLAGSroÚ COMMAND_FLAGSrkrtÚRESULT_CALLBACKSrurhriÚ_usage_counterÚasynciorÚ _usage_lock).Úselfr€rr‚rƒrqr„r…rsryr†rjr‡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\Ú passed_nodesÚnodes.                                              reÚ__init__zRedisCluster.__init__üs€ñ| Ü'ØAóð ñ Ü'ØEóð ñ™D©-Ü'ðSóð ð"
Ø ˜ð"
à ¤
ð"
ð "Ð#6ð    "
ð
˜ð "
ð ˜ð "
ð ˜;ð"
ð ˜ð"
ð ˜;ð"
ð ˜ð"
ð ˜ð"
ð Р0ð"
ð $Ð%:ð"
ð  %Ð&<ð!"
ð" Р0ð#"
ð$ 'Ð(@ð%"
ð& ˜nð'"
ð( ˜ð)"
ˆñ. à M‰Mä(5Ø$0Ø#.Ø%2Ø0HØ0HØ$0Ø*<Ø#.Ø'6Ø#.ñ ô ñ  Ñ!8à+/¯?©?ˆFÐ'Ñ (á ØˆDJäÜ4¸!ÀÔDØ4ôˆDŒJñ Ø J‰J× .Ñ .¨~Ô >ä'6×';Ñ';Ó'=ˆÐ#Ñ$Ø :‰:jÓ ! XÑ -Ø Ð'Ñ (× /Ñ /Ô0DÕ Eà Ð'Ñ (× /Ñ /Ô0DÔ EØ!'ˆÔá ØˆLØ%ò Ø×#Ñ#Ü §    ¡    ¨4¯9©9ÑO¸×8NÑ8NÑOõð ð)‰MàˆMÙ ‘DØ ×  Ñ  ¤¨T°4Ñ!R¸4×;QÑ;QÑ!RÔ Sà Ð #Ü%4Ó%6ˆDÕ "à%5ˆDÔ "à*ˆÔÜ)Ø Ø !Ø Ø"7Ø'Ø!×3Ñ3ô 
ˆÔô˜x¨Ð:JÓKˆŒ Ø"4ˆÔØ'>ˆÔ$Ø"4ˆÔØ$%ˆÔ!Ü2Ó4ˆÔØŸ.™.×3Ñ3×8Ñ8Ó:ˆŒØ!Ÿ^™^×9Ñ9×>Ñ>Ó@ˆÔØ"(Ð)=Ñ">ˆÔØ $§¡× ?Ñ ?× DÑ DÓ FˆÔñ ð     ×јoÑ.ð  ˆÔØ-1ˆŒ
ð
 ˆÔÜ"Ÿ<™<›>ˆÕrgcƒó~K—|jr¹|jstj«|_|j4ƒd{–—†|jra    |jj «ƒd{–—†|j j |jj«ƒd{–—†d|_ddd«ƒd{–—†|S|S7Œ…7ŒX7Œ##t$rI|jj«ƒd{–—†7|jjd«ƒd{–—†7‚wxYw7Œc#1ƒd{–—†7swY|SxYw­w)zJGet all nodes from startup nodes & creates connections if not initialized.NFr‚)
rhrirÁrrpÚ
initializerlÚ default_nodeÚ BaseExceptionÚaclose©rÃs rerÈzRedisCluster.initialize¾sèø€à × Ò Ø—:’:Ü$Ÿ\™\›^”
Ø—z‘z÷ ñ Ø×#Ò#ð    Ø"×0Ñ0×;Ñ;Ó=×=Ð=Ø"×2Ñ2×=Ñ=Ø ×.Ñ.×;Ñ;ó÷ðð,1˜Ô(÷ ÷ ðˆ ˆtˆ ð øð>øðùô)òØ"×0Ñ0×7Ñ7Ó9×9Ñ9Ø"×0Ñ0×7Ñ7¸ÓH×HÑHØðúð ø÷ ÷ ð ðˆ üs–‚AD=ÁC
ÁD=Á D'ÁCÁ3C Á46CÂ*CÂ+ CÂ6 D=ÃD%à   D=à CÃCÃ&D"Ã6C9Ã7#D"ÄDÄD"Ä"D'Ä%D=Ä'D:Ä-D0 Ä.D:Ä5D=cƒó¤K—|js£|jstj«|_|j4ƒd{–—†|jsLd|_|jj «ƒd{–—†|jj d«ƒd{–—†ddd«ƒd{–—†yy7Œn7Œ;7Œ7Œ #1ƒd{–—†7swYyxYw­w)z.Close all connections & client if initialized.NTr‚)rhrirÁrrprËrÌs rerËzRedisCluster.acloseÑsºèø€à×ÒØ—:’:Ü$Ÿ\™\›^”
Ø—z‘z÷ Eñ EØ×'Ò'Ø'+DÔ$Ø×,Ñ,×3Ñ3Ó5×5Ð5Ø×,Ñ,×3Ñ3°OÓD×DÐD÷     E÷ Eð Eð ð Eøð6øØDøð     Eø÷ E÷ Eñ Eüsl‚ACÁB3ÁCÁ1B;Á9B5Á:"B;ÂB7ÂB;Â! CÂ,B9Â-CÂ5B;Â7B;Â9CÂ;C ÃC ÃC à   Cz5.0.0zUse aclose() insteadÚclose)rxrwÚnamecƒó@K—|j«ƒd{–—†y7Œ­w)z.alias for aclose() for backwards compatibilityN)rËrÌs rerÎzRedisCluster.closeÜsèø€ðk‰k‹m×Òúó ‚–—cƒóÂK—|j«ƒd{–—†    |j«ƒd{–—†S7Œ7Œ#t$r|j«ƒd{–—†7‚wxYw­w)z¸
        Async context manager entry. Increments a usage counter so that the
        connection pool is only closed (via aclose()) when no context is using
        the client.
        N)Ú_increment_usagerÈÚ    ExceptionÚ_decrement_usagerÌs reÚ
__aenter__zRedisCluster.__aenter__ás]èø€ð ×#Ñ#Ó%×%Ð%ð    àŸ™Ó*×*Ð *ð    &øð+ùÜò    à×'Ñ'Ó)× )Ñ )Ø ð    üs:‚A–4—Aœ8¯6°8³A¶8¸AÁAÁAÁAcƒóÊK—|j4ƒd{–—†|xjdz c_|jcddd«ƒd{–—†S7Œ67Œ#1ƒd{–—†7swYyxYw­w)z
        Helper coroutine to increment the usage counter while holding the lock.
        Returns the new value of the usage counter.
        Nr§©rÂrÀrÌs rerÓzRedisCluster._increment_usageðóZèø€ð
×#Ñ#÷    'ñ    'Ø × Ò  1Ñ $Õ Ø×&Ñ&÷    '÷    'ò    'øð    'ø÷    '÷    'ñ    'üóC‚A#“A
”A#—!A¸ A#ÁA ÁA#Á A#ÁA ÁA ÁA ÁA#cƒóÊK—|j4ƒd{–—†|xjdzc_|jcddd«ƒd{–—†S7Œ67Œ#1ƒd{–—†7swYyxYw­w)z
        Helper coroutine to decrement the usage counter while holding the lock.
        Returns the new value of the usage counter.
        Nr§rØrÌs rerÕzRedisCluster._decrement_usageùrÙrÚcƒóÌK—tj|j««ƒd{–—†}|dk(r,tj|j««ƒd{–—†yy7Œ67Œ­w)z©
        Async context manager exit. Decrements a usage counter. If this is the
        last exit (counter becomes zero), the client closes its connection pool.
        Nr)rÁÚshieldrÕrË)rÃÚexc_typeÚ    exc_valueÚ    tracebackÚ current_usages     reÚ    __aexit__zRedisCluster.__aexit__sSèø€ô
&Ÿn™n¨T×-BÑ-BÓ-DÓE×Eˆ Ø ˜AÒ ä—.‘. §¡£Ó/× /Ñ /ð ðFøð 0ús!‚'A$©A ª/A$ÁA"ÁA$Á"A$có>—|j«j«S©N©rÈÚ    __await__rÌs reræzRedisCluster.__await__ ó€Ø‰Ó ×*Ñ*Ó,Ð,rgzUnclosed RedisCluster clientÚ_warnÚ_grlcóޗt|d«rR|jsE||j›d|›t|¬«    ||jdœ}|«j    |«yyy#t
$rYywxYw)Nrhú ©Úsource©ÚclientÚmessage)ÚhasattrrhÚ _DEL_MESSAGEÚResourceWarningÚcall_exception_handlerÚ RuntimeError)rÃrèréÚcontexts    reÚ__del__zRedisCluster.__del__sv€ô
4˜Ô '°×0@Ò0@Ù T×&Ñ&Ð' q¨¨Ð1´?È4Õ Pð Ø%)°d×6GÑ6GÑHÙ“×-Ñ-¨gÕ6ð    1AÐ 'øô
 ò Ùð ús¸%A Á     A,Á+A,Ú
connectioncƒóØK—|j«ƒd{–—†|jd«ƒd{–—†t|j«ƒd{–—†«dk7r t    d«‚y7ŒM7Œ67Œ­w)NÚREADONLYÚOKzREADONLY command failed)r¶Ú send_commandrRÚ read_responser<©rÃrøs  rer¶zRedisCluster.on_connectshèø€Ø×#Ñ#Ó%×%Ð%ð×%Ñ% jÓ1×1Ð1Ü ˜j×6Ñ6Ó8×8Ó 9¸TÒ AÜ!Ð";Ó<Ð <ð Bð    &øð    2øØ8ús1‚A*–A$—A*¯A&°A*Á A(Á A*Á&A*Á(A*có\—t|jjj««S)zGet all nodes of the cluster.)r°rpÚ nodes_cacher±rÌs reÚ    get_nodeszRedisCluster.get_nodes*s"€äD×&Ñ&×2Ñ2×9Ñ9Ó;Ó<Ð<rgcó@—|jjt«S)z%Get the primary nodes of the cluster.)rpÚget_nodes_by_server_typer(rÌs reÚ get_primarieszRedisCluster.get_primaries.ó€à×!Ñ!×:Ñ:¼7ÓCÐCrgcó@—|jjt«S)z%Get the replica nodes of the cluster.)rprr)rÌs reÚ get_replicaszRedisCluster.get_replicas2rrgcó‚—tjt|jjj «««S)z!Get a random node of the cluster.)ÚrandomÚchoicer°rprr±rÌs reÚget_random_nodezRedisCluster.get_random_node6s+€ä}‰}œT $×"4Ñ"4×"@Ñ"@×"GÑ"GÓ"IÓJÓKÐKrgcó.—|jjS)z#Get the default node of the client.)rprÉrÌs reÚget_default_nodezRedisCluster.get_default_node:s€à×!Ñ!×.Ñ.Ð.rgcóx—|r|j|j¬«s td«‚||j_y)z†
        Set the default node of the client.
 
        :raises DataError: if None is passed or node does not exist in cluster.
        ©Ú    node_namez1The requested node does not exist in the cluster.N)Úget_noderÏr>rprÉ)rÃrÅs  reÚset_default_nodezRedisCluster.set_default_node>s2€ñ ˜4Ÿ=™=°4·9±9˜=Ô=ÜÐOÓPÐ Pà*.ˆ×ÑÕ'rgrcó<—|jj|||«S)z&Get node by (host, port) or node_name.)rpr©rÃr€rrs    rerzRedisCluster.get_nodeIs€ð×!Ñ!×*Ñ*¨4°°yÓAÐArgÚkeyÚreplicacóü—|j|«}|jjj|«}|st    d|›d«‚|r-t |jj|«dkryd}||Sd}||S)aG
        Get the cluster node corresponding to the provided key.
 
        :param key:
        :param replica:
            | Indicates if a replica should be returned
            |
              None will returned if no replica holds this key
 
        :raises SlotNotCoveredError: if the key is not covered by any slot.
        úSlot "z " is not covered by the cluster.rNr§r)ÚkeyslotrpÚ slots_cacher¸rFÚlen)rÃrrÚslotÚ
slot_cacheÚnode_idxs      reÚget_node_from_keyzRedisCluster.get_node_from_keyRsŽ€ð|‰|˜CÓ ˆØ×'Ñ'×3Ñ3×7Ñ7¸Ó=ˆ
ÙÜ%¨¨t¨fÐ4TÐ&UÓVÐ Vá ܐ4×%Ñ%×1Ñ1°$Ñ7Ó8¸1Ò<ØØˆHð˜(Ñ#Ð#ðˆHà˜(Ñ#Ð#rgcóJ—t|jj|««S)zƒ
        Find the keyslot for a given key.
 
        See: https://redis.io/docs/manual/scaling/#redis-cluster-data-sharding
        )r4rnÚencode)rÃrs  rerzRedisCluster.keyslotns€ô ˜Ÿ ™ ×+Ñ+¨CÓ0Ó1Ð1rgcó—|jS)z%Get the encoder object of the client.)rnrÌs reÚ get_encoderzRedisCluster.get_encodervs €à|‰|Ðrgcó—|jS)zGGet the kwargs passed to :class:`~redis.asyncio.connection.Connection`.)rmrÌs reÚget_connection_kwargsz"RedisCluster.get_connection_kwargszs€à×%Ñ%Ð%rgcó—||_yrä)rj)rÃrjs  reÚ    set_retryzRedisCluster.set_retry~s    €Øˆ
rgÚcommandÚcallbackcó"—||j|<y)zSet a custom response callback.N)rt)rÃr(r)s   reÚset_response_callbackz"RedisCluster.set_response_callbacks€à+3ˆ×Ñ Ò(rg)Ú    node_flagÚargsr,c‡ó®K—|s|jj|«}||jvr@||jjk(r|j
j gS||jjk(r|j
jt«S||jjk(r|j
jt«S||jjk(r-t|j
jj««S||jj k(rAt#j$t|j
jj«««gS|j
j'|j(|g|¢­Žƒd{–—†|j*xr|t,v|t,vr|j.«gSd«gS7Œ8­wrä)rkr¸ror¼Ú DEFAULT_NODErprÉÚ    PRIMARIESrr(ÚREPLICASr)Ú    ALL_NODESr°rr±ÚRANDOMr    r
Úget_node_from_slotÚ_determine_slotrqr1r„)rÃr(r,r-s    reÚ_determine_nodeszRedisCluster._determine_nodes…sŠèø€ñ
à×*Ñ*×.Ñ.¨wÓ7ˆIà ˜Ÿ™Ò 'ؘDŸN™N×7Ñ7Ò7à×*Ñ*×7Ñ7Ð8Ð8ؘDŸN™N×4Ñ4Ò4à×)Ñ)×BÑBÄ7ÓKÐKؘDŸN™N×3Ñ3Ò3à×)Ñ)×BÑBÄ7ÓKÐKؘDŸN™N×4Ñ4Ò4ä˜D×.Ñ.×:Ñ:×AÑAÓCÓDÐDؘDŸN™N×1Ñ1Ò1äŸ ™ ¤d¨4×+=Ñ+=×+IÑ+I×+PÑ+PÓ+RÓ&SÓTÐUÐUð × Ñ × 1Ñ 1Ø*d×*Ñ*¨7Ð:°TÒ:×:Ø×'Ñ'ÒD¨G´}Ð,DØ07¼=Ñ0H×,Ñ,ó ð
ð    
ðOSó ð
ð    
à:ús‚FGÆGÆ9Gc‡óÖK—|jj|«tk(rt|d«S|j    «dvrPt |«dkrt d|g|¢­›«‚|ddt|d«z}|s{tjdt«S|jj|g|¢­Žƒd{–—†}|s:|j    «dvrtjdt«St d|›«‚t |«dk(r|j|d«S|Dchc]}|j|«’Œ}}t |«dk7rt |›d«‚|j«S7Œ¬cc}w­w)    Nr)ÚEVALÚEVALSHArzInvalid args in command: r§)ÚFCALLÚFCALL_ROz€No way to dispatch this command to Redis Cluster. Missing key.
You can execute the command by specifying target nodes.
Command: z) - all keys must map to the same key slot)rkr¸r*ÚintÚupperrrCr    Ú    randranger3rlÚget_keysrrc)rÃr(r-ÚkeysrÚslotss      rer5zRedisCluster._determine_slot¨syèø€Ø × Ñ × !Ñ ! 'Ó *¬gÒ 5ät˜A‘w“<Ð ð =‰=‹?Ð1Ñ 1ä4‹y˜1Š}Ü+Ø/°°¸$±Ð/?Ð@óðð˜˜A¤ D¨¡G£ Ñ,Ð-ˆDñÜ×'Ñ'¨Ô+CÓDÐDà6˜×-Ñ-×6Ñ6°wÐFÀÒF×FˆDÙð—=‘=“?Ð&;Ñ;Ü!×+Ñ+¨AÔ/GÓHÐHÜ+ð/à/3¨fð6óðô ˆt‹9˜Š>Ø—<‘<  Q¡Ó(Ð (ð/3Ö3 s—‘˜cÕ"Ð3ˆÐ3Ü ˆu‹:˜Š?Ü'ؐ)ÐDÐEóð ðy‰y‹{Ðð1Gúò$4ùs%‚B3E)Â5E"Â6A&E)ÄE$Ä4/E)Å$E)Ú target_nodescóB—t|t«xr||jvSrä)Ú
isinstanceÚstrro)rÃrBs  reÚ _is_node_flagzRedisCluster._is_node_flagÛs€Ü˜,¬Ó,ÒP°ÀÇÁÐ1PÐPrgcóؗt|t«r|}|St|t«r|g}|St|t«rt|j    ««}|St dt |«›«‚)Nz°target_nodes type can be one of the following: node_flag (PRIMARIES, REPLICAS, RANDOM, ALL_NODES),ClusterNode, list<ClusterNode>, or dict<any, ClusterNode>. The passed type is )rDr°rXÚdictr±Ú    TypeErrorÚtype)rÃrBÚnodess   reÚ_parse_target_nodesz RedisCluster._parse_target_nodesÞs€€Ü l¤DÔ )Ø ˆEð ˆ ô˜ ¤kÔ 2à!NˆEðˆ ô˜ ¤dÔ +ô˜×,Ñ,Ó.Ó/ˆEðˆ ô ð&ô'+¨<Ó&8Ð%9ð;óð rgc
ó˜‡‡‡K—‰d}g}d}‰jj«}‰jdd«}|r&‰j|«s‰j    |«}d}d}d|z}t |«D]}    ‰j rL‰j«ƒd{–—†t|«dk(r&|d‰j«k(r‰j«    |s+‰j‰d|iŽƒd{–—†}|std‰›d    «‚t|«dk(r[‰j|dg‰¢­i‰¤Žƒd{–—†}
|‰jvr(‰j|||dj|
ifi‰¤ŽcS|
cS|D cgc]} | j‘Œ} } t!j"ˆˆˆfd
„|D«Žƒd{–—†} |‰jvr,‰j||t%t'| | ««fi‰¤ŽcSt%t'| | ««cSy7Œa7Œ7ŒÕcc} w7Œd#t($r8}|dkDr,t+|«‰j,j.vr |dz}Yd}~ŒÍ|‚d}~wwxYw­w) a
        Execute a raw command on the appropriate cluster node or target_nodes.
 
        It will retry the command as specified by the retries property of
        the :attr:`retry` & then raise an exception.
 
        :param args:
            | Raw command args
        :param kwargs:
 
            - target_nodes: :attr:`NODE_FLAGS` or :class:`~.ClusterNode`
              or List[:class:`~.ClusterNode`] or Dict[Any, :class:`~.ClusterNode`]
            - Rest of the kwargs are passed to the Redis connection
 
        :raises RedisClusterException: if target_nodes is not provided & the command
            can't be mapped to a slot
        rFrBNTr§r,ú!No targets were found to execute ú  command onc3óp•K—|]-}tj‰j|g‰¢­i‰¤Ž«–—Œ/y­wrä)rÁÚ create_taskÚ_execute_command)Ú.0rÅr-r\rÃs  €€€reú    <genexpr>z/RedisCluster.execute_command.<locals>.<genexpr>0s@øèø€òð!%ô$×/Ñ/Ø 5 × 5Ñ 5°dРL¸TÒ LÀVÑ L÷ñùsƒ36)rjÚ get_retriesrcrFrLÚrangerhrÈrr Úreplace_default_noder6rCrRrurÏrÁÚgatherrHÚziprÔrJr¼ÚERRORS_ALLOW_RETRY)rÃr-r\r(rBÚtarget_nodes_specifiedÚretry_attemptsÚpassed_targetsÚexecute_attemptsÚ_ÚretrÅr@r±Úes```            reÚexecute_commandzRedisCluster.execute_commandòs‹úèø€ð$q‘'ˆØˆ Ø!&ÐØŸ™×/Ñ/Ó1ˆàŸ™ N°DÓ9ˆÙ  $×"4Ñ"4°^Ô"DØ×3Ñ3°NÓCˆLØ%)Ð "؈Nð˜~Ñ-ÐÜÐ'Ó(ó3    ˆAØ×ÒØ—o‘oÓ'×'Ð'ä˜ Ó%¨Ò*Ø$ Q™¨4×+@Ñ+@Ó+BÒBð×-Ñ-Ô/ð* Ù-à)>¨×)>Ñ)>Øð*Ø)7ñ*÷$Lñ(Ü3Ø?À¸vÀ[ÐQóðô|Ó$¨Ò)à 5 × 5Ñ 5°lÀ1±oРWÈÒ WÐPVÑ W×WCØ $×"7Ñ"7Ñ7Ø=˜t×4Ñ4°WÑ=Ø# l°1¡o×&:Ñ&:¸CÐ%@ñ ØDJñ òð’Jà2>Ö?¨$˜DŸI›IÐ?DÐ?Ü#*§>¡>õð)5ô    ð$÷Fð $×"7Ñ"7Ñ7Ø=˜t×4Ñ4°WÑ=Ø#¤T¬#¨d°FÓ*;Ó%<ñ Ø@Fñ òô ¤ D¨&Ó 1Ó2Ò2ñU3    à'ùð$ùðXúò@ðùôò Ø! AÒ%¬$¨q«'°T·^±^×5VÑ5VÑ*Vð# aÑ'NÝðGûð üs¨…BI
ÂG7Â8I
ÃHÃ'G:Ã(?HÄ'G=Ä(7HÅI
Å"HÅ#I
Å&HÅ*G?Å="HÆHÆ ;HÇI
ÇHÇ2I
Ç:HÇ=HÇ?HÈ    IÈ+IÈ:I
ÉIÉIÉI
Ú target_nodecó"K—dx}}d}|j}|dkDr¶|dz}    |r.|j|¬«}|jd«ƒd{–—†d}nf|rd|j|Žƒd{–—†}|jj ||j xr |dtv|dtvr |jnd«}d}|j|i|¤Žƒd{–—†St=d «‚7Œ’7Œx7Œ#t$r‚t$r‚ttf$rK|jjj|jd«|j!«ƒd{–—†7‚t"t$f$r9|j!«ƒd{–—†7t'j(d«ƒd{–—†7‚t*$r{}    |xj,dz c_|j.r=|j,|j.zdk(r!|j!«ƒd{–—†7d|_n|    |j_d}Yd}    ~    nvd}    ~    wt2$r-}    t5|    j6|    j8¬«}d}Yd}    ~    nBd}    ~    wt:$r3||jd    z krt'j(d
«ƒd{–—†7YnwxYw|dkDrŒsŒ¿­w) NFrr§rÚASKINGçÐ?T©r€rrgš™™™™™©?zTTL exhausted.)ÚRedisClusterRequestTTLrrbr5rpr4rqr1r„r9rAr<rGr‚rcrÏrËr:rFrÁÚsleeprBrrrsÚ_moved_exceptionr8r/r€rrHr;)
rÃrcr-r\ÚaskingÚmovedÚ redirect_addrÚttlrras
          rerRzRedisCluster._execute_commandFsgèø€ðЈØˆ Ø×)Ñ)ˆàAŠgØ 1‰HˆCðK .ÙØ"&§-¡-¸- -Ó"HKØ%×5Ñ5°hÓ?×?Ð?Ø"‘FÙð"6 ×!5Ñ!5°tÐ!<×<DØ"&×"4Ñ"4×"GÑ"GØØ×/Ñ/ÒL°D¸±G¼}Ð4Là ™7¤mÑ3ð×4Ò4à!ó #Kð"Eà8˜[×8Ñ8¸$ÐIÀ&ÑI×IÐIôvÐ+Ó,Ð,ðU@øð
=øðJùÜ#ò ØÜ&ò ð
Ü#¤\Ð2ò     ð
×"Ñ"×0Ñ0×4Ñ4°[×5EÑ5EÀtÔLð—k‘k“m×#Ñ#ØÜ$Ô&9Ð:ò ð—k‘k“m×#Ñ#Ü—m‘m DÓ)×)Ñ)ØÜò ð×)Ò)¨QÑ.Õ)à×+Ò+Ø×1Ñ1°D×4KÑ4KÑKÈqÒPàŸ+™+›-×'Ñ'à01DÕ-à:;D×&Ñ&Ô7Ø•ûÜò Ü -°1·6±6ÀÇÁÔ G Ø•ûÜ ò .ؘ×4Ñ4°qÑ8Ò8Ü!Ÿ-™-¨Ó-×-Ñ-ùð .úðWAŒgûsÁ‚J (C!ÁCÁ    C!Á$CÁ%A&C!à Cà C!à JÃC!ÃC!ÃC!Ã!A$JÅEÅ'JÅ-E0Å.JÆ FÆ JÆAHÇ*G-Ç+ HÈ JÈ JÈ#IÈ?JÉ6JÉ:I=É;JÊJÊJÊJÚ transactionÚ
shard_hintÚClusterPipelinecó4—|r td«‚t||«S)zù
        Create & return a new :class:`~.ClusterPipeline` object.
 
        Cluster implementation of pipeline does not support transaction or shard_hint.
 
        :raises RedisClusterException: if transaction or shard_hint are truthy values
        z(shard_hint is deprecated in cluster mode)rCrq)rÃrorps   reÚpipelinezRedisCluster.pipelinežs €ñ Ü'Ð(RÓSÐ Sä˜t [Ó1Ð1rgrÏÚtimeoutriÚblockingÚblocking_timeoutÚ
lock_classÚ thread_localÚraise_on_release_errorc    
ó2—|€t}|||||||||¬«S)a}
        Return a new Lock object using key ``name`` that mimics
        the behavior of threading.Lock.
 
        If specified, ``timeout`` indicates a maximum life for the lock.
        By default, it will remain locked until release() is called.
 
        ``sleep`` indicates the amount of time to sleep per loop iteration
        when the lock is in blocking mode and another client is currently
        holding the lock.
 
        ``blocking`` indicates whether calling ``acquire`` should block until
        the lock has been acquired or to fail immediately, causing ``acquire``
        to return False and the lock not being acquired. Defaults to True.
        Note this value can be overridden by passing a ``blocking``
        argument to ``acquire``.
 
        ``blocking_timeout`` indicates the maximum amount of time in seconds to
        spend trying to acquire the lock. A value of ``None`` indicates
        continue trying forever. ``blocking_timeout`` can be specified as a
        float or integer, both representing the number of seconds to wait.
 
        ``lock_class`` forces the specified lock implementation. Note that as
        of redis-py 3.0, the only lock class we implement is ``Lock`` (which is
        a Lua-based lock). So, it's unlikely you'll need this parameter, unless
        you have created your own custom lock class.
 
        ``thread_local`` indicates whether the lock token is placed in
        thread-local storage. By default, the token is placed in thread local
        storage so that a thread only sees its token, not a token set by
        another thread. Consider the following timeline:
 
            time: 0, thread-1 acquires `my-lock`, with a timeout of 5 seconds.
                     thread-1 sets the token to "abc"
            time: 1, thread-2 blocks trying to acquire `my-lock` using the
                     Lock instance.
            time: 5, thread-1 has not yet completed. redis expires the lock
                     key.
            time: 5, thread-2 acquired `my-lock` now that it's available.
                     thread-2 sets the token to "xyz"
            time: 6, thread-1 finishes its work and calls release(). if the
                     token is *not* stored in thread local storage, then
                     thread-1 would see the token value as "xyz" and would be
                     able to successfully release the thread-2's lock.
 
        ``raise_on_release_error`` indicates whether to raise an exception when
        the lock is no longer owned when exiting the context manager. By default,
        this is True, meaning an exception will be raised. If False, the warning
        will be logged and the exception will be suppressed.
 
        In some use cases it's necessary to disable thread local storage. For
        example, if you have code where one thread acquires a lock and passes
        that lock instance to a worker thread to release later. If thread
        local storage isn't disabled in this case, the worker thread won't see
        the token set by the thread that acquired the lock. Our assumption
        is that these cases aren't common and as such default to using
        thread local storage.)rtrirurvrxryr)    rÃrÏrtrirurvrwrxrys             reÚlockzRedisCluster.lock­s5€ðH Р܈JÙØ Ø ØØØØ-Ø%Ø#9ô    
ð        
rgÚfunccóöK—|jdd«}|jdd«}|jdd«}|jd|«4ƒd{–—†}        |r|j|Žƒd{–—†||«ƒd{–—†}|j«ƒd{–—†}    |r|n|        cddd«ƒd{–—†S7Œ_7ŒF7Œ87Œ"7Œ #t$r||dkDrt j |«YŒŒwxYw#1ƒd{–—†7swYyxYw­w)zç
        Convenience method for executing the callable `func` as a transaction
        while watching all keys specified in `watches`. The 'func' callable
        should expect a single argument which is a Pipeline object.
        rpNÚvalue_from_callableFÚ watch_delayTr)rcrsÚwatchÚexecuterIÚtimeri)
rÃr|Úwatchesr\rpr~rÚpipeÚ
func_valueÚ
exec_values
          rerozRedisCluster.transactionþsõèø€ð—Z‘Z  ¨dÓ3ˆ
Ø$Ÿj™jÐ)>ÀÓFÐØ—j‘j °Ó5ˆ Ø—=‘=  zÓ2÷     ð     °dØð    ÙØ(˜dŸj™j¨'Ð2×2Ð2Ù'+¨D£z×!1JØ'+§|¡|£~×!5JÙ)<™:À*ÐL÷     ÷     ò     øð3øØ!1øØ!5øð     ùô"òØ"Ð.°;À²?ÜŸ
™
 ;Ô/Ùðú÷     ÷     ñ     üsœ‚A C9ÁB/ÁC9ÁC$ÁB9Á*B1Á+B9Á:B3Á;B9ÂB5    B9 C9Â)B7Â*C9Â1B9Â3B9Â5B9Â7C9Â9%C!ÃC$àC!Ã!C$Ã$C6Ã*C- Ã+C6Ã2C9)r]rZ©r]N)r]rX)rÅrXr]N©NNN©F)NN)Ngš™™™™™¹?TNNTT)NÚ__name__Ú
__module__Ú __qualname__Ú__doc__Ú classmethodrErrfÚ    __slots__rNrPrrr<r Úboolr-rrÔr5ÚfloatrÚbytesrVrUrTrrr7rÆrÈrËrOrÎrÖrÓrÕrâr ræròÚwarningsÚwarnrÁÚget_running_loopr÷rr¶rrrr r rrrrKrrr#r r%r r'rr+r6r5rFrLrbrLrRrsrr{r    rorargrerZrZdsP„ñcðJð˜3ð¨#ð°.òóðð@€Iñ"Ø*Ð+ØGØôñ
à *ð
ð=Øô ð#Ø $à7;Ø&*Ø#(ØCGØ&*Ø"#Ø,-Ø$Ø#'Ø:>àØ"Ø<@Ø"&Ø"&Ø%)Ø",Ù%4Ó%6àØ'Ø!&à'(Ø26Ø!&ØNRØ*.àØ&*Ø%)Ø0:Ø@DØ@DØ&*Ø#'Ø%)Ø04Ø%)Ø"#ØPTØ6:ñat*às‰mðt*ðC˜H‰oðt*ð
   ]Ñ 3Ñ4ð t*ð  $ð t*ð!ðt*ð"*Ð*?Ñ!@ðt*ð $ðt*ð ðt*ð'*ðt*ððt*ð˜Ñ ðt*ð!  d¨9¡oÑ!6Ñ7ðt*𠠐#s(‰Oð!t*ð"s‰mð#t*ð$&Ð&8Ñ9ð%t*ð&˜3‘-ð't*ð(˜3‘-ð)t*ð*˜c‘]ð+t*ð,˜3‘-ð-t*ð.˜c‘]ð/t*ð2ð3t*ð4ð5t*ð6ð7t*ð: %ð;t*ð<!)¨¡ð=t*ð>ð?t*ð@#+¨7°3¸¸cÀ5¸jÑ8IÐ3IÑ+JÑ"KðAt*ðB! ™ðCt*ðFðGt*ðH˜s‘mðIt*ðJ˜c‘]ðKt*ðL˜S *˜_Ñ-ðMt*ðN#+¨4° Ñ+<Ñ"=ðOt*ðP#+¨4° Ñ+<Ñ"=ðQt*ðR˜s‘mðSt*ðT!ðUt*ðV˜c‘]ðWt*ðX" *Ñ-ðYt*ðZ˜c‘]ð[t*ð\˜3‘-ð]t*ð^  ¨%°°S°©/Ð):¸EÀ#ÀsÀ(¹OÐ)KÑ LÑMð_t*ð`# ?Ñ3ðat*ðb
òct*óó ðt*óló&    Eñ Ð1GÈgÔVòóWðó ð'¨ó'ð'¨ó'ò0ð-˜9 S¨$°Ð%>Ñ?ó-ð2€Lð—]‘]Ø×,Ñ,ñ àð ðð ð
ó     ð
=¨:ð
=¸$ó
=ð=˜4  Ñ.ó=ðD˜t MÑ2óDðD˜d =Ñ1óDóLó/ó    /ð#Ø"Ø#'ñ    Bàs‰mðBðs‰mðBð˜C‘=ð    Bð
 
-Ñ     ó Bð).ñ$Øð$Ø!%ð$à    -Ñ     ó$ð82˜:ð2¨#ó2ð˜Wóð& t¨C°¸#±Ð,>Ñ'?ó&ð˜uð¨óð4¨Sð4Ð<Mð4ÐRVó4ð
DHò!
Øð!
Ø#&ð!
Ø3;¸C±=ð!
à     ˆmÑ    ó!
ðF1¨Sð1¸ð1Àó1ðfQ¨#ðQ°$óQð°ð¸¸]Ñ8Kóð(R¨:ðRÀðRÈóRðhV-Ø(ðV-Ø16°t¸ZÐ7GÑ1HðV-ØTWðV-à     óV-ðrNRñ 2Ø# C™=ð 2Ø=EÀc¹]ð 2à    ó 2ð$$(ØØØ,0Ø+/Ø!Ø'+ñO
àðO
ð˜%‘ðO
ðð    O
ð
ð O
ð # 5™/ð O
ð˜T $™ZÑ(ðO
ððO
ð!%ðO
ð
óO
ðbؘdÐ$5°sÐ:Ñ;ôrgrZcó:—eZdZdZdZ    d%dedœdedeeefde    ed    ed
e
ed e d dfd „Z d efd„Z de d efd„ZdZej$ej(fde de d dfd„Zd&d„Zd efd„Zded dfd„Zdedede d e fd„Zde de d e fd„Zdedd efd „Zd!efd"„Zd#efd$„Z y)'rXzš
    Create a new ClusterNode.
 
    Each ClusterNode manages multiple :class:`~redis.asyncio.connection.Connection`
    objects for the (host, port).
    ) Ú _connectionsÚ_freerirºr_rmr€r†rÏrrtÚ server_typeNr|)r†r_r€rr™r†r_rmr]c ó—|dk(rtj|«}||d<||d<||_||_t    ||«|_||_||_||_||_    |jdi«|_ g|_ tj|j¬«|_|jj!dd«|_|j"€t%«|_yy)NÚ    localhostr€rrt)Úmaxlenr¤)ÚsocketÚ gethostbynamer€rr/rÏr™r†r_rmrcrtr—Ú collectionsÚdequer˜r¸rºr7)rÃr€rr™r†r_rms       rerÆzClusterNode.__init__.s݀ð ;Ò Ü×'Ñ'¨Ó-ˆDà$(И&Ñ!Ø$(И&Ñ!؈Œ    ØˆŒ    Ü! $¨Ó-ˆŒ    Ø&ˆÔà.ˆÔØ 0ˆÔØ!2ˆÔØ"3×"7Ñ"7Ð8LÈbÓ"QˆÔà.0ˆÔÜ(3×(9Ñ(9À×AUÑAUÔ(VˆŒ
Ø!%×!7Ñ!7×!;Ñ!;Ð<NÐPTÓ!UˆÔØ × !Ñ !Ð )Ü%4Ó%6ˆDÕ "ð *rgc    óp—d|j›d|j›d|j›d|j›d    S)Nz[host=z, port=z, name=z, server_type=ú])r€rrÏr™rÌs reÚ__repr__zClusterNode.__repr__Ms?€àT—Y‘YK˜w t§y¡y kð2Ø—I‘I;˜n¨T×-=Ñ-=Ð,>¸að Að    
rgÚobjcóX—t|t«xr|j|jk(Srä)rDrXrÏ)rÃr¤s  reÚ__eq__zClusterNode.__eq__Ss!€Ü˜#œ{Ó+ÒE°·±¸D¿I¹IÑ0EÐErgzUnclosed ClusterNode objectrèrécóê—|jD]T}|jsŒ||j›d|›t|¬«    ||jdœ}|«j    |«yy#t
$rYywxYw)Nrërìrî)r—Ú is_connectedròrórôrõ)rÃrèrérørös     rer÷zClusterNode.__del__Xs€ð
×+Ñ+ò        ˆJØ×&Ó&Ù˜×*Ñ*Ð+¨1¨T¨HÐ5´ÈtÕTðØ)-¸$×:KÑ:KÑLGÙ“F×1Ñ1°'Ô:ññ        øô$òØÙðús¼%A%Á%    A2Á1A2cƒóšK—tjd„|jD«ddiŽƒd{–—†}td„|D«d«}|r|‚y7Œ­w)Nc3óbK—|]'}tj|j««–—Œ)y­wrä©rÁrQÚ
disconnect)rSrøs  rerTz)ClusterNode.disconnect.<locals>.<genexpr>js,èø€òàô×#Ñ# J×$9Ñ$9Ó$;×<ñùó‚-/Úreturn_exceptionsTc3óBK—|]}t|t«sŒ|–—Œy­wrä)rDrÔ)rSr³s  rerTz)ClusterNode.disconnect.<locals>.<genexpr>psèø€ÒE˜C¬*°S¼)Õ*D”CÑEùs‚˜)rÁrXr—Únext)rÃr`Úexcs   rer¬zClusterNode.disconnecths\èø€Ü—N‘Nñà"&×"3Ñ"3ôð
ð
#ñ 
÷
ˆôÑE 3ÔEÀtÓLˆÙ ؈Ið ð
ús‚*A ¬A    ­A có€—    |jj«S#t$r˜t|j«|j
krkt t«dtf¬«}|jj«}||d<|jdi|¤Ž}|jj|«|cYSt«‚wxYw)Nr)r«r¬Úsupported_errorsrjra)r˜ÚpopleftÚ
IndexErrorrr—r†r r#r<rmrr_r¹rA)rÃrjrmrøs    reÚacquire_connectionzClusterNode.acquire_connectionts·€ð    (Ø—:‘:×%Ñ%Ó'Ð 'øÜò    (ܐ4×$Ñ$Ó%¨×(<Ñ(<Ò<ôÜ%›KØÜ&5Ð%7ôð
%)×$:Ñ$:×$?Ñ$?Ó$AÐ!Ø-2Ð! 'Ñ*Ø2˜T×2Ñ2ÑGÐ5FÑG
Ø×!Ñ!×(Ñ(¨Ô4Ø!Ò!ä%Ó'Ð 'ð-    (ús‚œBB=Â2 B=røcó:—|jj|«y)z8
        Release connection back to free queue.
        N)r˜r¹rþs  reÚreleasezClusterNode.releases€ð     
‰
×ј*Õ%rgr(r\c‹ó K—    t|vr0|jd¬«ƒd{–—†}|jt«n|j«ƒd{–—†}t|vr|jt«|jdd«||j
vr|j
||fi|¤ŽS|S7Œ‡7Œ[#t$rt|vr |tcYS‚wxYw­w)NT)Údisable_decodingr@)r%rýrcrEr$rt)rÃrør(r\Úresponses     reÚparse_responsezClusterNode.parse_response•sÎèø€ð        Ü˜vÑ%Ø!+×!9Ñ!9È4Ð!9Ó!P×PØ—
‘
œ<Õ(à!+×!9Ñ!9Ó!;×;ô ˜VÑ #Ø J‰J”~Ô &ð    
‰
6˜4Ô ð d×-Ñ-Ñ -Ø34×*Ñ*¨7Ñ3°HÑGÀÑGÐ Gàˆð'Qøð<ùÜò    Ü Ñ'ØœnÑ-Ò-Ø ð    üsK‚C„B-¡B)¢-B-ÁB+ÁB-ÁACÂ)B-Â+B-Â-C ÃCà   C à Cr-có6K—|j«}|j|j|Žd«ƒd{–—†    |j||dfi|¤Žƒd{–—†|jj |«S7Œ?7Œ!#|jj |«wxYw­w)NFr)r¶Úsend_packed_commandÚ pack_commandr¼r˜r¹)rÃr-r\røs    rerbzClusterNode.execute_command¯s“èø€à×,Ñ,Ó.ˆ
ð×,Ñ,Ð-D¨Z×-DÑ-DÀdÐ-KÈUÓS×SÐSð    *Ø,˜×,Ñ,¨Z¸¸a¹ÑKÀFÑK×Kð J‰J× Ñ ˜jÕ )ð    TøðLùð J‰J× Ñ ˜jÕ )üs8‚3BµA5¶B»A9ÁA7ÁA9ÁBÁ7A9Á9BÂBÚcommandsÚPipelineCommandcƒóŽK—|j«}|j|jd„|D««d«ƒd{–—†d}|D];}    |j||jdfi|j
¤Žƒd{–—†|_Œ=|jj|«|S7Œc7Œ*#t$r}||_d}Yd}~Œvd}~wwxYw­w)Nc3ó4K—|]}|j–—Œy­wrä)r-)rSr²s  rerTz/ClusterNode.execute_pipeline.<locals>.<genexpr>Ãsèø€Ò$B°# S§X¥XÑ$Bùs‚FrT)
r¶r¾Ú pack_commandsr¼r-r\ÚresultrÔr˜r¹)rÃrÀrør`r²ras      reÚexecute_pipelinezClusterNode.execute_pipeline½sÒèø€à×,Ñ,Ó.ˆ
ð×,Ñ,Ø × $Ñ $Ñ$B¸Ô$BÓ BÀEó
÷    
ð    
ð
ˆØò    ˆCð Ø#6 4×#6Ñ#6Ø §¡¨¡ ñ$Ø/2¯z©zñ$÷•
ð    ð     
‰
×ј*Ô%àˆ
ð%    
øðùôò ؐ”
Ø•ûð üsK‚<C¾B"¿ CÁ .B&Á9B$Á:    B& CÂ$B&Â&    CÂ/    B=Â8CÂ=CÃCÚtokencƒóÖ‡‡‡K—tj«}‰jr‰jj«Š‰jj ˆˆfd„ˆfd„«ƒd{–—†‰jj ˆfd„ˆfd„«ƒd{–—†|j ‰«‰jrŒ|r/|j«Š‰jj ‰«|rŒ.yy7Œ~7ŒV­w)Ncód•—‰jd‰jd«‰j««S)NÚAUTHÚoid)rüÚtry_getÚ    get_value)ÚconnrÇs€€rer´z.ClusterNode.re_auth_callback.<locals>.<lambda>Ûs)ø€˜×)Ñ)ؘEŸM™M¨%Ó0°%·/±/Ó2Có€rgcó&•—‰j|«Srä©Ú_mock©ÚerrorrÃs €rer´z.ClusterNode.re_auth_callback.<locals>.<lambda>Þsø€˜dŸj™j¨Ó/€rgcó$•—‰j«Srä)rý)rÎs€rer´z.ClusterNode.re_auth_callback.<locals>.<lambda>ásø€˜×*Ñ*Ó,€rgcó&•—‰j|«SrärÐrÒs €rer´z.ClusterNode.re_auth_callback.<locals>.<lambda>ásø€¸D¿J¹JÀuÓ<M€rg)rŸr r˜r´rjÚcall_with_retryr¹)rÃrÇÚ    tmp_queuerÎs`` @reÚre_auth_callbackzClusterNode.re_auth_callbackÖsÆúèø€Ü×%Ñ%Ó'ˆ    ØjŠjØ—:‘:×%Ñ%Ó'ˆDØ—*‘*×,Ñ,ôó0ó    ÷ ð ð —*‘*×,Ñ,Û,Ó.Mó÷ ð ð × Ñ ˜TÔ "ðj‹jñØ×$Ñ$Ó&ˆDØ J‰J× Ñ ˜dÔ #ôð øð  ús0…A!C)Á&C%Á')C)ÂC'Â!C)Â3/C)Ã#C)Ã'C)rÓcƒó K—y­w)z
        Dummy functions, needs to be passed as error callback to retry object.
        :param error:
        :return:
        Nra©rÃrÓs  rerÑzClusterNode._mockés èø€ð      ùó‚rär‡)!rŠr‹rŒrrrrErr<rrrrÆr£rr¦ròr“r”rÁr•r÷r¬r¶r¸r¼rbr rÆr!rØrDrÑrargrerXrXsj„ñð €Ið&&*ð    7ð  %Ø-7ò7àð7ðC˜H‰oð7ð˜c‘]ð    7ð ð 7ð˜zÑ*ð7ð!ð7ð
ó7ð>
˜#ó
ð F˜#ðF $óFð1€Lð—]‘]Ø×,Ñ,ñàðððð
ó    ó 
ð( Jó(ð6& *ð&°ó&ð Ø$ðØ/2ðØ>Aðà     óð4 *¨3ð *¸#ð *À#ó *ð¨tÐ4EÑ/FðÈ4óð2$¨Nó$ð&  ô rgcóV—eZdZdZ            ddeddedeeefdede    e
e ee fge ee ffd    e    e d
dfd „Z            d d e    ed e    e de    ed
e    dfd„Z    d!deedfdeedfded
dfd„Zd„Zd"d„Z        d#de ded
dfd„Zded
edfd„Zd"d„Zd$ded
dfd„Zd ed e d
e ee ffd„Zy)%r») Ú_dynamic_startup_nodesrjrºrmrÉrÚread_load_balancerrƒrr‚r£Nr‚rXrƒrmr…r£r¤r]có—|Dcic]}|j|“Œc}|_||_||_||_d|_i|_i|_t«|_    ||_
d|_ |€t«|_ y||_ ycc}wrä)rÏr‚rƒrmr£rÉrrr,rÞrÝrjr7rº)rÃr‚rƒrmr…r£r¤rÅs        rerÆzNodesManager.__init__s‰€ð;HÖH°$˜dŸi™i¨™oÒHˆÔØ%:ˆÔ"Ø!2ˆÔØ*ˆÔà+/ˆÔØ57ˆÔØ;=ˆÔÜ".£.ˆÔà,AˆÔ#Ø,0ˆÔØ Ð #Ü%4Ó%6ˆDÕ "à%5ˆDÕ "ùòIs…Br€rrcóڗ|rB|r@|dk(rtj|«}|jjt    ||¬««S|r|jj|«St d«‚)Nr›rgzEget_node requires one of the following: 1. node name 2. host and port)rržrr¸r/r>rs    rerzNodesManager.get_nodesi€ñ ‘Dà{Ò"Ü×+Ñ+¨DÓ1Ø×#Ñ#×'Ñ'¬ ¸4ÀdÔ(KÓLÐ LÙ Ø×#Ñ#×'Ñ'¨    Ó2Ð 2äØWóð rgÚoldÚnewÚ
remove_oldcóP—|rUt|j««D]9}||vsŒtj|j    |«j ««}Œ;|j «D]<\}}||vr.|||urŒtj||j ««}|||<Œ>yrä)r°r@rÁrQrcr¬Úitems)rÃrárârãrÏÚtaskrÅs       reÚ    set_nodeszNodesManager.set_nodes-s¢€ñ ܘSŸX™X›ZÓ(ò KØ˜s’?Ü"×.Ñ.¨s¯w©w°t«}×/GÑ/GÓ/IÓJ‘Dð KðŸ)™)›+ò    ‰JˆD$ؐs‰{ؐt‘9 Ñ$ØÜ×*Ñ*¨3¨t©9×+?Ñ+?Ó+AÓBØˆCŠIñ     rgcó—||_yrä)rj)rÃÚ    exceptions  reÚupdate_moved_exceptionz#NodesManager.update_moved_exception?s
€Ø )ˆÕrgcó6—|j}|j|j|j¬«}|r|jt
k7rdt
|_nXt |j|jt
fi|j¤Ž}|j|j|j|i«||j|jvr±|j|jd}t|_|j|jj|«|j|jj|«||j|jd<|j |k(r)||_d|_y|g|j|j<d|_y)Nrgr)rjrr€rr™r(rXrmrçrrÏrÚslot_idr)r¹ÚremoverÉ)rÃraÚredirected_nodeÚ old_primarys    reÚ_update_moved_slotsz NodesManager._update_moved_slotsBs\€Ø × !Ñ !ˆØŸ-™-¨Q¯V©V¸!¿&¹&˜-ÓAˆÙ à×*Ñ*¬gÒ5ä.5Õ+ô*Ø—‘˜Ÿ™¤ñØ+/×+AÑ+AñˆOð N‰N˜4×+Ñ+¨o×.BÑ.BÀOÐ-TÔ UØ ˜d×.Ñ.¨q¯y©yÑ9Ñ 9ð×*Ñ*¨1¯9©9Ñ5°aÑ8ˆKô'.ˆKÔ #Ø × Ñ ˜QŸY™YÑ '× .Ñ .¨{Ô ;ð × Ñ ˜QŸY™YÑ '× .Ñ .¨Ô ?à-<ˆD× Ñ ˜QŸY™YÑ '¨Ñ *Ø× Ñ  KÒ/à$3Ô!ð!%ˆÕð,;Ð*;ˆD× Ñ ˜QŸY™YÑ 'à $ˆÕrgrrqcóæ—|jr|j«|dur|€tj}    t    |j
|«dkDrc|ra|j
|dj }|jj|t    |j
|«|«}|j
||S|j
|dS#ttf$rtd|›d|j›d«‚wxYw)NTr§rrz5" not covered by the cluster. "require_full_coverage=ú") rjrðr-Ú ROUND_ROBINrrrÏrÞÚget_server_indexrµrIrFrƒ)rÃrrqr„Ú primary_namers      rer4zNodesManager.get_node_from_sloths €ð ×  Ò  Ø × $Ñ $Ô &à  Ñ %Ð*AÐ*IÜ&;×&GÑ&GÐ #ð     Ü4×#Ñ# DÑ)Ó*¨QÒ.Ñ3Jà#×/Ñ/°Ñ5°aÑ8×=Ñ= Ø×2Ñ2×CÑCØ ¤# d×&6Ñ&6°tÑ&<Ó"=Ð?Vóð×'Ñ'¨Ñ-¨hÑ7Ð7Ø×#Ñ# DÑ)¨!Ñ,Ð ,øÜœIÐ&ò    Ü%ؘ˜ð*Ø*.×*DÑ*DÐ)EÀQðHóð ð    ús´A=CÂ2CÃ,C0r™cóz—|jj«Dcgc]}|j|k(r|‘Œc}Scc}wrä)rr±r™)rÃr™rÅs   rerz%NodesManager.get_nodes_by_server_typeƒsA€ð×(Ñ(×/Ñ/Ó1ö
àØ×Ñ ;Ò.ò ò
ð    
ùò
s8c
ƒó`K—|jj«i}i}g}d}d}d}t|jj    ««D]à}        |j
j t|j|jjdd«««|jd«ƒd{–—†}d}t|«dk(r8|ddds-t|j«dk(r|j |ddd<|D]    }
t#dt|
««D]!} |
| D cgc] } t%| «‘Œc} |
| <Œ#|
d} | d}|d    k(r |j }t'| d«}|j)||«\}}g}|jt+||««}|st-||t.fi|j¤Ž}|||j0<|j3|«|
d
d}|D]z}|d}|d}|j)||«\}}|jt+||««}|st-||t4fi|j¤Ž}|||j0<|j3|«Œ|t#t'|
d«t'|
d«dz«D]†} | |vr||| <Œ || d}|j0|j0k7sŒ/|j3|j0›d |j0›d | ›«t|«d kDsŒktddj7|«›«‚Œ d}t#t8«D]
} | |vsŒd}n|sŒán|stdt;|«›«|‚|s+|j<rtdt|«›dt8›d«‚||_|jA|j|d¬«|jBr(|jA|j|jd¬«|jEt.«d|_#d|_$y7ŒF#t$r td«‚wxYw#t$r }    |    }Yd}    ~    ŒÕd}    ~    wwxYwcc} w­w)NFrŠrµz(Cluster mode is not enabled on this nodeTr§rrÚr{z vs z
 on slot: rzz6startup_nodes could not agree on a valid slots cache: z, zORedis Cluster cannot be connected. Please provide at least one reachable node: z9All slots are not covered after query all startup_nodes. z of z  covered...)rã)%rÞÚresetÚtupler‚r±rºÚdispatchr6rrmr¸rbrErCrÔrr€rVrRr<Úremap_host_portr/rXr(rÏr¹r)Újoinr3rErƒrrçrÝrrÉrj)rÃÚtmp_nodes_cacheÚ    tmp_slotsÚ disagreementsÚstartup_nodes_reachableÚ fully_coveredréÚ startup_nodeÚ cluster_slotsrarÚiÚvalÚ primary_noder€rÚnodes_for_slotrcÚ replica_nodesÚ replica_nodeÚtarget_replica_nodeÚtmp_slots                      rerÈzNodesManager.initializeŠs´èø€Ø ×Ñ×%Ñ%Ô'Ø46ˆØ46ˆ    Øˆ Ø"'ÐØˆ ؈    ô" $×"4Ñ"4×";Ñ";Ó"=Ó>óa    ˆLð ð Ø×*Ñ*×3Ñ3Ü;Ø ×,Ñ,Ø ×2Ñ2×6Ñ6Ð7LÈdÓSóôð +7×*FÑ*FÀÓ*W×$WMð
+/Ð'ôMÓ" aÒ'Ø% aÑ(¨Ñ+¨AÒ.ܘ×*Ñ*Ó+¨qÒ0à)5×):Ñ): ˜aÑ  Ñ# AÑ&à%ó4 "Ü˜q¤# d£)Ó,òEAØ<@À¹GÖD°Sœ|¨CÕ0ÒDD˜’GðEà# A™w Ø# A‘Ø˜2’:Ø'×,Ñ,Dܘ<¨™?Ó+Ø!×1Ñ1°$¸Ó=‘
dà!#à-×1Ñ1´-ÀÀdÓ2KÓL Ù"Ü"-ؘd¤Gñ#Ø/3×/EÑ/Eñ#Kð5@  × 0Ñ 0Ñ1Ø×%Ñ% kÔ2à $ Q R  Ø$1ò ?LØ'¨™?DØ'¨™?DØ!%×!5Ñ!5°d¸DÓ!A‘JD˜$à*9×*=Ñ*=¼mÈDÐRVÓ>WÓ*XÐ'Ù.Ü.9Ø  $¬ñ/Ø37×3IÑ3Iñ/Ð+ðATOÐ$7×$<Ñ$<Ñ=Ø"×)Ñ)Ð*=Õ>ð ?ôœs 4¨¡7›|¬S°°a±«\¸AÑ-=Ó>ò"AØ     Ñ)Ø'5˜     !š ð$-¨Q¡<°¡?˜Ø#Ÿ=™=¨K×,<Ñ,<Ó<Ø)×0Ñ0Ø#+§=¡= /°°k×6FÑ6FÐ5GÀzÐRSÐQTРUôô # =Ó1°AÓ5Ü&;ð'4Ø48·I±I¸mÓ4LÐ3Mð%Oó'"ð!"ò"ðI4 "ðn!ˆMÜÔ3Ó4ò Ø˜IÒ%Ø$)MÙð óÙðCa    ñF'Ü'ð'Ü'*¨9£~Ð&6ð8óðð ñ  ×!;Ò!;ô(ØKܐy“>Ð" $Ô'?Ð&@ðAðóð ð%ˆÔØ ‰t×'Ñ'¨ÀTˆÔJà × &Ò &à N‰N˜4×-Ñ-¨t×/?Ñ/?ÈDˆNÔ Qð!×9Ñ9¼'ÓBÀ1ÑEˆÔà $ˆÕði%XúÜ$òÜ/ØBóððûô
ò 𐠠  Ýûð     üò,Eùs|‚AP.ÁAO8Â/O5Â0O8Â4PÂ6A+P.Ä!P)
Ä3E:P.Ê.;P.Ë*9P.Ì$P.Ì-CP.Ï5O8Ï8P Ð PР   P&ÐP!ÐP.Ð!P&Ð&P.ÚattrcƒóK—d|_tjd„t||«j    «D«Žƒd{–—†y7Œ­w)Nc3óbK—|]'}tj|j««–—Œ)y­wrär«©rSrÅs  rerTz&NodesManager.aclose.<locals>.<genexpr>s*èø€òàô×#Ñ# D§O¡OÓ$5×6ñùr­)rÉrÁrXÚgetattrr±)rÃr s  rerËzNodesManager.aclosesAèø€Ø ˆÔ܏n‰nñä# D¨$Ó/×6Ñ6Ó8ôð
÷    
ò    
ús‚<A¾A¿AcóH—|jr|j||f«S||fS)z³
        Remap the host and port returned from the cluster to a different
        internal value.  Useful if the client is not connecting directly
        to the cluster.
        )r£)rÃr€rs   rerüzNodesManager.remap_host_ports,€ð × Ò Ø×%Ñ% t¨T lÓ3Ð 3ؐTˆzÐrg)TNNrˆr‰r‡)FN)r)rŠr‹rŒrr rr rErrrrr<r7rÆrrçrêrðr4rrÈrËrürargrer»r»òs¤„ð €Ið&'+ØPTØ6:ñ6à˜MÑ*ð6ð $ð6ð   S ™>ð    6ð
 $ð 6ð   ¨%°°S°©/Ð):¸EÀ#ÀsÀ(¹OÐ)KÑ LÑMð 6ð# ?Ñ3ð6ð
ó6ð8#Ø"Ø#'ñ    às‰mððs‰mðð˜C‘=ð    ð
 
-Ñ     ó ð,!ñ    à #}Ð$Ñ %ðð#}Ð$Ñ %ððð    ð
 
ó ò$*ó$%ðR$)Ø $ñ    àðð!ðð
 
ó ð6
°Cð
¸DÀÑ<Oó
óH%ñT
 ð
¸ó
ð Cð¨sð°u¸SÀ#¸X±ôrgr»có—eZdZdZdZ    ddedeeddfd„Zd d„Z    d d    „Z
d!d
„Z de e ddffd „Zdefd „Zdefd „Zdeeefde ddfd„Z    d"dededee fd„Zdededdfd„Zd„Zd„Zd„Zd„Zd„Zd„Zde e!efddfd„Z"y)#rqa·
    Create a new ClusterPipeline object.
 
    Usage::
 
        result = await (
            rc.pipeline()
            .set("A", 1)
            .get("A")
            .hset("K", "F", "V")
            .hgetall("K")
            .mset_nonatomic({"A": 2, "B": 3})
            .get("A")
            .get("B")
            .delete("A", "B", "K")
            .execute()
        )
        # result = [True, "1", 1, {"F": "V"}, True, True, "2", "3", 1, 1, 1]
 
    Note: For commands `DELETE`, `EXISTS`, `TOUCH`, `UNLINK`, `mset_nonatomic`, which
    are split across multiple nodes, you'll get multiple results for them in the array.
 
    Retryable errors:
        - :class:`~.ClusterDownError`
        - :class:`~.ConnectionError`
        - :class:`~.TimeoutError`
 
    Redirection errors:
        - :class:`~.TryAgainError`
        - :class:`~.MovedError`
        - :class:`~.AskError`
 
    :param client:
        | Existing :class:`~.RedisCluster` client
    )Úcluster_clientÚ _transactionÚ_execution_strategyNrïror]cóz—||_||_|jst|«|_yt|«|_yrä)rrÚPipelineStrategyÚTransactionStrategyr)rÃrïros   rerÆzClusterPipeline.__init__OsC€ð%ˆÔØ'ˆÔð×$Ò$ô ˜TÓ "ð     Õ ô% TÓ*ð     Õ rgcƒóVK—|jj«ƒd{–—†|S7Œ­wrä)rrÈrÌs rerÈzClusterPipeline.initializeZs(èø€Ø×&Ñ&×1Ñ1Ó3×3Ð3؈ ð    4ús ‚) '¡)cƒó>K—|j«ƒd{–—†S7Œ­wrä)rÈrÌs rerÖzClusterPipeline.__aenter__^sèø€Ø—_‘_Ó&×&Ð&Ð&ús ‚–—cƒó@K—|j«ƒd{–—†y7Œ­wrä©rù)rÃrÞrßràs    rerâzClusterPipeline.__aexit__aóèø€Øj‰j‹l×ÒúrÑcó>—|j«j«SrärårÌs reræzClusterPipeline.__await__drçrgcó—y)z?Pipeline instances should  always evaluate to True on Python 3+TrarÌs reÚ__bool__zClusterPipeline.__bool__gs€àrgcó,—t|j«Srä)rrrÌs reÚ__len__zClusterPipeline.__len__ks€Ü4×+Ñ+Ó,Ð,rgr-r\có:—|jj|i|¤ŽS)ad
        Append a raw command to the pipeline.
 
        :param args:
            | Raw command args
        :param kwargs:
 
            - target_nodes: :attr:`NODE_FLAGS` or :class:`~.ClusterNode`
              or List[:class:`~.ClusterNode`] or Dict[Any, :class:`~.ClusterNode`]
            - Rest of the kwargs are passed to the Redis connection
        )rrb©rÃr-r\s   rerbzClusterPipeline.execute_commandns"€ð8ˆt×'Ñ'×7Ñ7¸ÐHÀÑHÐHrgÚraise_on_errorÚallow_redirectionscƒóÈK—    |jj||«ƒd{–—†|j«ƒd{–—†S7Œ7Œ#|j«ƒd{–—†7wxYw­w)a
        Execute the pipeline.
 
        It will retry the commands as specified by retries specified in :attr:`retry`
        & then raise an exception.
 
        :param raise_on_error:
            | Raise the first error if there are any errors
        :param allow_redirections:
            | Whether to retry each failed command individually in case of redirection
              errors
 
        :raises RedisClusterException: if target_nodes is not provided & the command
            can't be mapped to a slot
        N)rrrù©rÃr&r's   rerzClusterPipeline.execute~sUèø€ð$    Ø×1Ñ1×9Ñ9ØР2ó÷ð—*‘*“,× Ñ ð    øð ù$—*‘*“,× Ò üsG‚A"„A£A¤A§A"ºA»A"ÁAÁA"ÁAÁAÁAÁA"r(r@cóˆ—|jj|«j«D]}|j|g|¢­ŽŒ|Srä)rÚ_partition_keys_by_slotr±rb)rÃr(r@Ú    slot_keyss    reÚ_split_command_across_slotsz+ClusterPipeline._split_command_across_slots—sI€ð×,Ñ,×DÑDÀTÓJ×QÑQÓSò    6ˆIØ  ˆD×  Ñ   Ð 5¨9Ô 5ð    6ðˆ rgcƒóTK—|jj«ƒd{–—†y7Œ­w©z/
        Reset back to empty pipeline.
        N)rrùrÌs rerùzClusterPipeline.resetŸs èø€ð×&Ñ&×,Ñ,Ó.×.Ò.úó ‚( &¡(có8—|jj«y)z’
        Start a transactional block of the pipeline after WATCH commands
        are issued. End the transactional block with `execute`.
        N)rÚmultirÌs rer2zClusterPipeline.multi¥s€ð
     × Ñ ×&Ñ&Õ(rgcƒóTK—|jj«ƒd{–—†y7Œ­w)rëN)rÚdiscardrÌs rer4zClusterPipeline.discard¬óèø€à×&Ñ&×.Ñ.Ó0×0Ò0úr0c‡óRK—|jj|Žƒd{–—†y7Œ­w)z$Watches the values at keys ``names``N)rr€©rÃÚnamess  rer€zClusterPipeline.watch°s"èø€à,ˆd×&Ñ&×,Ñ,¨eÐ4×4Ò4úó ‚'Ÿ% 'cƒóTK—|jj«ƒd{–—†y7Œ­w)z'Unwatches all previously specified keysN)rÚunwatchrÌs rer;zClusterPipeline.unwatch´r5r0c‡óRK—|jj|Žƒd{–—†y7Œ­wrä)rÚunlinkr7s  rer=zClusterPipeline.unlink¸s"èø€Ø-ˆd×&Ñ&×-Ñ-¨uÐ5×5Ò5úr9Úmappingcó8—|jj|«Srä)rÚmset_nonatomic©rÃr>s  rer@zClusterPipeline.mset_nonatomic»s€ð×'Ñ'×6Ñ6°wÓ?Ð?rgrä©r]rq)rÞNrßNràNr]N©TT)#rŠr‹rŒrrrZrrrÆrÈrÖrâr rrær!r<r#rrLrKrbr rrEr-rùr2r4r€r;r=rrJr@rargrerqrq(s(„ñ"ðHJ€IðCGñ    
Ø"ð    
Ø19¸$±ð    
à     ó    
óó'óð-˜9 S¨$Ð0AÐ%AÑBó-ð˜$óð-˜ó-ðIؘ4 Ð+Ñ,ðIØ8;ðIà    óIð"GKñØ"ðØ?Cðà     ˆc‰óð2ØðØ#'ðà    óò/ò )ò1ò5ò1ò6ð@ؘw¨
Ð2Ñ3ð@à    ô@rgrqrër_r@có0—eZdZdedededdfd„Zdefd„Zy)rÁÚpositionr-r\r]Ncó<—||_||_||_d|_yrä)r-r\rErÅ)rÃrEr-r\s    rerÆzPipelineCommand.__init__Ês€ØˆŒ    ØˆŒ Ø ˆŒ Ø-1ˆ rgcóV—d|j›d|j›d|j›dS)Nú[z] ú (ú))rEr-r\rÌs rer£zPipelineCommand.__repr__Ðs)€Ø4—=‘=/  D§I¡I ;¨b°·±° ¸QÐ?Ð?rg)rŠr‹rŒr<rrÆrEr£rargrerÁrÁÉs1„ð2 ð2¨Sð2¸Cð2ÀDó2ð @˜#ô@rgrÁc    ó—eZdZedd„«Zedeeefdeddfd„«Z    e    dde
de
de efd    „«Z ed
e eefddfd „«Zed „«Zed „«Zed„«Zed„«Zed„«Zed„«Zedefd„«Zy)ÚExecutionStrategyr]rqcƒó K—y­w)z^
        Initialize the execution strategy.
 
        See ClusterPipeline.initialize()
        NrarÌs rerÈzExecutionStrategy.initializeÕó èø€ð     ùrÛr-r\có—y)zf
        Append a raw command to the pipeline.
 
        See ClusterPipeline.execute_command()
        Nrar%s   rerbz!ExecutionStrategy.execute_commandÞó€ð     rgr&r'cƒó K—y­w)zÈ
        Execute the pipeline.
 
        It will retry the commands as specified by retries specified in :attr:`retry`
        & then raise an exception.
 
        See ClusterPipeline.execute()
        Nrar)s   rerzExecutionStrategy.executeés èø€ð     ùrÛr>có—y)z
        Executes multiple MSET commands according to the provided slot/pairs mapping.
 
        See ClusterPipeline.mset_nonatomic()
        NrarAs  rer@z ExecutionStrategy.mset_nonatomic÷rPrgcƒó K—y­w)zZ
        Resets current execution strategy.
 
        See: ClusterPipeline.reset()
        NrarÌs rerùzExecutionStrategy.resetrNrÛcó—y)zU
        Starts transactional context.
 
        See: ClusterPipeline.multi()
        NrarÌs rer2zExecutionStrategy.multi s€ð     rgc‡ó K—y­w)zI
        Watch given keys.
 
        See: ClusterPipeline.watch()
        Nrar7s  rer€zExecutionStrategy.watchrNrÛcƒó K—y­w)za
        Unwatches all previously specified keys
 
        See: ClusterPipeline.unwatch()
        NrarÌs rer;zExecutionStrategy.unwatchrNrÛcƒó K—y­wrärarÌs rer4zExecutionStrategy.discard&ó    èø€à ùrÛc‡ó K—y­w)z^
        "Unlink a key specified by ``names``"
 
        See: ClusterPipeline.unlink()
        Nrar7s  rer=zExecutionStrategy.unlink*rNrÛcó—yrärarÌs rer#zExecutionStrategy.__len__3ó€à rgNrBrC)rŠr‹rŒrrÈrrLrKrrbrr rrrJr@rùr2r€r;r4r=r<r#rargrerLrLÔs>„Øò óð ðð Ø˜4 Ð+Ñ,ð Ø8;ð à    ò óð ðàFJñ  Ø"ð  Ø?Cð  à     ˆc‰ò  óð  ðð Ø˜w¨
Ð2Ñ3ð à    ò óð ðñ óð ðñ óð ðñ óð ðñ óð ðñ óð ðñ óð ðð ˜ò óñ rgrLc    ó—eZdZdeddfd„Zdd„Zdeeefde    ddfd    „Z
d
„Z e d e eefddfd „«Ze     dd ededee    fd„«Ze d„«Ze d„«Ze d„«Ze d„«Ze d„«Ze d„«Zdefd„Zy)ÚAbstractStrategyr„r]Ncó —||_g|_yrä)Ú_pipeÚ_command_queue)rÃr„s  rerÆzAbstractStrategy.__init__9s€Ø&*ˆŒ
Ø79ˆÕrgrqcƒóÌK—|jjjr,|jjj«ƒd{–—†g|_|jS7Œ­wrä)r_rrhrÈr`rÌs rerÈzAbstractStrategy.initialize=sLèø€Ø :‰:× $Ñ $× 0Ò 0Ø—*‘*×+Ñ+×6Ñ6Ó8× 8Ð 8Ø ˆÔ؏z‰zÐð 9ús‚AA$Á
A"Á A$r-r\có—|jjtt|j«g|¢­i|¤Ž«|jSrä)r`r¹rÁrr_r%s   rerbz AbstractStrategy.execute_commandCsA€ð     ×Ñ×"Ñ"Ü œC × 3Ñ 3Ó4Ð F°tÒ F¸vÑ Fô    
ðz‰zÐrgcó´—djtt|««}d|›dt|«›d|jd›}|f|jddz|_y)zS
        Provides extra context to the exception prior to it being handled
        rëú
Command # rIú) of pipeline caused error: rr§N)rýÚmaprQrSr-)rÃréÚnumberr(r²Úmsgs      reÚ_annotate_exceptionz$AbstractStrategy._annotate_exceptionKse€ðh‰h”sœ8 WÓ-Ó.ˆà˜˜ ¤=°Ó#5Ð"6ð7Ø&Ÿ^™^¨AÑ.Ð/ð 1ð     ð˜ )§.¡.°°Ð"4Ñ4ˆ    rgr>có—yrärarAs  rer@zAbstractStrategy.mset_nonatomicVs€ð     rgr&r'cƒó K—y­wrärar)s   rerzAbstractStrategy.execute\s èø€ð     ùrÛcƒó K—y­wrärarÌs rerùzAbstractStrategy.resetbrXrÛcó—yrärarÌs rer2zAbstractStrategy.multifr[rgc‡ó K—y­wrärar7s  rer€zAbstractStrategy.watchjrXrÛcƒó K—y­wrärarÌs rer;zAbstractStrategy.unwatchnrXrÛcƒó K—y­wrärarÌs rer4zAbstractStrategy.discardrrXrÛc‡ó K—y­wrärar7s  rer=zAbstractStrategy.unlinkvrXrÛcó,—t|j«Srä)rr`rÌs rer#zAbstractStrategy.__len__zs€Ü4×&Ñ&Ó'Ð'rgrBrC)rŠr‹rŒrqrÆrÈrrLrKrrbrirrrJr@rr rrùr2r€r;r4r=r<r#rargrer]r]8s+„ð:˜_ð:°ó:óð Ø˜4 Ð+Ñ,ðØ8;ðà    óò    5ðð Ø˜w¨
Ð2Ñ3ð à    ò óð ð
àFJñ Ø"ð Ø?Cð à     ˆc‰ò óð ð
ñ óð ðñ óð ðñ óð ðñ óð ðñ óð ðñ óð ð(˜ô(rgr]c 󲇗eZdZdeddfˆfd„ Zdeeefddfd„Z    dde    d    e    de
e fd
„Z         dd d d e
dde    d    e    de
e f
d„Z d„Zd„Zd„Zd„Zd„Zd„ZˆxZS)rr„r]Ncó$•—t‰||«yrä)ÚsuperrÆ©rÃr„r¼s  €rerÆzPipelineStrategy.__init__sø€Ü ‰Ñ˜Õrgr>rqcóT—|jjj}i}|j«D]@}t    |j |d««}|j |g«j|«ŒB|j«D]}|jdg|¢­ŽŒ|jS)NrÚMSET)
r_rrnrår4r!Ú
setdefaultÚextendr±rb)rÃr>rnÚ slots_pairsÚpairrÚpairss       rer@zPipelineStrategy.mset_nonatomic‚s €ð—*‘*×+Ñ+×3Ñ3ˆàˆ Ø—M‘M“Oò    :ˆDܘGŸN™N¨4°©7Ó3Ó4ˆDØ × "Ñ " 4¨Ó ,× 3Ñ 3°DÕ 9ð    :ð!×'Ñ'Ó)ò    1ˆEØ  ˆD×  Ñ   Ð 0¨%Ô 0ð    1ðz‰zÐrgr&r'cƒóK—|jsgS    |jjjj    «}        |jjj
r,|jjj «ƒd{–—†|j|jj|j||¬«ƒd{–—†|j«ƒd{–—†S7ŒW7Œ7Œ    #tj$rb}|dkDrQ|dz}|jjj«ƒd{–—†7tjd«ƒd{–—†7n|‚Yd}~nd}~wwxYwŒ #|j«ƒd{–—†7wxYw­w)N)r&r'rr§rf)r`r_rrjrUrhrÈÚ_executerùrZrZrËrÁri)rÃr&r'r\ras     rerzPipelineStrategy.execute‘sBèø€ð×"Ò"؈Ið    Ø!ŸZ™Z×6Ñ6×<Ñ<×HÑHÓJˆNØð Ø—z‘z×0Ñ0×<Ò<Ø"Ÿj™j×7Ñ7×BÑBÓD×DÐDØ!%§¡ØŸ
™
×1Ñ1Ø×+Ñ+Ø'5Ø+=ð    "/ó"÷ð$—*‘*“,× Ñ ð'Eøðøð$ ùô$×6Ñ6ò     Ø%¨Ò)ð'¨!Ñ+˜Ø"Ÿj™j×7Ñ7×>Ñ>Ó@×@Ñ@Ü%Ÿm™m¨DÓ1×1Ò1ð ˜ô2ûð      úñøð,—*‘*“,× Ò üs›‚E?’/E!ÁAC'    C!Â
:C'ÃC#ÃC'ÃE?ÃC%ÃE?Ã!C'Ã#C'Ã%E?Ã'EÃ:1EÄ+D.Ä,EÅ    E Å
EÅE!ÅEÅE!Å!E<Å5E8Å6E<Å<E?rïrZÚstackrÁcƒó6K—|Dcgc]+}|jrt|jt«sŒ*|‘Œ-}}i}|D]í}|jj    dd«}|r#|j |«s|j |«}    n?|j|jd|iŽƒd{–—†}    |    std|j›d«‚t|    «dkDrtd|j›«‚|    d}
|
j|vr|
gf||
j<||
jdj|«Œïtjd„|j«D«Žƒd{–—†} t!| «rf|ra|D]\}t|jt"t$t&f«sŒ)    |j(|ji|j¤Žƒd{–—†|_Œ^|r‘|D]Œ}|j} t| t«sŒ d    j+t-t.|j««}d
|j0dz›d t3|«›d | j›}|f| jddz| _| ‚|j5«}|^|j7|j«}|A|dD]9}t9|j«t:j<vsŒ)|j?«n|Dcgc]}|j‘Œc}Scc}w7ŒM7Œ™7Œ4#t$r} | |_Yd} ~ Œ d} ~ wwxYwcc}w­w) NrBr,rNrOr§zToo many targets for command rc3ópK—|].}tj|dj|d««–—Œ0y­w)rr§N)rÁrQrÆrs  rerTz,PipelineStrategy._execute.<locals>.<genexpr>Ñs6èø€òàô×#Ñ# D¨¡G×$<Ñ$<¸TÀ!¹WÓ$E×Fñùs‚46rërdrIre) rÅrDrÔr\rcrFrLr6r-rCrrÏr¹rÁrXr±ÚanyrHrBr8rbrýrfrQrErSr r¸rJrZrZrW)rÃrïr€r&r'r²ÚtodorKr]rBrÅÚerrorsrarÅr(rhÚdefault_cluster_noderÉs                  rerzPipelineStrategy._execute±sèø€ð!ö
ب¯
ª
´jÀÇÁÌYÕ6WŠCð
ˆð
ðˆØò    ,ˆCØ ŸZ™ZŸ^™^¨N¸DÓAˆNÙ f×&:Ñ&:¸>Ô&JØ%×9Ñ9¸.ÓI‘ à%< V×%<Ñ%<Ø—X‘Xð&Ø)7ñ&÷  ñ$Ü/Ø;¸C¿H¹H¸:À[ÐQóðô<Ó  1Ò$Ü+Ð.KÈCÏHÉHÈ:Ð,VÓWÐWØ ‘?ˆD؏y‰y Ñ%Ø$(¨" :d—i‘iÑ Ø $—)‘)Ñ ˜QÑ × &Ñ & sÕ +ð#    ,ô&—~‘~ñà!ŸL™L›Nôð
÷
ˆô ˆv;Ù!àò+CÜ! #§*¡*¬}¼jÌ(Ð.SÕTð+Ø/E¨v×/EÑ/EØ!$§¡ð0Ø-0¯Z©Zñ0÷*˜CJð+ñØò
%CØ ŸZ™ZFÜ! &¬)Õ4Ø"%§(¡(¬3¬x¸¿¹Ó+BÓ"C˜à(¨¯©¸Ñ)9Ð(:ð; Ü -¨gÓ 6Ð7ð89Ø9?¿¹¸ ðGðð
(+ f¨v¯{©{¸1¸2¨Ñ&>˜œ Ø$˜ ð
%ð$*×#:Ñ#:Ó#<Ð  ð
$Ð/Ø$Ÿy™yÐ)=×)BÑ)BÓC ØÐ+ð
 ,¨A™ò"˜ô  §
¡
Ó+¬|×/NÑ/NÒNØ"×7Ñ7Ô9Ù!ð "ð',Ö,˜s—
“
Ò,Ð,ùòW
ð ùð
ùð*úô )ò+Ø)*˜CŸJšJûð+üòF-ùs‰‚L‡+K(³K(·A)L K-Â!B6LÅK0Å<LÆ)K6Æ?K3Ç    K6Ç    %LÇ/C LÊ;LËLË%    LË0LË3K6Ë6    LË?L ÌLÌ LÌLcƒóK—g|_y­wr/)r`rÌs rerùzPipelineStrategy.resetsèø€ð!ˆÕùs‚     có—td«‚)Nz@method multi() is not supported outside of transactional context©rCrÌs rer2zPipelineStrategy.multi s€Ü#Ø Nó
ð    
rgc‡ó K—td«‚­w)Nz@method watch() is not supported outside of transactional contextr‰r7s  rer€zPipelineStrategy.watchsèø€Ü#Ø Nó
ð    
ùó‚ cƒó K—td«‚­w)NzBmethod unwatch() is not supported outside of transactional contextr‰rÌs rer;zPipelineStrategy.unwatchóèø€Ü#Ø Pó
ð    
ùr‹cƒó K—td«‚­w)NzBmethod discard() is not supported outside of transactional contextr‰rÌs rer4zPipelineStrategy.discardrr‹c‡ófK—t|«dk7r td«‚|jd|d«S­w)Nr§z>unlinking multiple keys is not implemented in pipeline commandÚUNLINKr)rrCrbr7s  rer=zPipelineStrategy.unlinks:èø€Ü ˆu‹:˜Š?Ü'ØPóð ð×#Ñ# H¨e°A©hÓ7Ð7ùs‚/1rC)rŠr‹rŒrqrÆrrJrKr@rr rrrrùr2r€r;r4r=Ú __classcell__©r¼s@rerr~sÊø„ð˜_ð°õð Ø˜w¨
Ð2Ñ3ð à    ó ð GKñØ"ðØ?Cðà     ˆc‰óðH $Ø#'ñ R-àðR-ðÐ%Ñ&ðR-ðð    R-ð
!ð R-ð
ˆc‰ó R-òh!ò 
ò
 
ò
 
ò
 
ö
8rgrcó^‡—eZdZdhZddhZhd£ZeefZe    e
e e fZ deddfˆfd„ Zdeeeffd„Zd    eeefd
edd fd „Zd    eeefd
edefˆfd „ Zd„Zd„Zd„Zdedefd„Zd„Zd„Zde e!efddfd„Z"    d&de#de#de$efd„Z%de$dde#fd„Z&de$dde#fd„Z'd „Z(d!„Z)d"„Z*d#„Z+d$„Z,d%„Z-ˆxZ.S)'rÚUNWATCHÚWATCH>ÚEXECÚDISCARDr”r„r]NcóP•—t‰||«d|_d|_t    «|_d|_d|_d|_t|jjj«|_ |jjtj |j"z«y)NF)rurÆÚ_explicit_transactionÚ    _watchingÚsetÚ_pipeline_slotsÚ_transaction_nodeÚ_transaction_connectionÚ
_executingrr_rrjÚ_retryr·rZrZÚSLOT_REDIRECT_ERRORSrvs  €rerÆzTransactionStrategy.__init__4s‚ø€Ü ‰Ñ˜ÔØ%*ˆÔ"؈ŒÜ),«ˆÔØ8<ˆÔØ=AˆÔ$؈ŒÜ˜4Ÿ:™:×4Ñ4×:Ñ:Ó;ˆŒ Ø  ‰ ×+Ñ+Ü × +Ñ +¨d×.GÑ.GÑ Gõ    
rgcóT—|js td«‚|jjjj t |j«dd«}||_|js!|jj«}||_|j|jfS)ao
        Find a connection for a pipeline transaction.
 
        For running an atomic transaction, watch keys ensure that contents have not been
        altered as long as the watch commands for those keys were sent over the same
        connection. So once we start watching a key, we fetch a connection to the
        node that owns that slot and reuse it.
        z:At least a command with a key is needed to identify a noderF)
rœrCr_rrpr4r°rržr¶)rÃrÅrøs   reÚ*_get_client_and_connection_for_transactionz>TransactionStrategy._get_client_and_connection_for_transactionAsš€ð×#Ò#Ü'ØLóð ð!ŸJ™J×5Ñ5×CÑC×VÑVÜ ×%Ñ%Ó & qÑ )¨5ó
ˆð"&ˆÔà×+Ò+Ø%)×%;Ñ%;×%NÑ%NÓ%PˆJØ+5ˆDÔ (à×%Ñ% t×'CÑ'CÐCÐCrgr-r\rc󞇇‡‡‡—dŠdŠˆˆˆˆˆfd„}tj|¬«}|j«|j«‰r‰‚‰S)Ncó‚•—    tj‰j‰i‰¤Ž«Šy#t$r }|ŠYd}~yd}~wwxYwrä)rÁÚrunrRrÔ)rar-rÓr\r»rÃs €€€€€reÚrunnerz3TransactionStrategy.execute_command.<locals>.runneras>ø€ð Ü"Ÿ;™;Ð'< t×'<Ñ'<¸dÐ'MÀfÑ'MÓN‘øÜò Ø•ûð úsƒ%)©    >²9¹>)Útarget)Ú    threadingÚThreadÚstartrý)rÃr-r\r§ÚthreadrÓr»s```  @@rerbz#TransactionStrategy.execute_command\sHü€àˆØˆ÷    ð    ô×!Ñ!¨Ô0ˆØ ‰ ŒØ ‰ Œ á ØˆKàˆrgcóô•K—|jjjr,|jjj«ƒd{–—†d}|d|jvr+|jjj
|Žƒd{–—†}|j s|d|jvrœ|js|ddk(r|j«|A|jr||jvr td«‚|jj|«n#|d|jvrtd|d›d«‚|j|i|¤ŽS||jj|«t‰|@|i|¤ŽS7Œ(7Œì­w)Nrr•z0Cannot watch or send commands on different slotsz)Cannot identify slot number for command: z(,it cannot be triggered in a transaction)r_rrhrÈÚNO_SLOTS_COMMANDSr5ršÚIMMEDIATE_EXECUTE_COMMANDSr™Ú_validate_watchrœr=ÚaddrCÚ_immediate_execute_commandrurb)rÃr-r\Ú slot_numberr¼s    €rerRz$TransactionStrategy._execute_commandrsuøèø€ð :‰:× $Ñ $× 0Ò 0Ø—*‘*×+Ñ+×6Ñ6Ó8× 8Ð 8à%)ˆ Ø ‰7˜$×0Ñ0Ñ 0Ø I §
¡
× 9Ñ 9× IÑ IÈ4РP×PˆKð NŠN˜d 1™g¨×)HÑ)HÑHØ×,Ò,ؐA‰w˜'Ò!Ø×$Ñ$Ô&àÐ&Ø×'Ò'¨K¸t×?SÑ?SÑ,SÜ3ØJóðð×$Ñ$×(Ñ(¨Õ5ؐa‘ × 6Ñ 6Ñ6Ü+Ø?ÀÀQÁ¸yðI>ð>óðð
34×2Ñ2°DÐC¸FÑCÐ CàÐ&Ø×$Ñ$×(Ñ(¨Ô5ä‘7Ñ*¨DÐ;°FÑ;Ð ;ð= 9ùðQús%ƒAE8Á E3Á =E8    E6Â
C*E8Å6E8có@—|jr td«‚d|_y)Nú"Cannot issue a WATCH after a MULTIT)r™rDršrÌs rer°z#TransactionStrategy._validate_watch–s€Ø × %Ò %ÜÐAÓBÐ Bàˆrgcóz‡‡‡K—‰jjˆˆˆfd„‰j«ƒd{–—†S7Œ­w)Ncó(•—‰j‰i‰¤ŽSrä)Ú _get_connection_and_send_command)r-ÚoptionsrÃs€€€rer´z@TransactionStrategy._immediate_execute_command.<locals>.<lambda>žsø€Ð9D×9Ñ9¸4ÐKÀ7ÑK€rg©r rÖÚ_reinitialize_on_error)rÃr-r¹s```rer²z.TransactionStrategy._immediate_execute_commandœs4úèø€Ø—[‘[×0Ñ0Ý KØ × 'Ñ 'ó
÷
ð    
ð
úó …/;´9µ;cózK—|j«\}}|j|||dg|¢­i|¤Žƒd{–—†S7Œ­wr¯)r£Ú_send_command_parse_response)rÃr-r¹Ú
redis_noderøs     rer¸z4TransactionStrategy._get_connection_and_send_command¢sSèø€Ø!%×!PÑ!PÓ!Rш
JØ6T×6Ñ6Ø ˜
 D¨¡Gð
Ø.2ò
Ø6=ñ
÷
ð    
ð
ús ‚2;´9µ;rør¿có¦K—|j|Žƒd{–—†|j||fi|¤Žƒd{–—†}||jvrd|_|S7Œ77Œ­w)z7
        Send a command and parse the response
        NF)rür¼ÚUNWATCH_COMMANDSrš)rÃrør¿Ú command_namer-r¹Úoutputs       rer¾z0TransactionStrategy._send_command_parse_response¨s]èø€ð&ˆj×%Ñ% tÐ,×,Ð,Ø0z×0Ñ0°¸\ÑUÈWÑU×Uˆà ˜4×0Ñ0Ñ 0Ø"ˆDŒN؈ ð     -øØUús‚A•A –A±A²AÁAcƒó8K—|jr.t|«|jvr|jr t    d«‚t|«|jvst|«|j
vr$|j rd|_|jjxjdz c_    |jjjr‰|jjj|jjjzdk(rE|jjjj«ƒd{–—†d|_    d|_yt|t«r/|jjjj|«d|_y7ŒZ­w)Nz-Slot rebalancing occurred while watching keysr§rF)ršrJr¡rŸrIÚCONNECTION_ERRORSržr_rrrrsrprÈrDr8rêrÚs  rer»z*TransactionStrategy._reinitialize_on_error»s:èø€Ø >Š>ܐE‹{˜d×7Ñ7Ñ7¸D¿OºOÜ Ð!PÓQÐQô ‹K˜4×4Ñ4Ñ 4ܐE‹{˜d×4Ñ4Ò4à×+Ò+Ø/3Ô,à J‰J× %Ñ %× :Ò :¸aÑ ?Õ :à—
‘
×)Ñ)×<Ò<Ø—J‘J×-Ñ-×BÑBØ—*‘*×+Ñ+×>Ñ>ñ?àòð—j‘j×/Ñ/×=Ñ=×HÑHÓJ×JÐJØ,-Ô)𠈍ô ˜e¤XÔ.Ø—J‘J×-Ñ-×;Ñ;×RÑRØô𠈍ðKús‚D;FÄ=FÄ>AFcó¤—t||«D]A\}}t|t«sŒ|j||jdz|j
«|‚y)z8
        Raise the first exception on the stack
        r§N)rYrDrÔrirEr-)rÃÚ    responsesr€Úrr²s     reÚ_raise_first_errorz&TransactionStrategy._raise_first_errorØsL€ô˜) UÓ+ò    ‰FˆAˆsܘ!œYÕ'Ø×(Ñ(¨¨C¯L©L¸1Ñ,<¸c¿h¹hÔGؐñ    rgr>rqcó—td«‚)Nz1Method is not supported in transactional context.)ÚNotImplementedErrorrAs  rer@z"TransactionStrategy.mset_nonatomicás€ô"Ð"UÓVÐVrgr&r'cƒó’K—|j}|s|jr |jsgS|j||«ƒd{–—†S7Œ­wrä)r`ršrœÚ!_execute_transaction_with_retries)rÃr&r'r€s    rerzTransactionStrategy.executeæsBèø€ð×#Ñ#ˆÙ˜dŸnšn°D×4HÒ4H؈Ià×;Ñ;¸EÀ>ÓR×RÐRÐRús‚>AÁAÁAr€rÁcƒóz‡‡‡K—‰jjˆˆˆfd„‰j«ƒd{–—†S7Œ­w)Ncó(•—‰j‰‰«Srä)Ú_execute_transaction)r&rÃr€s€€€rer´zGTransactionStrategy._execute_transaction_with_retries.<locals>.<lambda>ósø€D×-Ñ-¨e°^ÓD€rgrº)rÃr€r&s```rerÍz5TransactionStrategy._execute_transaction_with_retriesïs6úèø€ð—[‘[×0Ñ0Ý DØ × 'Ñ 'ó
÷
ð    
ð
úr¼c    ƒóRK—t|j«dkDr td«‚d|_|j    «\}}t t dd«g|t dd«g«}|Dcgc]!}t|jvsŒ|j‘Œ#}}|j|«}|j|«ƒd{–—†g}    |j|d«ƒd{–—†t#|j$«D]W\} } t| jvr%|j| | jtf«Œ=    |j|d«ƒd{–—†} ŒYd}    |j|d«ƒd{–—†}d|_d|_|€ t-d    «‚|D]\} }    |j/| |    «Œt|«t|j$«k7rIt1d
j3|j$Dcgc]}|jd‘Œc}t|«««‚|st|«dkDr|j5||j$«g}t7||j$«D]‹\}}t9|t:«se|jd}||j<j>j@vr4|j<j>j@||fi|j¤Ž}|j|«Œ|Scc}w7Œ(7Œ#t$r/}    |j|    dd«|j|    «Yd}    ~    Œ?d}    ~    w|j $r}
|j|
dd«‚d}
~
wwxYw7Œ#|j&$r<}|j|| dz| j«|j|«Yd}~Œ¡d}~w|j $r&}
|j|
| dz| j«‚d}
~
wt$r<}    |j|    | dz| j«|j|    «Yd}    ~    Œd}    ~    wwxYw7Œ­#t($r    |r|d‚‚wxYwcc}w­w) Nr§zDAll keys involved in a cluster transaction must map to the same slotTrÚMULTIr–r_FzWatched variable changed.zeUnexpected response length for cluster pipeline EXEC. Command stack was {} but response had length {})!rrœr=rŸr£rrÁr$r\r-rÄr¾r¼rErir¹rÅÚ    enumerater`r¡r?ršrIÚinsertr@ÚformatrÉrYrDrÔr_rrt)rÃr€r&r¿røÚcrÀÚpacked_commandsr…raÚ cluster_errorrr(r_Ú
slot_errorr»ÚdatarÈr²rÂs                    rerÐz(TransactionStrategy._execute_transaction÷sëèø€ô ˆt×#Ñ#Ó $ qÒ (Ü+ØVóð ðˆŒà!%×!PÑ!PÓ!Rш
JäÜ ˜Q Ó (Ð )Ø Ü ˜Q Ó 'Ð (ó
ˆð
%*ÖL˜q¬^À1Ç8Á8Ò-KA—F“FÐLˆÐLØ$×2Ñ2°8Ó<ˆØ×,Ñ,¨_Ó=×=Ð=؈𠠠  Ø×+Ñ+¨J¸Ó@× @Ð @ô$ D×$7Ñ$7Ó8ò    %‰JˆAˆwÜ §¡Ñ/Ø— ‘ ˜q '§.¡.´Ñ"@ÐAÕBð
%Ø(×7Ñ7¸
ÀCÓH×H‘Að     %ð ˆð    Ø'×6Ñ6°zÀ6ÓJ×JˆHð  ˆŒðˆŒà Ð ÜÐ8Ó9Ð 9ðò    "‰DˆAˆqØ O‰O˜A˜qÕ !ð    "ô ˆx‹=œC × 3Ñ 3Ó4Ò 4Ü&ðCßCIÁ6Ø(,×(;Ñ(;Ö< 1Q—V‘V˜A“YÒ<¼cÀ(»móDóð ñ œS ›[¨1š_Ø × #Ñ #ØØ×#Ñ#ô ð ˆÜ˜( D×$7Ñ$7Ó8ò    ‰FˆAˆsܘa¤Ô+Ø"Ÿx™x¨™{ Ø 4§:¡:×#<Ñ#<×#OÑ#OÑOØR˜Ÿ
™
×1Ñ1×DÑDÀ\ÑRØñØ ŸZ™ZñAð K‰K˜Nð    ðˆ ùòcMà=ùð AúÜò    Ø × $Ñ $ Q¨¨7Ô 3Ø M‰M˜!× Ò ûØ×%Ñ%ò    Ø × $Ñ $ ]°A°wÔ ?Ø ûð    úðIúØ×0Ñ0ò.Ø×,Ñ,¨Z¸¸Q¹ÀÇ Á ÔMØ—M‘M *×-Ò-ûØ×-Ñ-òØ×,Ñ,¨]¸AÀ¹EÀ7Ç<Á<ÔPØûÜ$ò%Ø×,Ñ,¨Q°°A±°w·|±|ÔDØ—M‘M !×$Ò$ûð%úðKúÜò    ÙؘQ‘iØ ð    üò*=ùsÿ‚A%P'Á'KÁ?K 'P'Â4KÂ5P'Â<K"ÃKÃK"ÃAP'Ä)MÄ>MÄ?MÅP'ÅP ÅP
ÅP Å"A6P'ÇP" Ç.C/P'ËK"Ë"    MË+$LÌP'ÌMÌ'L;Ì;MÍP'ÍMÍPÍ1N ÎP'Î PÎ!N?Î? PÏ 1PÏ<P'ÐPÐP'Ð
P Ð PÐP'cƒóK—g|_|jr~    |jrE|jjd«ƒd{–—†|jj    «ƒd{–—†|j
j |j«d|_d|_d|_d|_    t«|_ d|_ y7Œ~7Œ^#|j$r2|jr#|jj«ƒd{–—†7YŒpwxYw­w)Nr”F) r`ržršrürýrr¸rÅr¬r™r›rœrŸrÌs rerùzTransactionStrategy.reset[    sìèø€Ø ˆÔð × 'Ò 'ð DØ—>’>ð×6Ñ6×CÑCÀIÓN×NÐNØ×6Ñ6×DÑDÓF×FÐFð×&Ñ&×.Ñ.¨t×/KÑ/KÔLØ/3Ô,ð"&ˆÔ؈ŒØ%*ˆÔ"Ü"›uˆÔ؈ð!OøØFùð
×)Ñ)ò Dà×/Ò/Ø×6Ñ6×AÑAÓC×CÑCùð DüsX‚D—*CÁCÁ!CÁ#CÁ$0CÂ,DÃCÃCÃ8DÃ<C?Ã=DÄDÄDÄDcón—|jr td«‚|jr td«‚d|_y)Nz"Cannot issue nested calls to MULTIz:Commands without an initial WATCH have already been issuedT)r™rDr`rÌs rer2zTransactionStrategy.multiw    s:€Ø × %Ò %ÜÐAÓBÐ BØ × Ò ÜØLóð ð&*ˆÕ"rgc‡órK—|jr td«‚|jdg|¢­Žƒd{–—†S7Œ­w)Nrµr•)r™rDrbr7s  rer€zTransactionStrategy.watch€    s9èø€Ø × %Ò %ÜÐAÓBÐ Bà)T×)Ñ)¨'Ð:°EÒ:×:Ð:Ð:ús ‚.7°5±7cƒóZK—|jr|jd«ƒd{–—†Sy7Œ­w)Nr”T)ršrbrÌs rer;zTransactionStrategy.unwatch†    s)èø€Ø >Š>Ø×-Ñ-¨iÓ8×8Ð 8àð9ús ‚!+£)¤+cƒó@K—|j«ƒd{–—†y7Œ­wrärrÌs rer4zTransactionStrategy.discardŒ    rrÑc‡ó0K—|jdg|¢­ŽS­w)Nr)rbr7s  rer=zTransactionStrategy.unlink    sèø€Ø#ˆt×#Ñ# HÐ5¨uÒ5Ð5ùs‚rC)/rŠr‹rŒr®r¯rÁr8rBr¡r<ÚOSErrorr:rFrÅrqrÆrrXrr£rrLrKrrbrRr°r²r¸r¾r»rÉrrJr@rr rrÍrÐrùr2r€r;r4r=r‘r’s@rerr(sŠø„Ø"˜ ÐØ")¨9Ð!5ÐÚ5ÐØ$ jÐ1ÐàØØØð    Ðð 
˜_ð 
°õ 
ðDà    ˆ{˜JÐ&Ñ    'óDð6 U¨4°Ð+;Ñ%<ðÈðÐPUóð,"<ؘ4 Ð+Ñ,ð"<Ø8;ð"<à     õ"<òHò 
ò 
ð àðð óò& ò:ðWؘw¨
Ð2Ñ3ðWà    óWð GKñSØ"ðSØ?CðSà     ˆc‰óSð
ØÐ+Ñ,ð
Ø>Bó
ðbØÐ+Ñ,ðbØ>BóbòH ò8*ò;ò ò ö6rgr)~rÁrŸr    rr©r‚r“ÚabcrrrÚ    itertoolsrÚtypingrrr    r
r r r rrrrrrrÚredis._parsersrrÚredis._parsers.helpersrrrÚredis.asyncio.clientrÚredis.asyncio.connectionrrrÚredis.asyncio.lockrÚredis.asyncio.retryr Úredis.auth.tokenr!Ú redis.backoffr"r#Ú redis.clientr$r%r&Ú redis.clusterr'r(r)r*r+r,r-r.r/r0Úredis.commandsr1r2Ú    redis.crcr3r4Úredis.credentialsr5Ú redis.eventr6r7Úredis.exceptionsr8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIÚ redis.typingrJrKrLÚ redis.utilsrMrNrOrPrQrRrSr`rTrUrVrErWrZrXr»rqr(ÚreplaceÚlowerÚsetattrrÁrLr]rrrargreú<module>rùsÉðÛÛÛ Û ÛÛ Ûß#ÝÝ÷÷÷÷÷"8÷ñõ
3ßIÑIÝ#Ý%Ý+ßAßDÑD÷ ÷ ÷ ÷Dß8Ý0ßL÷÷÷÷÷÷(3Ñ2÷÷ññß7Ò7à€JØ€JØ€KáØC˜¨¨]Ñ(;¸TÀ#À}ÐBTÑ=Uó€ ô
p=Ð"6Ð8Qôp÷fX ñX ÷vsñsôl    V@mÐ%9Ð;TôV@ðr)òG€G؏o‰o˜c 3Ó'×-Ñ-Ó/€GØÐ"Ò"Øá ˆO˜WÑ&<¸WÓ&EÕFð G÷@ñ@ôa ˜ôa ôHC(Ð(ôC(ôLg8Ð'ôg8ôTh6Ð*õh6rg