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