valkey-glide 2.0.0__cp39-cp39-macosx_11_0_arm64.whl → 2.2.2__cp39-cp39-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. glide/__init__.py +152 -118
  2. glide/async_commands/cluster_commands.py +29 -14
  3. glide/async_commands/core.py +600 -414
  4. glide/async_commands/{server_modules/ft.py → ft.py} +8 -7
  5. glide/async_commands/{server_modules/glide_json.py → glide_json.py} +15 -92
  6. glide/async_commands/standalone_commands.py +10 -51
  7. glide/glide.cpython-39-darwin.so +0 -0
  8. glide/glide.pyi +1 -1
  9. glide/glide_client.py +54 -48
  10. glide/logger.py +3 -3
  11. glide/opentelemetry.py +8 -4
  12. glide_shared/__init__.py +330 -0
  13. glide_shared/commands/__init__.py +0 -0
  14. {glide/async_commands → glide_shared/commands}/batch.py +426 -32
  15. {glide/async_commands → glide_shared/commands}/batch_options.py +1 -1
  16. glide_shared/commands/core_options.py +407 -0
  17. {glide/async_commands → glide_shared/commands}/server_modules/ft_options/ft_aggregate_options.py +3 -3
  18. {glide/async_commands → glide_shared/commands}/server_modules/ft_options/ft_create_options.py +4 -2
  19. {glide/async_commands → glide_shared/commands}/server_modules/ft_options/ft_profile_options.py +4 -4
  20. {glide/async_commands → glide_shared/commands}/server_modules/ft_options/ft_search_options.py +4 -2
  21. {glide/async_commands → glide_shared/commands}/server_modules/json_batch.py +4 -4
  22. glide_shared/commands/server_modules/json_options.py +93 -0
  23. {glide/async_commands → glide_shared/commands}/sorted_set.py +2 -2
  24. {glide/async_commands → glide_shared/commands}/stream.py +1 -1
  25. {glide → glide_shared}/config.py +302 -58
  26. {glide → glide_shared}/constants.py +3 -3
  27. {glide → glide_shared}/exceptions.py +27 -1
  28. glide_shared/protobuf/command_request_pb2.py +56 -0
  29. glide_shared/protobuf/connection_request_pb2.py +56 -0
  30. {glide → glide_shared}/routes.py +29 -15
  31. {valkey_glide-2.0.0.dist-info → valkey_glide-2.2.2.dist-info}/METADATA +120 -58
  32. valkey_glide-2.2.2.dist-info/RECORD +40 -0
  33. glide/protobuf/command_request_pb2.py +0 -54
  34. glide/protobuf/command_request_pb2.pyi +0 -1193
  35. glide/protobuf/connection_request_pb2.py +0 -52
  36. glide/protobuf/connection_request_pb2.pyi +0 -299
  37. glide/protobuf/response_pb2.pyi +0 -106
  38. valkey_glide-2.0.0.dist-info/RECORD +0 -39
  39. {glide/async_commands → glide_shared/commands}/bitmap.py +0 -0
  40. {glide/async_commands → glide_shared/commands}/command_args.py +0 -0
  41. {glide/async_commands → glide_shared/commands}/server_modules/ft_options/ft_constants.py +0 -0
  42. {glide → glide_shared}/protobuf/response_pb2.py +0 -0
  43. {glide → glide_shared}/protobuf_codec.py +0 -0
  44. {valkey_glide-2.0.0.dist-info → valkey_glide-2.2.2.dist-info}/WHEEL +0 -0
@@ -1,1193 +0,0 @@
1
- """
2
- @generated by mypy-protobuf. Do not edit manually!
3
- isort:skip_file
4
- """
5
- import builtins
6
- import collections.abc
7
- import google.protobuf.descriptor
8
- import google.protobuf.internal.containers
9
- import google.protobuf.internal.enum_type_wrapper
10
- import google.protobuf.message
11
- import sys
12
- import typing
13
-
14
- if sys.version_info >= (3, 10):
15
- import typing as typing_extensions
16
- else:
17
- import typing_extensions
18
-
19
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
20
-
21
- class _SimpleRoutes:
22
- ValueType = typing.NewType("ValueType", builtins.int)
23
- V: typing_extensions.TypeAlias = ValueType
24
-
25
- class _SimpleRoutesEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SimpleRoutes.ValueType], builtins.type):
26
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
27
- AllNodes: _SimpleRoutes.ValueType # 0
28
- AllPrimaries: _SimpleRoutes.ValueType # 1
29
- Random: _SimpleRoutes.ValueType # 2
30
-
31
- class SimpleRoutes(_SimpleRoutes, metaclass=_SimpleRoutesEnumTypeWrapper): ...
32
-
33
- AllNodes: SimpleRoutes.ValueType # 0
34
- AllPrimaries: SimpleRoutes.ValueType # 1
35
- Random: SimpleRoutes.ValueType # 2
36
- global___SimpleRoutes = SimpleRoutes
37
-
38
- class _SlotTypes:
39
- ValueType = typing.NewType("ValueType", builtins.int)
40
- V: typing_extensions.TypeAlias = ValueType
41
-
42
- class _SlotTypesEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_SlotTypes.ValueType], builtins.type):
43
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
44
- Primary: _SlotTypes.ValueType # 0
45
- Replica: _SlotTypes.ValueType # 1
46
-
47
- class SlotTypes(_SlotTypes, metaclass=_SlotTypesEnumTypeWrapper): ...
48
-
49
- Primary: SlotTypes.ValueType # 0
50
- Replica: SlotTypes.ValueType # 1
51
- global___SlotTypes = SlotTypes
52
-
53
- class _RequestType:
54
- ValueType = typing.NewType("ValueType", builtins.int)
55
- V: typing_extensions.TypeAlias = ValueType
56
-
57
- class _RequestTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RequestType.ValueType], builtins.type):
58
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
59
- InvalidRequest: _RequestType.ValueType # 0
60
- """/ Invalid request type"""
61
- CustomCommand: _RequestType.ValueType # 1
62
- """/ An unknown command, where all arguments are defined by the user."""
63
- BitCount: _RequestType.ValueType # 101
64
- """// Bitmap commands"""
65
- BitField: _RequestType.ValueType # 102
66
- BitFieldReadOnly: _RequestType.ValueType # 103
67
- BitOp: _RequestType.ValueType # 104
68
- BitPos: _RequestType.ValueType # 105
69
- GetBit: _RequestType.ValueType # 106
70
- SetBit: _RequestType.ValueType # 107
71
- Asking: _RequestType.ValueType # 201
72
- """// Cluster commands"""
73
- ClusterAddSlots: _RequestType.ValueType # 202
74
- ClusterAddSlotsRange: _RequestType.ValueType # 203
75
- ClusterBumpEpoch: _RequestType.ValueType # 204
76
- ClusterCountFailureReports: _RequestType.ValueType # 205
77
- ClusterCountKeysInSlot: _RequestType.ValueType # 206
78
- ClusterDelSlots: _RequestType.ValueType # 207
79
- ClusterDelSlotsRange: _RequestType.ValueType # 208
80
- ClusterFailover: _RequestType.ValueType # 209
81
- ClusterFlushSlots: _RequestType.ValueType # 210
82
- ClusterForget: _RequestType.ValueType # 211
83
- ClusterGetKeysInSlot: _RequestType.ValueType # 212
84
- ClusterInfo: _RequestType.ValueType # 213
85
- ClusterKeySlot: _RequestType.ValueType # 214
86
- ClusterLinks: _RequestType.ValueType # 215
87
- ClusterMeet: _RequestType.ValueType # 216
88
- ClusterMyId: _RequestType.ValueType # 217
89
- ClusterMyShardId: _RequestType.ValueType # 218
90
- ClusterNodes: _RequestType.ValueType # 219
91
- ClusterReplicas: _RequestType.ValueType # 220
92
- ClusterReplicate: _RequestType.ValueType # 221
93
- ClusterReset: _RequestType.ValueType # 222
94
- ClusterSaveConfig: _RequestType.ValueType # 223
95
- ClusterSetConfigEpoch: _RequestType.ValueType # 224
96
- ClusterSetslot: _RequestType.ValueType # 225
97
- ClusterShards: _RequestType.ValueType # 226
98
- ClusterSlaves: _RequestType.ValueType # 227
99
- ClusterSlots: _RequestType.ValueType # 228
100
- ReadOnly: _RequestType.ValueType # 229
101
- ReadWrite: _RequestType.ValueType # 230
102
- Auth: _RequestType.ValueType # 301
103
- """// Connection Management commands"""
104
- ClientCaching: _RequestType.ValueType # 302
105
- ClientGetName: _RequestType.ValueType # 303
106
- ClientGetRedir: _RequestType.ValueType # 304
107
- ClientId: _RequestType.ValueType # 305
108
- ClientInfo: _RequestType.ValueType # 306
109
- ClientKillSimple: _RequestType.ValueType # 307
110
- ClientKill: _RequestType.ValueType # 308
111
- ClientList: _RequestType.ValueType # 309
112
- ClientNoEvict: _RequestType.ValueType # 310
113
- ClientNoTouch: _RequestType.ValueType # 311
114
- ClientPause: _RequestType.ValueType # 312
115
- ClientReply: _RequestType.ValueType # 313
116
- ClientSetInfo: _RequestType.ValueType # 314
117
- ClientSetName: _RequestType.ValueType # 315
118
- ClientTracking: _RequestType.ValueType # 316
119
- ClientTrackingInfo: _RequestType.ValueType # 317
120
- ClientUnblock: _RequestType.ValueType # 318
121
- ClientUnpause: _RequestType.ValueType # 319
122
- Echo: _RequestType.ValueType # 320
123
- Hello: _RequestType.ValueType # 321
124
- Ping: _RequestType.ValueType # 322
125
- Quit: _RequestType.ValueType # 323
126
- """deprecated in 7.2.0"""
127
- Reset: _RequestType.ValueType # 324
128
- Select: _RequestType.ValueType # 325
129
- Copy: _RequestType.ValueType # 401
130
- """// Generic commands"""
131
- Del: _RequestType.ValueType # 402
132
- Dump: _RequestType.ValueType # 403
133
- Exists: _RequestType.ValueType # 404
134
- Expire: _RequestType.ValueType # 405
135
- ExpireAt: _RequestType.ValueType # 406
136
- ExpireTime: _RequestType.ValueType # 407
137
- Keys: _RequestType.ValueType # 408
138
- Migrate: _RequestType.ValueType # 409
139
- Move: _RequestType.ValueType # 410
140
- ObjectEncoding: _RequestType.ValueType # 411
141
- ObjectFreq: _RequestType.ValueType # 412
142
- ObjectIdleTime: _RequestType.ValueType # 413
143
- ObjectRefCount: _RequestType.ValueType # 414
144
- Persist: _RequestType.ValueType # 415
145
- PExpire: _RequestType.ValueType # 416
146
- PExpireAt: _RequestType.ValueType # 417
147
- PExpireTime: _RequestType.ValueType # 418
148
- PTTL: _RequestType.ValueType # 419
149
- RandomKey: _RequestType.ValueType # 420
150
- Rename: _RequestType.ValueType # 421
151
- RenameNX: _RequestType.ValueType # 422
152
- Restore: _RequestType.ValueType # 423
153
- Scan: _RequestType.ValueType # 424
154
- Sort: _RequestType.ValueType # 425
155
- SortReadOnly: _RequestType.ValueType # 426
156
- Touch: _RequestType.ValueType # 427
157
- TTL: _RequestType.ValueType # 428
158
- Type: _RequestType.ValueType # 429
159
- Unlink: _RequestType.ValueType # 430
160
- Wait: _RequestType.ValueType # 431
161
- WaitAof: _RequestType.ValueType # 432
162
- GeoAdd: _RequestType.ValueType # 501
163
- """// Geospatial indices commands"""
164
- GeoDist: _RequestType.ValueType # 502
165
- GeoHash: _RequestType.ValueType # 503
166
- GeoPos: _RequestType.ValueType # 504
167
- GeoRadius: _RequestType.ValueType # 505
168
- GeoRadiusReadOnly: _RequestType.ValueType # 506
169
- """deprecated in 6.2.0"""
170
- GeoRadiusByMember: _RequestType.ValueType # 507
171
- GeoRadiusByMemberReadOnly: _RequestType.ValueType # 508
172
- """deprecated in 6.2.0"""
173
- GeoSearch: _RequestType.ValueType # 509
174
- GeoSearchStore: _RequestType.ValueType # 510
175
- HDel: _RequestType.ValueType # 601
176
- """// Hash commands"""
177
- HExists: _RequestType.ValueType # 602
178
- HGet: _RequestType.ValueType # 603
179
- HGetAll: _RequestType.ValueType # 604
180
- HIncrBy: _RequestType.ValueType # 605
181
- HIncrByFloat: _RequestType.ValueType # 606
182
- HKeys: _RequestType.ValueType # 607
183
- HLen: _RequestType.ValueType # 608
184
- HMGet: _RequestType.ValueType # 609
185
- HMSet: _RequestType.ValueType # 610
186
- HRandField: _RequestType.ValueType # 611
187
- HScan: _RequestType.ValueType # 612
188
- HSet: _RequestType.ValueType # 613
189
- HSetNX: _RequestType.ValueType # 614
190
- HStrlen: _RequestType.ValueType # 615
191
- HVals: _RequestType.ValueType # 616
192
- PfAdd: _RequestType.ValueType # 701
193
- """// HyperLogLog commands"""
194
- PfCount: _RequestType.ValueType # 702
195
- PfMerge: _RequestType.ValueType # 703
196
- BLMove: _RequestType.ValueType # 801
197
- """// List commands"""
198
- BLMPop: _RequestType.ValueType # 802
199
- BLPop: _RequestType.ValueType # 803
200
- BRPop: _RequestType.ValueType # 804
201
- BRPopLPush: _RequestType.ValueType # 805
202
- """deprecated in 6.2.0"""
203
- LIndex: _RequestType.ValueType # 806
204
- LInsert: _RequestType.ValueType # 807
205
- LLen: _RequestType.ValueType # 808
206
- LMove: _RequestType.ValueType # 809
207
- LMPop: _RequestType.ValueType # 810
208
- LPop: _RequestType.ValueType # 811
209
- LPos: _RequestType.ValueType # 812
210
- LPush: _RequestType.ValueType # 813
211
- LPushX: _RequestType.ValueType # 814
212
- LRange: _RequestType.ValueType # 815
213
- LRem: _RequestType.ValueType # 816
214
- LSet: _RequestType.ValueType # 817
215
- LTrim: _RequestType.ValueType # 818
216
- RPop: _RequestType.ValueType # 819
217
- RPopLPush: _RequestType.ValueType # 820
218
- """deprecated in 6.2.0"""
219
- RPush: _RequestType.ValueType # 821
220
- RPushX: _RequestType.ValueType # 822
221
- PSubscribe: _RequestType.ValueType # 901
222
- """// Pub/Sub commands"""
223
- Publish: _RequestType.ValueType # 902
224
- PubSubChannels: _RequestType.ValueType # 903
225
- PubSubNumPat: _RequestType.ValueType # 904
226
- PubSubNumSub: _RequestType.ValueType # 905
227
- PubSubShardChannels: _RequestType.ValueType # 906
228
- PubSubShardNumSub: _RequestType.ValueType # 907
229
- PUnsubscribe: _RequestType.ValueType # 908
230
- SPublish: _RequestType.ValueType # 909
231
- SSubscribe: _RequestType.ValueType # 910
232
- Subscribe: _RequestType.ValueType # 911
233
- SUnsubscribe: _RequestType.ValueType # 912
234
- Unsubscribe: _RequestType.ValueType # 913
235
- Eval: _RequestType.ValueType # 1001
236
- """// Scripting and Functions commands"""
237
- EvalReadOnly: _RequestType.ValueType # 1002
238
- EvalSha: _RequestType.ValueType # 1003
239
- EvalShaReadOnly: _RequestType.ValueType # 1004
240
- FCall: _RequestType.ValueType # 1005
241
- FCallReadOnly: _RequestType.ValueType # 1006
242
- FunctionDelete: _RequestType.ValueType # 1007
243
- FunctionDump: _RequestType.ValueType # 1008
244
- FunctionFlush: _RequestType.ValueType # 1009
245
- FunctionKill: _RequestType.ValueType # 1010
246
- FunctionList: _RequestType.ValueType # 1011
247
- FunctionLoad: _RequestType.ValueType # 1012
248
- FunctionRestore: _RequestType.ValueType # 1013
249
- FunctionStats: _RequestType.ValueType # 1014
250
- ScriptDebug: _RequestType.ValueType # 1015
251
- ScriptExists: _RequestType.ValueType # 1016
252
- ScriptFlush: _RequestType.ValueType # 1017
253
- ScriptKill: _RequestType.ValueType # 1018
254
- ScriptLoad: _RequestType.ValueType # 1019
255
- ScriptShow: _RequestType.ValueType # 1020
256
- AclCat: _RequestType.ValueType # 1101
257
- """// Server management commands"""
258
- AclDelUser: _RequestType.ValueType # 1102
259
- AclDryRun: _RequestType.ValueType # 1103
260
- AclGenPass: _RequestType.ValueType # 1104
261
- AclGetUser: _RequestType.ValueType # 1105
262
- AclList: _RequestType.ValueType # 1106
263
- AclLoad: _RequestType.ValueType # 1107
264
- AclLog: _RequestType.ValueType # 1108
265
- AclSave: _RequestType.ValueType # 1109
266
- AclSetSser: _RequestType.ValueType # 1110
267
- AclUsers: _RequestType.ValueType # 1111
268
- AclWhoami: _RequestType.ValueType # 1112
269
- BgRewriteAof: _RequestType.ValueType # 1113
270
- BgSave: _RequestType.ValueType # 1114
271
- Command_: _RequestType.ValueType # 1115
272
- """Command - renamed to avoid collisions"""
273
- CommandCount: _RequestType.ValueType # 1116
274
- CommandDocs: _RequestType.ValueType # 1117
275
- CommandGetKeys: _RequestType.ValueType # 1118
276
- CommandGetKeysAndFlags: _RequestType.ValueType # 1119
277
- CommandInfo: _RequestType.ValueType # 1120
278
- CommandList: _RequestType.ValueType # 1121
279
- ConfigGet: _RequestType.ValueType # 1122
280
- ConfigResetStat: _RequestType.ValueType # 1123
281
- ConfigRewrite: _RequestType.ValueType # 1124
282
- ConfigSet: _RequestType.ValueType # 1125
283
- DBSize: _RequestType.ValueType # 1126
284
- FailOver: _RequestType.ValueType # 1127
285
- FlushAll: _RequestType.ValueType # 1128
286
- FlushDB: _RequestType.ValueType # 1129
287
- Info: _RequestType.ValueType # 1130
288
- LastSave: _RequestType.ValueType # 1131
289
- LatencyDoctor: _RequestType.ValueType # 1132
290
- LatencyGraph: _RequestType.ValueType # 1133
291
- LatencyHistogram: _RequestType.ValueType # 1134
292
- LatencyHistory: _RequestType.ValueType # 1135
293
- LatencyLatest: _RequestType.ValueType # 1136
294
- LatencyReset: _RequestType.ValueType # 1137
295
- Lolwut: _RequestType.ValueType # 1138
296
- MemoryDoctor: _RequestType.ValueType # 1139
297
- MemoryMallocStats: _RequestType.ValueType # 1140
298
- MemoryPurge: _RequestType.ValueType # 1141
299
- MemoryStats: _RequestType.ValueType # 1142
300
- MemoryUsage: _RequestType.ValueType # 1143
301
- ModuleList: _RequestType.ValueType # 1144
302
- ModuleLoad: _RequestType.ValueType # 1145
303
- ModuleLoadEx: _RequestType.ValueType # 1146
304
- ModuleUnload: _RequestType.ValueType # 1147
305
- Monitor: _RequestType.ValueType # 1148
306
- PSync: _RequestType.ValueType # 1149
307
- ReplConf: _RequestType.ValueType # 1150
308
- ReplicaOf: _RequestType.ValueType # 1151
309
- RestoreAsking: _RequestType.ValueType # 1152
310
- Role: _RequestType.ValueType # 1153
311
- Save: _RequestType.ValueType # 1154
312
- ShutDown: _RequestType.ValueType # 1155
313
- SlaveOf: _RequestType.ValueType # 1156
314
- SlowLogGet: _RequestType.ValueType # 1157
315
- SlowLogLen: _RequestType.ValueType # 1158
316
- SlowLogReset: _RequestType.ValueType # 1159
317
- SwapDb: _RequestType.ValueType # 1160
318
- Sync: _RequestType.ValueType # 1161
319
- Time: _RequestType.ValueType # 1162
320
- SAdd: _RequestType.ValueType # 1201
321
- """// Set commands"""
322
- SCard: _RequestType.ValueType # 1202
323
- SDiff: _RequestType.ValueType # 1203
324
- SDiffStore: _RequestType.ValueType # 1204
325
- SInter: _RequestType.ValueType # 1205
326
- SInterCard: _RequestType.ValueType # 1206
327
- SInterStore: _RequestType.ValueType # 1207
328
- SIsMember: _RequestType.ValueType # 1208
329
- SMembers: _RequestType.ValueType # 1209
330
- SMIsMember: _RequestType.ValueType # 1210
331
- SMove: _RequestType.ValueType # 1211
332
- SPop: _RequestType.ValueType # 1212
333
- SRandMember: _RequestType.ValueType # 1213
334
- SRem: _RequestType.ValueType # 1214
335
- SScan: _RequestType.ValueType # 1215
336
- SUnion: _RequestType.ValueType # 1216
337
- SUnionStore: _RequestType.ValueType # 1217
338
- BZMPop: _RequestType.ValueType # 1301
339
- """// Sorted set commands"""
340
- BZPopMax: _RequestType.ValueType # 1302
341
- BZPopMin: _RequestType.ValueType # 1303
342
- ZAdd: _RequestType.ValueType # 1304
343
- ZCard: _RequestType.ValueType # 1305
344
- ZCount: _RequestType.ValueType # 1306
345
- ZDiff: _RequestType.ValueType # 1307
346
- ZDiffStore: _RequestType.ValueType # 1308
347
- ZIncrBy: _RequestType.ValueType # 1309
348
- ZInter: _RequestType.ValueType # 1310
349
- ZInterCard: _RequestType.ValueType # 1311
350
- ZInterStore: _RequestType.ValueType # 1312
351
- ZLexCount: _RequestType.ValueType # 1313
352
- ZMPop: _RequestType.ValueType # 1314
353
- ZMScore: _RequestType.ValueType # 1315
354
- ZPopMax: _RequestType.ValueType # 1316
355
- ZPopMin: _RequestType.ValueType # 1317
356
- ZRandMember: _RequestType.ValueType # 1318
357
- ZRange: _RequestType.ValueType # 1319
358
- ZRangeByLex: _RequestType.ValueType # 1320
359
- ZRangeByScore: _RequestType.ValueType # 1321
360
- ZRangeStore: _RequestType.ValueType # 1322
361
- ZRank: _RequestType.ValueType # 1323
362
- ZRem: _RequestType.ValueType # 1324
363
- ZRemRangeByLex: _RequestType.ValueType # 1325
364
- ZRemRangeByRank: _RequestType.ValueType # 1326
365
- ZRemRangeByScore: _RequestType.ValueType # 1327
366
- ZRevRange: _RequestType.ValueType # 1328
367
- ZRevRangeByLex: _RequestType.ValueType # 1329
368
- ZRevRangeByScore: _RequestType.ValueType # 1330
369
- ZRevRank: _RequestType.ValueType # 1331
370
- ZScan: _RequestType.ValueType # 1332
371
- ZScore: _RequestType.ValueType # 1333
372
- ZUnion: _RequestType.ValueType # 1334
373
- ZUnionStore: _RequestType.ValueType # 1335
374
- XAck: _RequestType.ValueType # 1401
375
- """// Stream commands"""
376
- XAdd: _RequestType.ValueType # 1402
377
- XAutoClaim: _RequestType.ValueType # 1403
378
- XClaim: _RequestType.ValueType # 1404
379
- XDel: _RequestType.ValueType # 1405
380
- XGroupCreate: _RequestType.ValueType # 1406
381
- XGroupCreateConsumer: _RequestType.ValueType # 1407
382
- XGroupDelConsumer: _RequestType.ValueType # 1408
383
- XGroupDestroy: _RequestType.ValueType # 1409
384
- XGroupSetId: _RequestType.ValueType # 1410
385
- XInfoConsumers: _RequestType.ValueType # 1411
386
- XInfoGroups: _RequestType.ValueType # 1412
387
- XInfoStream: _RequestType.ValueType # 1413
388
- XLen: _RequestType.ValueType # 1414
389
- XPending: _RequestType.ValueType # 1415
390
- XRange: _RequestType.ValueType # 1416
391
- XRead: _RequestType.ValueType # 1417
392
- XReadGroup: _RequestType.ValueType # 1418
393
- XRevRange: _RequestType.ValueType # 1419
394
- XSetId: _RequestType.ValueType # 1420
395
- XTrim: _RequestType.ValueType # 1421
396
- Append: _RequestType.ValueType # 1501
397
- """// String commands"""
398
- Decr: _RequestType.ValueType # 1502
399
- DecrBy: _RequestType.ValueType # 1503
400
- Get: _RequestType.ValueType # 1504
401
- GetDel: _RequestType.ValueType # 1505
402
- GetEx: _RequestType.ValueType # 1506
403
- GetRange: _RequestType.ValueType # 1507
404
- GetSet: _RequestType.ValueType # 1508
405
- """deprecated in 6.2.0"""
406
- Incr: _RequestType.ValueType # 1509
407
- IncrBy: _RequestType.ValueType # 1510
408
- IncrByFloat: _RequestType.ValueType # 1511
409
- LCS: _RequestType.ValueType # 1512
410
- MGet: _RequestType.ValueType # 1513
411
- MSet: _RequestType.ValueType # 1514
412
- MSetNX: _RequestType.ValueType # 1515
413
- PSetEx: _RequestType.ValueType # 1516
414
- """deprecated in 2.6.12"""
415
- Set: _RequestType.ValueType # 1517
416
- SetEx: _RequestType.ValueType # 1518
417
- """deprecated in 2.6.12"""
418
- SetNX: _RequestType.ValueType # 1519
419
- """deprecated in 2.6.12"""
420
- SetRange: _RequestType.ValueType # 1520
421
- Strlen: _RequestType.ValueType # 1521
422
- Substr: _RequestType.ValueType # 1522
423
- Discard: _RequestType.ValueType # 1601
424
- """// Transaction commands"""
425
- Exec: _RequestType.ValueType # 1602
426
- Multi: _RequestType.ValueType # 1603
427
- UnWatch: _RequestType.ValueType # 1604
428
- Watch: _RequestType.ValueType # 1605
429
- JsonArrAppend: _RequestType.ValueType # 2001
430
- """// JSON commands"""
431
- JsonArrIndex: _RequestType.ValueType # 2002
432
- JsonArrInsert: _RequestType.ValueType # 2003
433
- JsonArrLen: _RequestType.ValueType # 2004
434
- JsonArrPop: _RequestType.ValueType # 2005
435
- JsonArrTrim: _RequestType.ValueType # 2006
436
- JsonClear: _RequestType.ValueType # 2007
437
- JsonDebug: _RequestType.ValueType # 2008
438
- JsonDel: _RequestType.ValueType # 2009
439
- JsonForget: _RequestType.ValueType # 2010
440
- JsonGet: _RequestType.ValueType # 2011
441
- JsonMGet: _RequestType.ValueType # 2012
442
- JsonNumIncrBy: _RequestType.ValueType # 2013
443
- JsonNumMultBy: _RequestType.ValueType # 2014
444
- JsonObjKeys: _RequestType.ValueType # 2015
445
- JsonObjLen: _RequestType.ValueType # 2016
446
- JsonResp: _RequestType.ValueType # 2017
447
- JsonSet: _RequestType.ValueType # 2018
448
- JsonStrAppend: _RequestType.ValueType # 2019
449
- JsonStrLen: _RequestType.ValueType # 2020
450
- JsonToggle: _RequestType.ValueType # 2021
451
- JsonType: _RequestType.ValueType # 2022
452
- FtList: _RequestType.ValueType # 2101
453
- """// Vector Search commands"""
454
- FtAggregate: _RequestType.ValueType # 2102
455
- FtAliasAdd: _RequestType.ValueType # 2103
456
- FtAliasDel: _RequestType.ValueType # 2104
457
- FtAliasList: _RequestType.ValueType # 2105
458
- FtAliasUpdate: _RequestType.ValueType # 2106
459
- FtCreate: _RequestType.ValueType # 2107
460
- FtDropIndex: _RequestType.ValueType # 2108
461
- FtExplain: _RequestType.ValueType # 2109
462
- FtExplainCli: _RequestType.ValueType # 2110
463
- FtInfo: _RequestType.ValueType # 2111
464
- FtProfile: _RequestType.ValueType # 2112
465
- FtSearch: _RequestType.ValueType # 2113
466
-
467
- class RequestType(_RequestType, metaclass=_RequestTypeEnumTypeWrapper): ...
468
-
469
- InvalidRequest: RequestType.ValueType # 0
470
- """/ Invalid request type"""
471
- CustomCommand: RequestType.ValueType # 1
472
- """/ An unknown command, where all arguments are defined by the user."""
473
- BitCount: RequestType.ValueType # 101
474
- """// Bitmap commands"""
475
- BitField: RequestType.ValueType # 102
476
- BitFieldReadOnly: RequestType.ValueType # 103
477
- BitOp: RequestType.ValueType # 104
478
- BitPos: RequestType.ValueType # 105
479
- GetBit: RequestType.ValueType # 106
480
- SetBit: RequestType.ValueType # 107
481
- Asking: RequestType.ValueType # 201
482
- """// Cluster commands"""
483
- ClusterAddSlots: RequestType.ValueType # 202
484
- ClusterAddSlotsRange: RequestType.ValueType # 203
485
- ClusterBumpEpoch: RequestType.ValueType # 204
486
- ClusterCountFailureReports: RequestType.ValueType # 205
487
- ClusterCountKeysInSlot: RequestType.ValueType # 206
488
- ClusterDelSlots: RequestType.ValueType # 207
489
- ClusterDelSlotsRange: RequestType.ValueType # 208
490
- ClusterFailover: RequestType.ValueType # 209
491
- ClusterFlushSlots: RequestType.ValueType # 210
492
- ClusterForget: RequestType.ValueType # 211
493
- ClusterGetKeysInSlot: RequestType.ValueType # 212
494
- ClusterInfo: RequestType.ValueType # 213
495
- ClusterKeySlot: RequestType.ValueType # 214
496
- ClusterLinks: RequestType.ValueType # 215
497
- ClusterMeet: RequestType.ValueType # 216
498
- ClusterMyId: RequestType.ValueType # 217
499
- ClusterMyShardId: RequestType.ValueType # 218
500
- ClusterNodes: RequestType.ValueType # 219
501
- ClusterReplicas: RequestType.ValueType # 220
502
- ClusterReplicate: RequestType.ValueType # 221
503
- ClusterReset: RequestType.ValueType # 222
504
- ClusterSaveConfig: RequestType.ValueType # 223
505
- ClusterSetConfigEpoch: RequestType.ValueType # 224
506
- ClusterSetslot: RequestType.ValueType # 225
507
- ClusterShards: RequestType.ValueType # 226
508
- ClusterSlaves: RequestType.ValueType # 227
509
- ClusterSlots: RequestType.ValueType # 228
510
- ReadOnly: RequestType.ValueType # 229
511
- ReadWrite: RequestType.ValueType # 230
512
- Auth: RequestType.ValueType # 301
513
- """// Connection Management commands"""
514
- ClientCaching: RequestType.ValueType # 302
515
- ClientGetName: RequestType.ValueType # 303
516
- ClientGetRedir: RequestType.ValueType # 304
517
- ClientId: RequestType.ValueType # 305
518
- ClientInfo: RequestType.ValueType # 306
519
- ClientKillSimple: RequestType.ValueType # 307
520
- ClientKill: RequestType.ValueType # 308
521
- ClientList: RequestType.ValueType # 309
522
- ClientNoEvict: RequestType.ValueType # 310
523
- ClientNoTouch: RequestType.ValueType # 311
524
- ClientPause: RequestType.ValueType # 312
525
- ClientReply: RequestType.ValueType # 313
526
- ClientSetInfo: RequestType.ValueType # 314
527
- ClientSetName: RequestType.ValueType # 315
528
- ClientTracking: RequestType.ValueType # 316
529
- ClientTrackingInfo: RequestType.ValueType # 317
530
- ClientUnblock: RequestType.ValueType # 318
531
- ClientUnpause: RequestType.ValueType # 319
532
- Echo: RequestType.ValueType # 320
533
- Hello: RequestType.ValueType # 321
534
- Ping: RequestType.ValueType # 322
535
- Quit: RequestType.ValueType # 323
536
- """deprecated in 7.2.0"""
537
- Reset: RequestType.ValueType # 324
538
- Select: RequestType.ValueType # 325
539
- Copy: RequestType.ValueType # 401
540
- """// Generic commands"""
541
- Del: RequestType.ValueType # 402
542
- Dump: RequestType.ValueType # 403
543
- Exists: RequestType.ValueType # 404
544
- Expire: RequestType.ValueType # 405
545
- ExpireAt: RequestType.ValueType # 406
546
- ExpireTime: RequestType.ValueType # 407
547
- Keys: RequestType.ValueType # 408
548
- Migrate: RequestType.ValueType # 409
549
- Move: RequestType.ValueType # 410
550
- ObjectEncoding: RequestType.ValueType # 411
551
- ObjectFreq: RequestType.ValueType # 412
552
- ObjectIdleTime: RequestType.ValueType # 413
553
- ObjectRefCount: RequestType.ValueType # 414
554
- Persist: RequestType.ValueType # 415
555
- PExpire: RequestType.ValueType # 416
556
- PExpireAt: RequestType.ValueType # 417
557
- PExpireTime: RequestType.ValueType # 418
558
- PTTL: RequestType.ValueType # 419
559
- RandomKey: RequestType.ValueType # 420
560
- Rename: RequestType.ValueType # 421
561
- RenameNX: RequestType.ValueType # 422
562
- Restore: RequestType.ValueType # 423
563
- Scan: RequestType.ValueType # 424
564
- Sort: RequestType.ValueType # 425
565
- SortReadOnly: RequestType.ValueType # 426
566
- Touch: RequestType.ValueType # 427
567
- TTL: RequestType.ValueType # 428
568
- Type: RequestType.ValueType # 429
569
- Unlink: RequestType.ValueType # 430
570
- Wait: RequestType.ValueType # 431
571
- WaitAof: RequestType.ValueType # 432
572
- GeoAdd: RequestType.ValueType # 501
573
- """// Geospatial indices commands"""
574
- GeoDist: RequestType.ValueType # 502
575
- GeoHash: RequestType.ValueType # 503
576
- GeoPos: RequestType.ValueType # 504
577
- GeoRadius: RequestType.ValueType # 505
578
- GeoRadiusReadOnly: RequestType.ValueType # 506
579
- """deprecated in 6.2.0"""
580
- GeoRadiusByMember: RequestType.ValueType # 507
581
- GeoRadiusByMemberReadOnly: RequestType.ValueType # 508
582
- """deprecated in 6.2.0"""
583
- GeoSearch: RequestType.ValueType # 509
584
- GeoSearchStore: RequestType.ValueType # 510
585
- HDel: RequestType.ValueType # 601
586
- """// Hash commands"""
587
- HExists: RequestType.ValueType # 602
588
- HGet: RequestType.ValueType # 603
589
- HGetAll: RequestType.ValueType # 604
590
- HIncrBy: RequestType.ValueType # 605
591
- HIncrByFloat: RequestType.ValueType # 606
592
- HKeys: RequestType.ValueType # 607
593
- HLen: RequestType.ValueType # 608
594
- HMGet: RequestType.ValueType # 609
595
- HMSet: RequestType.ValueType # 610
596
- HRandField: RequestType.ValueType # 611
597
- HScan: RequestType.ValueType # 612
598
- HSet: RequestType.ValueType # 613
599
- HSetNX: RequestType.ValueType # 614
600
- HStrlen: RequestType.ValueType # 615
601
- HVals: RequestType.ValueType # 616
602
- PfAdd: RequestType.ValueType # 701
603
- """// HyperLogLog commands"""
604
- PfCount: RequestType.ValueType # 702
605
- PfMerge: RequestType.ValueType # 703
606
- BLMove: RequestType.ValueType # 801
607
- """// List commands"""
608
- BLMPop: RequestType.ValueType # 802
609
- BLPop: RequestType.ValueType # 803
610
- BRPop: RequestType.ValueType # 804
611
- BRPopLPush: RequestType.ValueType # 805
612
- """deprecated in 6.2.0"""
613
- LIndex: RequestType.ValueType # 806
614
- LInsert: RequestType.ValueType # 807
615
- LLen: RequestType.ValueType # 808
616
- LMove: RequestType.ValueType # 809
617
- LMPop: RequestType.ValueType # 810
618
- LPop: RequestType.ValueType # 811
619
- LPos: RequestType.ValueType # 812
620
- LPush: RequestType.ValueType # 813
621
- LPushX: RequestType.ValueType # 814
622
- LRange: RequestType.ValueType # 815
623
- LRem: RequestType.ValueType # 816
624
- LSet: RequestType.ValueType # 817
625
- LTrim: RequestType.ValueType # 818
626
- RPop: RequestType.ValueType # 819
627
- RPopLPush: RequestType.ValueType # 820
628
- """deprecated in 6.2.0"""
629
- RPush: RequestType.ValueType # 821
630
- RPushX: RequestType.ValueType # 822
631
- PSubscribe: RequestType.ValueType # 901
632
- """// Pub/Sub commands"""
633
- Publish: RequestType.ValueType # 902
634
- PubSubChannels: RequestType.ValueType # 903
635
- PubSubNumPat: RequestType.ValueType # 904
636
- PubSubNumSub: RequestType.ValueType # 905
637
- PubSubShardChannels: RequestType.ValueType # 906
638
- PubSubShardNumSub: RequestType.ValueType # 907
639
- PUnsubscribe: RequestType.ValueType # 908
640
- SPublish: RequestType.ValueType # 909
641
- SSubscribe: RequestType.ValueType # 910
642
- Subscribe: RequestType.ValueType # 911
643
- SUnsubscribe: RequestType.ValueType # 912
644
- Unsubscribe: RequestType.ValueType # 913
645
- Eval: RequestType.ValueType # 1001
646
- """// Scripting and Functions commands"""
647
- EvalReadOnly: RequestType.ValueType # 1002
648
- EvalSha: RequestType.ValueType # 1003
649
- EvalShaReadOnly: RequestType.ValueType # 1004
650
- FCall: RequestType.ValueType # 1005
651
- FCallReadOnly: RequestType.ValueType # 1006
652
- FunctionDelete: RequestType.ValueType # 1007
653
- FunctionDump: RequestType.ValueType # 1008
654
- FunctionFlush: RequestType.ValueType # 1009
655
- FunctionKill: RequestType.ValueType # 1010
656
- FunctionList: RequestType.ValueType # 1011
657
- FunctionLoad: RequestType.ValueType # 1012
658
- FunctionRestore: RequestType.ValueType # 1013
659
- FunctionStats: RequestType.ValueType # 1014
660
- ScriptDebug: RequestType.ValueType # 1015
661
- ScriptExists: RequestType.ValueType # 1016
662
- ScriptFlush: RequestType.ValueType # 1017
663
- ScriptKill: RequestType.ValueType # 1018
664
- ScriptLoad: RequestType.ValueType # 1019
665
- ScriptShow: RequestType.ValueType # 1020
666
- AclCat: RequestType.ValueType # 1101
667
- """// Server management commands"""
668
- AclDelUser: RequestType.ValueType # 1102
669
- AclDryRun: RequestType.ValueType # 1103
670
- AclGenPass: RequestType.ValueType # 1104
671
- AclGetUser: RequestType.ValueType # 1105
672
- AclList: RequestType.ValueType # 1106
673
- AclLoad: RequestType.ValueType # 1107
674
- AclLog: RequestType.ValueType # 1108
675
- AclSave: RequestType.ValueType # 1109
676
- AclSetSser: RequestType.ValueType # 1110
677
- AclUsers: RequestType.ValueType # 1111
678
- AclWhoami: RequestType.ValueType # 1112
679
- BgRewriteAof: RequestType.ValueType # 1113
680
- BgSave: RequestType.ValueType # 1114
681
- Command_: RequestType.ValueType # 1115
682
- """Command - renamed to avoid collisions"""
683
- CommandCount: RequestType.ValueType # 1116
684
- CommandDocs: RequestType.ValueType # 1117
685
- CommandGetKeys: RequestType.ValueType # 1118
686
- CommandGetKeysAndFlags: RequestType.ValueType # 1119
687
- CommandInfo: RequestType.ValueType # 1120
688
- CommandList: RequestType.ValueType # 1121
689
- ConfigGet: RequestType.ValueType # 1122
690
- ConfigResetStat: RequestType.ValueType # 1123
691
- ConfigRewrite: RequestType.ValueType # 1124
692
- ConfigSet: RequestType.ValueType # 1125
693
- DBSize: RequestType.ValueType # 1126
694
- FailOver: RequestType.ValueType # 1127
695
- FlushAll: RequestType.ValueType # 1128
696
- FlushDB: RequestType.ValueType # 1129
697
- Info: RequestType.ValueType # 1130
698
- LastSave: RequestType.ValueType # 1131
699
- LatencyDoctor: RequestType.ValueType # 1132
700
- LatencyGraph: RequestType.ValueType # 1133
701
- LatencyHistogram: RequestType.ValueType # 1134
702
- LatencyHistory: RequestType.ValueType # 1135
703
- LatencyLatest: RequestType.ValueType # 1136
704
- LatencyReset: RequestType.ValueType # 1137
705
- Lolwut: RequestType.ValueType # 1138
706
- MemoryDoctor: RequestType.ValueType # 1139
707
- MemoryMallocStats: RequestType.ValueType # 1140
708
- MemoryPurge: RequestType.ValueType # 1141
709
- MemoryStats: RequestType.ValueType # 1142
710
- MemoryUsage: RequestType.ValueType # 1143
711
- ModuleList: RequestType.ValueType # 1144
712
- ModuleLoad: RequestType.ValueType # 1145
713
- ModuleLoadEx: RequestType.ValueType # 1146
714
- ModuleUnload: RequestType.ValueType # 1147
715
- Monitor: RequestType.ValueType # 1148
716
- PSync: RequestType.ValueType # 1149
717
- ReplConf: RequestType.ValueType # 1150
718
- ReplicaOf: RequestType.ValueType # 1151
719
- RestoreAsking: RequestType.ValueType # 1152
720
- Role: RequestType.ValueType # 1153
721
- Save: RequestType.ValueType # 1154
722
- ShutDown: RequestType.ValueType # 1155
723
- SlaveOf: RequestType.ValueType # 1156
724
- SlowLogGet: RequestType.ValueType # 1157
725
- SlowLogLen: RequestType.ValueType # 1158
726
- SlowLogReset: RequestType.ValueType # 1159
727
- SwapDb: RequestType.ValueType # 1160
728
- Sync: RequestType.ValueType # 1161
729
- Time: RequestType.ValueType # 1162
730
- SAdd: RequestType.ValueType # 1201
731
- """// Set commands"""
732
- SCard: RequestType.ValueType # 1202
733
- SDiff: RequestType.ValueType # 1203
734
- SDiffStore: RequestType.ValueType # 1204
735
- SInter: RequestType.ValueType # 1205
736
- SInterCard: RequestType.ValueType # 1206
737
- SInterStore: RequestType.ValueType # 1207
738
- SIsMember: RequestType.ValueType # 1208
739
- SMembers: RequestType.ValueType # 1209
740
- SMIsMember: RequestType.ValueType # 1210
741
- SMove: RequestType.ValueType # 1211
742
- SPop: RequestType.ValueType # 1212
743
- SRandMember: RequestType.ValueType # 1213
744
- SRem: RequestType.ValueType # 1214
745
- SScan: RequestType.ValueType # 1215
746
- SUnion: RequestType.ValueType # 1216
747
- SUnionStore: RequestType.ValueType # 1217
748
- BZMPop: RequestType.ValueType # 1301
749
- """// Sorted set commands"""
750
- BZPopMax: RequestType.ValueType # 1302
751
- BZPopMin: RequestType.ValueType # 1303
752
- ZAdd: RequestType.ValueType # 1304
753
- ZCard: RequestType.ValueType # 1305
754
- ZCount: RequestType.ValueType # 1306
755
- ZDiff: RequestType.ValueType # 1307
756
- ZDiffStore: RequestType.ValueType # 1308
757
- ZIncrBy: RequestType.ValueType # 1309
758
- ZInter: RequestType.ValueType # 1310
759
- ZInterCard: RequestType.ValueType # 1311
760
- ZInterStore: RequestType.ValueType # 1312
761
- ZLexCount: RequestType.ValueType # 1313
762
- ZMPop: RequestType.ValueType # 1314
763
- ZMScore: RequestType.ValueType # 1315
764
- ZPopMax: RequestType.ValueType # 1316
765
- ZPopMin: RequestType.ValueType # 1317
766
- ZRandMember: RequestType.ValueType # 1318
767
- ZRange: RequestType.ValueType # 1319
768
- ZRangeByLex: RequestType.ValueType # 1320
769
- ZRangeByScore: RequestType.ValueType # 1321
770
- ZRangeStore: RequestType.ValueType # 1322
771
- ZRank: RequestType.ValueType # 1323
772
- ZRem: RequestType.ValueType # 1324
773
- ZRemRangeByLex: RequestType.ValueType # 1325
774
- ZRemRangeByRank: RequestType.ValueType # 1326
775
- ZRemRangeByScore: RequestType.ValueType # 1327
776
- ZRevRange: RequestType.ValueType # 1328
777
- ZRevRangeByLex: RequestType.ValueType # 1329
778
- ZRevRangeByScore: RequestType.ValueType # 1330
779
- ZRevRank: RequestType.ValueType # 1331
780
- ZScan: RequestType.ValueType # 1332
781
- ZScore: RequestType.ValueType # 1333
782
- ZUnion: RequestType.ValueType # 1334
783
- ZUnionStore: RequestType.ValueType # 1335
784
- XAck: RequestType.ValueType # 1401
785
- """// Stream commands"""
786
- XAdd: RequestType.ValueType # 1402
787
- XAutoClaim: RequestType.ValueType # 1403
788
- XClaim: RequestType.ValueType # 1404
789
- XDel: RequestType.ValueType # 1405
790
- XGroupCreate: RequestType.ValueType # 1406
791
- XGroupCreateConsumer: RequestType.ValueType # 1407
792
- XGroupDelConsumer: RequestType.ValueType # 1408
793
- XGroupDestroy: RequestType.ValueType # 1409
794
- XGroupSetId: RequestType.ValueType # 1410
795
- XInfoConsumers: RequestType.ValueType # 1411
796
- XInfoGroups: RequestType.ValueType # 1412
797
- XInfoStream: RequestType.ValueType # 1413
798
- XLen: RequestType.ValueType # 1414
799
- XPending: RequestType.ValueType # 1415
800
- XRange: RequestType.ValueType # 1416
801
- XRead: RequestType.ValueType # 1417
802
- XReadGroup: RequestType.ValueType # 1418
803
- XRevRange: RequestType.ValueType # 1419
804
- XSetId: RequestType.ValueType # 1420
805
- XTrim: RequestType.ValueType # 1421
806
- Append: RequestType.ValueType # 1501
807
- """// String commands"""
808
- Decr: RequestType.ValueType # 1502
809
- DecrBy: RequestType.ValueType # 1503
810
- Get: RequestType.ValueType # 1504
811
- GetDel: RequestType.ValueType # 1505
812
- GetEx: RequestType.ValueType # 1506
813
- GetRange: RequestType.ValueType # 1507
814
- GetSet: RequestType.ValueType # 1508
815
- """deprecated in 6.2.0"""
816
- Incr: RequestType.ValueType # 1509
817
- IncrBy: RequestType.ValueType # 1510
818
- IncrByFloat: RequestType.ValueType # 1511
819
- LCS: RequestType.ValueType # 1512
820
- MGet: RequestType.ValueType # 1513
821
- MSet: RequestType.ValueType # 1514
822
- MSetNX: RequestType.ValueType # 1515
823
- PSetEx: RequestType.ValueType # 1516
824
- """deprecated in 2.6.12"""
825
- Set: RequestType.ValueType # 1517
826
- SetEx: RequestType.ValueType # 1518
827
- """deprecated in 2.6.12"""
828
- SetNX: RequestType.ValueType # 1519
829
- """deprecated in 2.6.12"""
830
- SetRange: RequestType.ValueType # 1520
831
- Strlen: RequestType.ValueType # 1521
832
- Substr: RequestType.ValueType # 1522
833
- Discard: RequestType.ValueType # 1601
834
- """// Transaction commands"""
835
- Exec: RequestType.ValueType # 1602
836
- Multi: RequestType.ValueType # 1603
837
- UnWatch: RequestType.ValueType # 1604
838
- Watch: RequestType.ValueType # 1605
839
- JsonArrAppend: RequestType.ValueType # 2001
840
- """// JSON commands"""
841
- JsonArrIndex: RequestType.ValueType # 2002
842
- JsonArrInsert: RequestType.ValueType # 2003
843
- JsonArrLen: RequestType.ValueType # 2004
844
- JsonArrPop: RequestType.ValueType # 2005
845
- JsonArrTrim: RequestType.ValueType # 2006
846
- JsonClear: RequestType.ValueType # 2007
847
- JsonDebug: RequestType.ValueType # 2008
848
- JsonDel: RequestType.ValueType # 2009
849
- JsonForget: RequestType.ValueType # 2010
850
- JsonGet: RequestType.ValueType # 2011
851
- JsonMGet: RequestType.ValueType # 2012
852
- JsonNumIncrBy: RequestType.ValueType # 2013
853
- JsonNumMultBy: RequestType.ValueType # 2014
854
- JsonObjKeys: RequestType.ValueType # 2015
855
- JsonObjLen: RequestType.ValueType # 2016
856
- JsonResp: RequestType.ValueType # 2017
857
- JsonSet: RequestType.ValueType # 2018
858
- JsonStrAppend: RequestType.ValueType # 2019
859
- JsonStrLen: RequestType.ValueType # 2020
860
- JsonToggle: RequestType.ValueType # 2021
861
- JsonType: RequestType.ValueType # 2022
862
- FtList: RequestType.ValueType # 2101
863
- """// Vector Search commands"""
864
- FtAggregate: RequestType.ValueType # 2102
865
- FtAliasAdd: RequestType.ValueType # 2103
866
- FtAliasDel: RequestType.ValueType # 2104
867
- FtAliasList: RequestType.ValueType # 2105
868
- FtAliasUpdate: RequestType.ValueType # 2106
869
- FtCreate: RequestType.ValueType # 2107
870
- FtDropIndex: RequestType.ValueType # 2108
871
- FtExplain: RequestType.ValueType # 2109
872
- FtExplainCli: RequestType.ValueType # 2110
873
- FtInfo: RequestType.ValueType # 2111
874
- FtProfile: RequestType.ValueType # 2112
875
- FtSearch: RequestType.ValueType # 2113
876
- global___RequestType = RequestType
877
-
878
- @typing_extensions.final
879
- class SlotIdRoute(google.protobuf.message.Message):
880
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
881
-
882
- SLOT_TYPE_FIELD_NUMBER: builtins.int
883
- SLOT_ID_FIELD_NUMBER: builtins.int
884
- slot_type: global___SlotTypes.ValueType
885
- slot_id: builtins.int
886
- def __init__(
887
- self,
888
- *,
889
- slot_type: global___SlotTypes.ValueType = ...,
890
- slot_id: builtins.int = ...,
891
- ) -> None: ...
892
- def ClearField(self, field_name: typing_extensions.Literal["slot_id", b"slot_id", "slot_type", b"slot_type"]) -> None: ...
893
-
894
- global___SlotIdRoute = SlotIdRoute
895
-
896
- @typing_extensions.final
897
- class SlotKeyRoute(google.protobuf.message.Message):
898
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
899
-
900
- SLOT_TYPE_FIELD_NUMBER: builtins.int
901
- SLOT_KEY_FIELD_NUMBER: builtins.int
902
- slot_type: global___SlotTypes.ValueType
903
- slot_key: builtins.str
904
- def __init__(
905
- self,
906
- *,
907
- slot_type: global___SlotTypes.ValueType = ...,
908
- slot_key: builtins.str = ...,
909
- ) -> None: ...
910
- def ClearField(self, field_name: typing_extensions.Literal["slot_key", b"slot_key", "slot_type", b"slot_type"]) -> None: ...
911
-
912
- global___SlotKeyRoute = SlotKeyRoute
913
-
914
- @typing_extensions.final
915
- class ByAddressRoute(google.protobuf.message.Message):
916
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
917
-
918
- HOST_FIELD_NUMBER: builtins.int
919
- PORT_FIELD_NUMBER: builtins.int
920
- host: builtins.str
921
- port: builtins.int
922
- def __init__(
923
- self,
924
- *,
925
- host: builtins.str = ...,
926
- port: builtins.int = ...,
927
- ) -> None: ...
928
- def ClearField(self, field_name: typing_extensions.Literal["host", b"host", "port", b"port"]) -> None: ...
929
-
930
- global___ByAddressRoute = ByAddressRoute
931
-
932
- @typing_extensions.final
933
- class Routes(google.protobuf.message.Message):
934
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
935
-
936
- SIMPLE_ROUTES_FIELD_NUMBER: builtins.int
937
- SLOT_KEY_ROUTE_FIELD_NUMBER: builtins.int
938
- SLOT_ID_ROUTE_FIELD_NUMBER: builtins.int
939
- BY_ADDRESS_ROUTE_FIELD_NUMBER: builtins.int
940
- simple_routes: global___SimpleRoutes.ValueType
941
- @property
942
- def slot_key_route(self) -> global___SlotKeyRoute: ...
943
- @property
944
- def slot_id_route(self) -> global___SlotIdRoute: ...
945
- @property
946
- def by_address_route(self) -> global___ByAddressRoute: ...
947
- def __init__(
948
- self,
949
- *,
950
- simple_routes: global___SimpleRoutes.ValueType = ...,
951
- slot_key_route: global___SlotKeyRoute | None = ...,
952
- slot_id_route: global___SlotIdRoute | None = ...,
953
- by_address_route: global___ByAddressRoute | None = ...,
954
- ) -> None: ...
955
- def HasField(self, field_name: typing_extensions.Literal["by_address_route", b"by_address_route", "simple_routes", b"simple_routes", "slot_id_route", b"slot_id_route", "slot_key_route", b"slot_key_route", "value", b"value"]) -> builtins.bool: ...
956
- def ClearField(self, field_name: typing_extensions.Literal["by_address_route", b"by_address_route", "simple_routes", b"simple_routes", "slot_id_route", b"slot_id_route", "slot_key_route", b"slot_key_route", "value", b"value"]) -> None: ...
957
- def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["simple_routes", "slot_key_route", "slot_id_route", "by_address_route"] | None: ...
958
-
959
- global___Routes = Routes
960
-
961
- @typing_extensions.final
962
- class Command(google.protobuf.message.Message):
963
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
964
-
965
- @typing_extensions.final
966
- class ArgsArray(google.protobuf.message.Message):
967
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
968
-
969
- ARGS_FIELD_NUMBER: builtins.int
970
- @property
971
- def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
972
- def __init__(
973
- self,
974
- *,
975
- args: collections.abc.Iterable[builtins.bytes] | None = ...,
976
- ) -> None: ...
977
- def ClearField(self, field_name: typing_extensions.Literal["args", b"args"]) -> None: ...
978
-
979
- REQUEST_TYPE_FIELD_NUMBER: builtins.int
980
- ARGS_ARRAY_FIELD_NUMBER: builtins.int
981
- ARGS_VEC_POINTER_FIELD_NUMBER: builtins.int
982
- request_type: global___RequestType.ValueType
983
- @property
984
- def args_array(self) -> global___Command.ArgsArray: ...
985
- args_vec_pointer: builtins.int
986
- def __init__(
987
- self,
988
- *,
989
- request_type: global___RequestType.ValueType = ...,
990
- args_array: global___Command.ArgsArray | None = ...,
991
- args_vec_pointer: builtins.int = ...,
992
- ) -> None: ...
993
- def HasField(self, field_name: typing_extensions.Literal["args", b"args", "args_array", b"args_array", "args_vec_pointer", b"args_vec_pointer"]) -> builtins.bool: ...
994
- def ClearField(self, field_name: typing_extensions.Literal["args", b"args", "args_array", b"args_array", "args_vec_pointer", b"args_vec_pointer", "request_type", b"request_type"]) -> None: ...
995
- def WhichOneof(self, oneof_group: typing_extensions.Literal["args", b"args"]) -> typing_extensions.Literal["args_array", "args_vec_pointer"] | None: ...
996
-
997
- global___Command = Command
998
-
999
- @typing_extensions.final
1000
- class ScriptInvocationPointers(google.protobuf.message.Message):
1001
- """Used for script requests with large keys or args vectors"""
1002
-
1003
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1004
-
1005
- HASH_FIELD_NUMBER: builtins.int
1006
- KEYS_POINTER_FIELD_NUMBER: builtins.int
1007
- ARGS_POINTER_FIELD_NUMBER: builtins.int
1008
- hash: builtins.str
1009
- keys_pointer: builtins.int
1010
- args_pointer: builtins.int
1011
- def __init__(
1012
- self,
1013
- *,
1014
- hash: builtins.str = ...,
1015
- keys_pointer: builtins.int | None = ...,
1016
- args_pointer: builtins.int | None = ...,
1017
- ) -> None: ...
1018
- def HasField(self, field_name: typing_extensions.Literal["_args_pointer", b"_args_pointer", "_keys_pointer", b"_keys_pointer", "args_pointer", b"args_pointer", "keys_pointer", b"keys_pointer"]) -> builtins.bool: ...
1019
- def ClearField(self, field_name: typing_extensions.Literal["_args_pointer", b"_args_pointer", "_keys_pointer", b"_keys_pointer", "args_pointer", b"args_pointer", "hash", b"hash", "keys_pointer", b"keys_pointer"]) -> None: ...
1020
- @typing.overload
1021
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_args_pointer", b"_args_pointer"]) -> typing_extensions.Literal["args_pointer"] | None: ...
1022
- @typing.overload
1023
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_keys_pointer", b"_keys_pointer"]) -> typing_extensions.Literal["keys_pointer"] | None: ...
1024
-
1025
- global___ScriptInvocationPointers = ScriptInvocationPointers
1026
-
1027
- @typing_extensions.final
1028
- class ScriptInvocation(google.protobuf.message.Message):
1029
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1030
-
1031
- HASH_FIELD_NUMBER: builtins.int
1032
- KEYS_FIELD_NUMBER: builtins.int
1033
- ARGS_FIELD_NUMBER: builtins.int
1034
- hash: builtins.str
1035
- @property
1036
- def keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
1037
- @property
1038
- def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
1039
- def __init__(
1040
- self,
1041
- *,
1042
- hash: builtins.str = ...,
1043
- keys: collections.abc.Iterable[builtins.bytes] | None = ...,
1044
- args: collections.abc.Iterable[builtins.bytes] | None = ...,
1045
- ) -> None: ...
1046
- def ClearField(self, field_name: typing_extensions.Literal["args", b"args", "hash", b"hash", "keys", b"keys"]) -> None: ...
1047
-
1048
- global___ScriptInvocation = ScriptInvocation
1049
-
1050
- @typing_extensions.final
1051
- class Batch(google.protobuf.message.Message):
1052
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1053
-
1054
- IS_ATOMIC_FIELD_NUMBER: builtins.int
1055
- COMMANDS_FIELD_NUMBER: builtins.int
1056
- RAISE_ON_ERROR_FIELD_NUMBER: builtins.int
1057
- TIMEOUT_FIELD_NUMBER: builtins.int
1058
- RETRY_SERVER_ERROR_FIELD_NUMBER: builtins.int
1059
- RETRY_CONNECTION_ERROR_FIELD_NUMBER: builtins.int
1060
- is_atomic: builtins.bool
1061
- @property
1062
- def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Command]: ...
1063
- raise_on_error: builtins.bool
1064
- timeout: builtins.int
1065
- retry_server_error: builtins.bool
1066
- retry_connection_error: builtins.bool
1067
- def __init__(
1068
- self,
1069
- *,
1070
- is_atomic: builtins.bool = ...,
1071
- commands: collections.abc.Iterable[global___Command] | None = ...,
1072
- raise_on_error: builtins.bool | None = ...,
1073
- timeout: builtins.int | None = ...,
1074
- retry_server_error: builtins.bool | None = ...,
1075
- retry_connection_error: builtins.bool | None = ...,
1076
- ) -> None: ...
1077
- def HasField(self, field_name: typing_extensions.Literal["_raise_on_error", b"_raise_on_error", "_retry_connection_error", b"_retry_connection_error", "_retry_server_error", b"_retry_server_error", "_timeout", b"_timeout", "raise_on_error", b"raise_on_error", "retry_connection_error", b"retry_connection_error", "retry_server_error", b"retry_server_error", "timeout", b"timeout"]) -> builtins.bool: ...
1078
- def ClearField(self, field_name: typing_extensions.Literal["_raise_on_error", b"_raise_on_error", "_retry_connection_error", b"_retry_connection_error", "_retry_server_error", b"_retry_server_error", "_timeout", b"_timeout", "commands", b"commands", "is_atomic", b"is_atomic", "raise_on_error", b"raise_on_error", "retry_connection_error", b"retry_connection_error", "retry_server_error", b"retry_server_error", "timeout", b"timeout"]) -> None: ...
1079
- @typing.overload
1080
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_raise_on_error", b"_raise_on_error"]) -> typing_extensions.Literal["raise_on_error"] | None: ...
1081
- @typing.overload
1082
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_retry_connection_error", b"_retry_connection_error"]) -> typing_extensions.Literal["retry_connection_error"] | None: ...
1083
- @typing.overload
1084
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_retry_server_error", b"_retry_server_error"]) -> typing_extensions.Literal["retry_server_error"] | None: ...
1085
- @typing.overload
1086
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_timeout", b"_timeout"]) -> typing_extensions.Literal["timeout"] | None: ...
1087
-
1088
- global___Batch = Batch
1089
-
1090
- @typing_extensions.final
1091
- class ClusterScan(google.protobuf.message.Message):
1092
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1093
-
1094
- CURSOR_FIELD_NUMBER: builtins.int
1095
- MATCH_PATTERN_FIELD_NUMBER: builtins.int
1096
- COUNT_FIELD_NUMBER: builtins.int
1097
- OBJECT_TYPE_FIELD_NUMBER: builtins.int
1098
- ALLOW_NON_COVERED_SLOTS_FIELD_NUMBER: builtins.int
1099
- cursor: builtins.str
1100
- match_pattern: builtins.bytes
1101
- count: builtins.int
1102
- object_type: builtins.str
1103
- allow_non_covered_slots: builtins.bool
1104
- def __init__(
1105
- self,
1106
- *,
1107
- cursor: builtins.str = ...,
1108
- match_pattern: builtins.bytes | None = ...,
1109
- count: builtins.int | None = ...,
1110
- object_type: builtins.str | None = ...,
1111
- allow_non_covered_slots: builtins.bool = ...,
1112
- ) -> None: ...
1113
- def HasField(self, field_name: typing_extensions.Literal["_count", b"_count", "_match_pattern", b"_match_pattern", "_object_type", b"_object_type", "count", b"count", "match_pattern", b"match_pattern", "object_type", b"object_type"]) -> builtins.bool: ...
1114
- def ClearField(self, field_name: typing_extensions.Literal["_count", b"_count", "_match_pattern", b"_match_pattern", "_object_type", b"_object_type", "allow_non_covered_slots", b"allow_non_covered_slots", "count", b"count", "cursor", b"cursor", "match_pattern", b"match_pattern", "object_type", b"object_type"]) -> None: ...
1115
- @typing.overload
1116
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_count", b"_count"]) -> typing_extensions.Literal["count"] | None: ...
1117
- @typing.overload
1118
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_match_pattern", b"_match_pattern"]) -> typing_extensions.Literal["match_pattern"] | None: ...
1119
- @typing.overload
1120
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_object_type", b"_object_type"]) -> typing_extensions.Literal["object_type"] | None: ...
1121
-
1122
- global___ClusterScan = ClusterScan
1123
-
1124
- @typing_extensions.final
1125
- class UpdateConnectionPassword(google.protobuf.message.Message):
1126
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1127
-
1128
- PASSWORD_FIELD_NUMBER: builtins.int
1129
- IMMEDIATE_AUTH_FIELD_NUMBER: builtins.int
1130
- password: builtins.str
1131
- immediate_auth: builtins.bool
1132
- def __init__(
1133
- self,
1134
- *,
1135
- password: builtins.str | None = ...,
1136
- immediate_auth: builtins.bool = ...,
1137
- ) -> None: ...
1138
- def HasField(self, field_name: typing_extensions.Literal["_password", b"_password", "password", b"password"]) -> builtins.bool: ...
1139
- def ClearField(self, field_name: typing_extensions.Literal["_password", b"_password", "immediate_auth", b"immediate_auth", "password", b"password"]) -> None: ...
1140
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_password", b"_password"]) -> typing_extensions.Literal["password"] | None: ...
1141
-
1142
- global___UpdateConnectionPassword = UpdateConnectionPassword
1143
-
1144
- @typing_extensions.final
1145
- class CommandRequest(google.protobuf.message.Message):
1146
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1147
-
1148
- CALLBACK_IDX_FIELD_NUMBER: builtins.int
1149
- SINGLE_COMMAND_FIELD_NUMBER: builtins.int
1150
- BATCH_FIELD_NUMBER: builtins.int
1151
- SCRIPT_INVOCATION_FIELD_NUMBER: builtins.int
1152
- SCRIPT_INVOCATION_POINTERS_FIELD_NUMBER: builtins.int
1153
- CLUSTER_SCAN_FIELD_NUMBER: builtins.int
1154
- UPDATE_CONNECTION_PASSWORD_FIELD_NUMBER: builtins.int
1155
- ROUTE_FIELD_NUMBER: builtins.int
1156
- ROOT_SPAN_PTR_FIELD_NUMBER: builtins.int
1157
- callback_idx: builtins.int
1158
- @property
1159
- def single_command(self) -> global___Command: ...
1160
- @property
1161
- def batch(self) -> global___Batch: ...
1162
- @property
1163
- def script_invocation(self) -> global___ScriptInvocation: ...
1164
- @property
1165
- def script_invocation_pointers(self) -> global___ScriptInvocationPointers: ...
1166
- @property
1167
- def cluster_scan(self) -> global___ClusterScan: ...
1168
- @property
1169
- def update_connection_password(self) -> global___UpdateConnectionPassword: ...
1170
- @property
1171
- def route(self) -> global___Routes: ...
1172
- root_span_ptr: builtins.int
1173
- def __init__(
1174
- self,
1175
- *,
1176
- callback_idx: builtins.int = ...,
1177
- single_command: global___Command | None = ...,
1178
- batch: global___Batch | None = ...,
1179
- script_invocation: global___ScriptInvocation | None = ...,
1180
- script_invocation_pointers: global___ScriptInvocationPointers | None = ...,
1181
- cluster_scan: global___ClusterScan | None = ...,
1182
- update_connection_password: global___UpdateConnectionPassword | None = ...,
1183
- route: global___Routes | None = ...,
1184
- root_span_ptr: builtins.int | None = ...,
1185
- ) -> None: ...
1186
- def HasField(self, field_name: typing_extensions.Literal["_root_span_ptr", b"_root_span_ptr", "batch", b"batch", "cluster_scan", b"cluster_scan", "command", b"command", "root_span_ptr", b"root_span_ptr", "route", b"route", "script_invocation", b"script_invocation", "script_invocation_pointers", b"script_invocation_pointers", "single_command", b"single_command", "update_connection_password", b"update_connection_password"]) -> builtins.bool: ...
1187
- def ClearField(self, field_name: typing_extensions.Literal["_root_span_ptr", b"_root_span_ptr", "batch", b"batch", "callback_idx", b"callback_idx", "cluster_scan", b"cluster_scan", "command", b"command", "root_span_ptr", b"root_span_ptr", "route", b"route", "script_invocation", b"script_invocation", "script_invocation_pointers", b"script_invocation_pointers", "single_command", b"single_command", "update_connection_password", b"update_connection_password"]) -> None: ...
1188
- @typing.overload
1189
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_root_span_ptr", b"_root_span_ptr"]) -> typing_extensions.Literal["root_span_ptr"] | None: ...
1190
- @typing.overload
1191
- def WhichOneof(self, oneof_group: typing_extensions.Literal["command", b"command"]) -> typing_extensions.Literal["single_command", "batch", "script_invocation", "script_invocation_pointers", "cluster_scan", "update_connection_password"] | None: ...
1192
-
1193
- global___CommandRequest = CommandRequest