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,52 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: protobuf/connection_request.proto
4
- # Protobuf Python Version: 4.25.1
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
-
16
-
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!protobuf/connection_request.proto\x12\x12\x63onnection_request\")\n\x0bNodeAddress\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\"8\n\x12\x41uthenticationInfo\x12\x10\n\x08password\x18\x01 \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\"7\n\x1cPeriodicChecksManualInterval\x12\x17\n\x0f\x64uration_in_sec\x18\x01 \x01(\r\"\x18\n\x16PeriodicChecksDisabled\"8\n\x18PubSubChannelsOrPatterns\x12\x1c\n\x14\x63hannels_or_patterns\x18\x01 \x03(\x0c\"\xf1\x01\n\x13PubSubSubscriptions\x12k\n\x1c\x63hannels_or_patterns_by_type\x18\x01 \x03(\x0b\x32\x45.connection_request.PubSubSubscriptions.ChannelsOrPatternsByTypeEntry\x1am\n\x1d\x43hannelsOrPatternsByTypeEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.connection_request.PubSubChannelsOrPatterns:\x02\x38\x01\"\xc1\x06\n\x11\x43onnectionRequest\x12\x32\n\taddresses\x18\x01 \x03(\x0b\x32\x1f.connection_request.NodeAddress\x12-\n\x08tls_mode\x18\x02 \x01(\x0e\x32\x1b.connection_request.TlsMode\x12\x1c\n\x14\x63luster_mode_enabled\x18\x03 \x01(\x08\x12\x17\n\x0frequest_timeout\x18\x04 \x01(\r\x12/\n\tread_from\x18\x05 \x01(\x0e\x32\x1c.connection_request.ReadFrom\x12N\n\x19\x63onnection_retry_strategy\x18\x06 \x01(\x0b\x32+.connection_request.ConnectionRetryStrategy\x12\x43\n\x13\x61uthentication_info\x18\x07 \x01(\x0b\x32&.connection_request.AuthenticationInfo\x12\x13\n\x0b\x64\x61tabase_id\x18\x08 \x01(\r\x12\x35\n\x08protocol\x18\t \x01(\x0e\x32#.connection_request.ProtocolVersion\x12\x13\n\x0b\x63lient_name\x18\n \x01(\t\x12[\n\x1fperiodic_checks_manual_interval\x18\x0b \x01(\x0b\x32\x30.connection_request.PeriodicChecksManualIntervalH\x00\x12N\n\x18periodic_checks_disabled\x18\x0c \x01(\x0b\x32*.connection_request.PeriodicChecksDisabledH\x00\x12\x45\n\x14pubsub_subscriptions\x18\r \x01(\x0b\x32\'.connection_request.PubSubSubscriptions\x12\x1f\n\x17inflight_requests_limit\x18\x0e \x01(\r\x12\x11\n\tclient_az\x18\x0f \x01(\t\x12\x1a\n\x12\x63onnection_timeout\x18\x10 \x01(\r\x12\x14\n\x0clazy_connect\x18\x11 \x01(\x08\x42\x11\n\x0fperiodic_checks\"\x8b\x01\n\x17\x43onnectionRetryStrategy\x12\x19\n\x11number_of_retries\x18\x01 \x01(\r\x12\x0e\n\x06\x66\x61\x63tor\x18\x02 \x01(\r\x12\x15\n\rexponent_base\x18\x03 \x01(\r\x12\x1b\n\x0ejitter_percent\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x11\n\x0f_jitter_percent*o\n\x08ReadFrom\x12\x0b\n\x07Primary\x10\x00\x12\x11\n\rPreferReplica\x10\x01\x12\x11\n\rLowestLatency\x10\x02\x12\x0e\n\nAZAffinity\x10\x03\x12 \n\x1c\x41ZAffinityReplicasAndPrimary\x10\x04*4\n\x07TlsMode\x12\t\n\x05NoTls\x10\x00\x12\r\n\tSecureTls\x10\x01\x12\x0f\n\x0bInsecureTls\x10\x02*\'\n\x0fProtocolVersion\x12\t\n\x05RESP3\x10\x00\x12\t\n\x05RESP2\x10\x01*8\n\x11PubSubChannelType\x12\t\n\x05\x45xact\x10\x00\x12\x0b\n\x07Pattern\x10\x01\x12\x0b\n\x07Sharded\x10\x02\x62\x06proto3')
18
-
19
- _globals = globals()
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protobuf.connection_request_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- DESCRIPTOR._options = None
24
- _globals['_PUBSUBSUBSCRIPTIONS_CHANNELSORPATTERNSBYTYPEENTRY']._options = None
25
- _globals['_PUBSUBSUBSCRIPTIONS_CHANNELSORPATTERNSBYTYPEENTRY']._serialized_options = b'8\001'
26
- _globals['_READFROM']._serialized_start=1521
27
- _globals['_READFROM']._serialized_end=1632
28
- _globals['_TLSMODE']._serialized_start=1634
29
- _globals['_TLSMODE']._serialized_end=1686
30
- _globals['_PROTOCOLVERSION']._serialized_start=1688
31
- _globals['_PROTOCOLVERSION']._serialized_end=1727
32
- _globals['_PUBSUBCHANNELTYPE']._serialized_start=1729
33
- _globals['_PUBSUBCHANNELTYPE']._serialized_end=1785
34
- _globals['_NODEADDRESS']._serialized_start=57
35
- _globals['_NODEADDRESS']._serialized_end=98
36
- _globals['_AUTHENTICATIONINFO']._serialized_start=100
37
- _globals['_AUTHENTICATIONINFO']._serialized_end=156
38
- _globals['_PERIODICCHECKSMANUALINTERVAL']._serialized_start=158
39
- _globals['_PERIODICCHECKSMANUALINTERVAL']._serialized_end=213
40
- _globals['_PERIODICCHECKSDISABLED']._serialized_start=215
41
- _globals['_PERIODICCHECKSDISABLED']._serialized_end=239
42
- _globals['_PUBSUBCHANNELSORPATTERNS']._serialized_start=241
43
- _globals['_PUBSUBCHANNELSORPATTERNS']._serialized_end=297
44
- _globals['_PUBSUBSUBSCRIPTIONS']._serialized_start=300
45
- _globals['_PUBSUBSUBSCRIPTIONS']._serialized_end=541
46
- _globals['_PUBSUBSUBSCRIPTIONS_CHANNELSORPATTERNSBYTYPEENTRY']._serialized_start=432
47
- _globals['_PUBSUBSUBSCRIPTIONS_CHANNELSORPATTERNSBYTYPEENTRY']._serialized_end=541
48
- _globals['_CONNECTIONREQUEST']._serialized_start=544
49
- _globals['_CONNECTIONREQUEST']._serialized_end=1377
50
- _globals['_CONNECTIONRETRYSTRATEGY']._serialized_start=1380
51
- _globals['_CONNECTIONRETRYSTRATEGY']._serialized_end=1519
52
- # @@protoc_insertion_point(module_scope)
@@ -1,299 +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 _ReadFrom:
22
- ValueType = typing.NewType("ValueType", builtins.int)
23
- V: typing_extensions.TypeAlias = ValueType
24
-
25
- class _ReadFromEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ReadFrom.ValueType], builtins.type):
26
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
27
- Primary: _ReadFrom.ValueType # 0
28
- PreferReplica: _ReadFrom.ValueType # 1
29
- LowestLatency: _ReadFrom.ValueType # 2
30
- AZAffinity: _ReadFrom.ValueType # 3
31
- AZAffinityReplicasAndPrimary: _ReadFrom.ValueType # 4
32
-
33
- class ReadFrom(_ReadFrom, metaclass=_ReadFromEnumTypeWrapper): ...
34
-
35
- Primary: ReadFrom.ValueType # 0
36
- PreferReplica: ReadFrom.ValueType # 1
37
- LowestLatency: ReadFrom.ValueType # 2
38
- AZAffinity: ReadFrom.ValueType # 3
39
- AZAffinityReplicasAndPrimary: ReadFrom.ValueType # 4
40
- global___ReadFrom = ReadFrom
41
-
42
- class _TlsMode:
43
- ValueType = typing.NewType("ValueType", builtins.int)
44
- V: typing_extensions.TypeAlias = ValueType
45
-
46
- class _TlsModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TlsMode.ValueType], builtins.type):
47
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
48
- NoTls: _TlsMode.ValueType # 0
49
- SecureTls: _TlsMode.ValueType # 1
50
- InsecureTls: _TlsMode.ValueType # 2
51
-
52
- class TlsMode(_TlsMode, metaclass=_TlsModeEnumTypeWrapper): ...
53
-
54
- NoTls: TlsMode.ValueType # 0
55
- SecureTls: TlsMode.ValueType # 1
56
- InsecureTls: TlsMode.ValueType # 2
57
- global___TlsMode = TlsMode
58
-
59
- class _ProtocolVersion:
60
- ValueType = typing.NewType("ValueType", builtins.int)
61
- V: typing_extensions.TypeAlias = ValueType
62
-
63
- class _ProtocolVersionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ProtocolVersion.ValueType], builtins.type):
64
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
65
- RESP3: _ProtocolVersion.ValueType # 0
66
- RESP2: _ProtocolVersion.ValueType # 1
67
-
68
- class ProtocolVersion(_ProtocolVersion, metaclass=_ProtocolVersionEnumTypeWrapper): ...
69
-
70
- RESP3: ProtocolVersion.ValueType # 0
71
- RESP2: ProtocolVersion.ValueType # 1
72
- global___ProtocolVersion = ProtocolVersion
73
-
74
- class _PubSubChannelType:
75
- ValueType = typing.NewType("ValueType", builtins.int)
76
- V: typing_extensions.TypeAlias = ValueType
77
-
78
- class _PubSubChannelTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PubSubChannelType.ValueType], builtins.type):
79
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
80
- Exact: _PubSubChannelType.ValueType # 0
81
- Pattern: _PubSubChannelType.ValueType # 1
82
- Sharded: _PubSubChannelType.ValueType # 2
83
-
84
- class PubSubChannelType(_PubSubChannelType, metaclass=_PubSubChannelTypeEnumTypeWrapper): ...
85
-
86
- Exact: PubSubChannelType.ValueType # 0
87
- Pattern: PubSubChannelType.ValueType # 1
88
- Sharded: PubSubChannelType.ValueType # 2
89
- global___PubSubChannelType = PubSubChannelType
90
-
91
- @typing_extensions.final
92
- class NodeAddress(google.protobuf.message.Message):
93
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
94
-
95
- HOST_FIELD_NUMBER: builtins.int
96
- PORT_FIELD_NUMBER: builtins.int
97
- host: builtins.str
98
- port: builtins.int
99
- def __init__(
100
- self,
101
- *,
102
- host: builtins.str = ...,
103
- port: builtins.int = ...,
104
- ) -> None: ...
105
- def ClearField(self, field_name: typing_extensions.Literal["host", b"host", "port", b"port"]) -> None: ...
106
-
107
- global___NodeAddress = NodeAddress
108
-
109
- @typing_extensions.final
110
- class AuthenticationInfo(google.protobuf.message.Message):
111
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
112
-
113
- PASSWORD_FIELD_NUMBER: builtins.int
114
- USERNAME_FIELD_NUMBER: builtins.int
115
- password: builtins.str
116
- username: builtins.str
117
- def __init__(
118
- self,
119
- *,
120
- password: builtins.str = ...,
121
- username: builtins.str = ...,
122
- ) -> None: ...
123
- def ClearField(self, field_name: typing_extensions.Literal["password", b"password", "username", b"username"]) -> None: ...
124
-
125
- global___AuthenticationInfo = AuthenticationInfo
126
-
127
- @typing_extensions.final
128
- class PeriodicChecksManualInterval(google.protobuf.message.Message):
129
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
130
-
131
- DURATION_IN_SEC_FIELD_NUMBER: builtins.int
132
- duration_in_sec: builtins.int
133
- def __init__(
134
- self,
135
- *,
136
- duration_in_sec: builtins.int = ...,
137
- ) -> None: ...
138
- def ClearField(self, field_name: typing_extensions.Literal["duration_in_sec", b"duration_in_sec"]) -> None: ...
139
-
140
- global___PeriodicChecksManualInterval = PeriodicChecksManualInterval
141
-
142
- @typing_extensions.final
143
- class PeriodicChecksDisabled(google.protobuf.message.Message):
144
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
145
-
146
- def __init__(
147
- self,
148
- ) -> None: ...
149
-
150
- global___PeriodicChecksDisabled = PeriodicChecksDisabled
151
-
152
- @typing_extensions.final
153
- class PubSubChannelsOrPatterns(google.protobuf.message.Message):
154
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
155
-
156
- CHANNELS_OR_PATTERNS_FIELD_NUMBER: builtins.int
157
- @property
158
- def channels_or_patterns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: ...
159
- def __init__(
160
- self,
161
- *,
162
- channels_or_patterns: collections.abc.Iterable[builtins.bytes] | None = ...,
163
- ) -> None: ...
164
- def ClearField(self, field_name: typing_extensions.Literal["channels_or_patterns", b"channels_or_patterns"]) -> None: ...
165
-
166
- global___PubSubChannelsOrPatterns = PubSubChannelsOrPatterns
167
-
168
- @typing_extensions.final
169
- class PubSubSubscriptions(google.protobuf.message.Message):
170
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
171
-
172
- @typing_extensions.final
173
- class ChannelsOrPatternsByTypeEntry(google.protobuf.message.Message):
174
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
175
-
176
- KEY_FIELD_NUMBER: builtins.int
177
- VALUE_FIELD_NUMBER: builtins.int
178
- key: builtins.int
179
- @property
180
- def value(self) -> global___PubSubChannelsOrPatterns: ...
181
- def __init__(
182
- self,
183
- *,
184
- key: builtins.int = ...,
185
- value: global___PubSubChannelsOrPatterns | None = ...,
186
- ) -> None: ...
187
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
188
- def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
189
-
190
- CHANNELS_OR_PATTERNS_BY_TYPE_FIELD_NUMBER: builtins.int
191
- @property
192
- def channels_or_patterns_by_type(self) -> google.protobuf.internal.containers.MessageMap[builtins.int, global___PubSubChannelsOrPatterns]: ...
193
- def __init__(
194
- self,
195
- *,
196
- channels_or_patterns_by_type: collections.abc.Mapping[builtins.int, global___PubSubChannelsOrPatterns] | None = ...,
197
- ) -> None: ...
198
- def ClearField(self, field_name: typing_extensions.Literal["channels_or_patterns_by_type", b"channels_or_patterns_by_type"]) -> None: ...
199
-
200
- global___PubSubSubscriptions = PubSubSubscriptions
201
-
202
- @typing_extensions.final
203
- class ConnectionRequest(google.protobuf.message.Message):
204
- """IMPORTANT - if you add fields here, you probably need to add them also in client/mod.rs:`sanitized_request_string`."""
205
-
206
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
207
-
208
- ADDRESSES_FIELD_NUMBER: builtins.int
209
- TLS_MODE_FIELD_NUMBER: builtins.int
210
- CLUSTER_MODE_ENABLED_FIELD_NUMBER: builtins.int
211
- REQUEST_TIMEOUT_FIELD_NUMBER: builtins.int
212
- READ_FROM_FIELD_NUMBER: builtins.int
213
- CONNECTION_RETRY_STRATEGY_FIELD_NUMBER: builtins.int
214
- AUTHENTICATION_INFO_FIELD_NUMBER: builtins.int
215
- DATABASE_ID_FIELD_NUMBER: builtins.int
216
- PROTOCOL_FIELD_NUMBER: builtins.int
217
- CLIENT_NAME_FIELD_NUMBER: builtins.int
218
- PERIODIC_CHECKS_MANUAL_INTERVAL_FIELD_NUMBER: builtins.int
219
- PERIODIC_CHECKS_DISABLED_FIELD_NUMBER: builtins.int
220
- PUBSUB_SUBSCRIPTIONS_FIELD_NUMBER: builtins.int
221
- INFLIGHT_REQUESTS_LIMIT_FIELD_NUMBER: builtins.int
222
- CLIENT_AZ_FIELD_NUMBER: builtins.int
223
- CONNECTION_TIMEOUT_FIELD_NUMBER: builtins.int
224
- LAZY_CONNECT_FIELD_NUMBER: builtins.int
225
- @property
226
- def addresses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NodeAddress]: ...
227
- tls_mode: global___TlsMode.ValueType
228
- cluster_mode_enabled: builtins.bool
229
- request_timeout: builtins.int
230
- read_from: global___ReadFrom.ValueType
231
- @property
232
- def connection_retry_strategy(self) -> global___ConnectionRetryStrategy: ...
233
- @property
234
- def authentication_info(self) -> global___AuthenticationInfo: ...
235
- database_id: builtins.int
236
- protocol: global___ProtocolVersion.ValueType
237
- client_name: builtins.str
238
- @property
239
- def periodic_checks_manual_interval(self) -> global___PeriodicChecksManualInterval: ...
240
- @property
241
- def periodic_checks_disabled(self) -> global___PeriodicChecksDisabled: ...
242
- @property
243
- def pubsub_subscriptions(self) -> global___PubSubSubscriptions: ...
244
- inflight_requests_limit: builtins.int
245
- client_az: builtins.str
246
- connection_timeout: builtins.int
247
- lazy_connect: builtins.bool
248
- def __init__(
249
- self,
250
- *,
251
- addresses: collections.abc.Iterable[global___NodeAddress] | None = ...,
252
- tls_mode: global___TlsMode.ValueType = ...,
253
- cluster_mode_enabled: builtins.bool = ...,
254
- request_timeout: builtins.int = ...,
255
- read_from: global___ReadFrom.ValueType = ...,
256
- connection_retry_strategy: global___ConnectionRetryStrategy | None = ...,
257
- authentication_info: global___AuthenticationInfo | None = ...,
258
- database_id: builtins.int = ...,
259
- protocol: global___ProtocolVersion.ValueType = ...,
260
- client_name: builtins.str = ...,
261
- periodic_checks_manual_interval: global___PeriodicChecksManualInterval | None = ...,
262
- periodic_checks_disabled: global___PeriodicChecksDisabled | None = ...,
263
- pubsub_subscriptions: global___PubSubSubscriptions | None = ...,
264
- inflight_requests_limit: builtins.int = ...,
265
- client_az: builtins.str = ...,
266
- connection_timeout: builtins.int = ...,
267
- lazy_connect: builtins.bool = ...,
268
- ) -> None: ...
269
- def HasField(self, field_name: typing_extensions.Literal["authentication_info", b"authentication_info", "connection_retry_strategy", b"connection_retry_strategy", "periodic_checks", b"periodic_checks", "periodic_checks_disabled", b"periodic_checks_disabled", "periodic_checks_manual_interval", b"periodic_checks_manual_interval", "pubsub_subscriptions", b"pubsub_subscriptions"]) -> builtins.bool: ...
270
- def ClearField(self, field_name: typing_extensions.Literal["addresses", b"addresses", "authentication_info", b"authentication_info", "client_az", b"client_az", "client_name", b"client_name", "cluster_mode_enabled", b"cluster_mode_enabled", "connection_retry_strategy", b"connection_retry_strategy", "connection_timeout", b"connection_timeout", "database_id", b"database_id", "inflight_requests_limit", b"inflight_requests_limit", "lazy_connect", b"lazy_connect", "periodic_checks", b"periodic_checks", "periodic_checks_disabled", b"periodic_checks_disabled", "periodic_checks_manual_interval", b"periodic_checks_manual_interval", "protocol", b"protocol", "pubsub_subscriptions", b"pubsub_subscriptions", "read_from", b"read_from", "request_timeout", b"request_timeout", "tls_mode", b"tls_mode"]) -> None: ...
271
- def WhichOneof(self, oneof_group: typing_extensions.Literal["periodic_checks", b"periodic_checks"]) -> typing_extensions.Literal["periodic_checks_manual_interval", "periodic_checks_disabled"] | None: ...
272
-
273
- global___ConnectionRequest = ConnectionRequest
274
-
275
- @typing_extensions.final
276
- class ConnectionRetryStrategy(google.protobuf.message.Message):
277
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
278
-
279
- NUMBER_OF_RETRIES_FIELD_NUMBER: builtins.int
280
- FACTOR_FIELD_NUMBER: builtins.int
281
- EXPONENT_BASE_FIELD_NUMBER: builtins.int
282
- JITTER_PERCENT_FIELD_NUMBER: builtins.int
283
- number_of_retries: builtins.int
284
- factor: builtins.int
285
- exponent_base: builtins.int
286
- jitter_percent: builtins.int
287
- def __init__(
288
- self,
289
- *,
290
- number_of_retries: builtins.int = ...,
291
- factor: builtins.int = ...,
292
- exponent_base: builtins.int = ...,
293
- jitter_percent: builtins.int | None = ...,
294
- ) -> None: ...
295
- def HasField(self, field_name: typing_extensions.Literal["_jitter_percent", b"_jitter_percent", "jitter_percent", b"jitter_percent"]) -> builtins.bool: ...
296
- def ClearField(self, field_name: typing_extensions.Literal["_jitter_percent", b"_jitter_percent", "exponent_base", b"exponent_base", "factor", b"factor", "jitter_percent", b"jitter_percent", "number_of_retries", b"number_of_retries"]) -> None: ...
297
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_jitter_percent", b"_jitter_percent"]) -> typing_extensions.Literal["jitter_percent"] | None: ...
298
-
299
- global___ConnectionRetryStrategy = ConnectionRetryStrategy
@@ -1,106 +0,0 @@
1
- """
2
- @generated by mypy-protobuf. Do not edit manually!
3
- isort:skip_file
4
- """
5
- import builtins
6
- import google.protobuf.descriptor
7
- import google.protobuf.internal.enum_type_wrapper
8
- import google.protobuf.message
9
- import sys
10
- import typing
11
-
12
- if sys.version_info >= (3, 10):
13
- import typing as typing_extensions
14
- else:
15
- import typing_extensions
16
-
17
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
18
-
19
- class _RequestErrorType:
20
- ValueType = typing.NewType("ValueType", builtins.int)
21
- V: typing_extensions.TypeAlias = ValueType
22
-
23
- class _RequestErrorTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RequestErrorType.ValueType], builtins.type):
24
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
25
- Unspecified: _RequestErrorType.ValueType # 0
26
- ExecAbort: _RequestErrorType.ValueType # 1
27
- Timeout: _RequestErrorType.ValueType # 2
28
- Disconnect: _RequestErrorType.ValueType # 3
29
-
30
- class RequestErrorType(_RequestErrorType, metaclass=_RequestErrorTypeEnumTypeWrapper): ...
31
-
32
- Unspecified: RequestErrorType.ValueType # 0
33
- ExecAbort: RequestErrorType.ValueType # 1
34
- Timeout: RequestErrorType.ValueType # 2
35
- Disconnect: RequestErrorType.ValueType # 3
36
- global___RequestErrorType = RequestErrorType
37
-
38
- class _ConstantResponse:
39
- ValueType = typing.NewType("ValueType", builtins.int)
40
- V: typing_extensions.TypeAlias = ValueType
41
-
42
- class _ConstantResponseEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ConstantResponse.ValueType], builtins.type):
43
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
44
- OK: _ConstantResponse.ValueType # 0
45
-
46
- class ConstantResponse(_ConstantResponse, metaclass=_ConstantResponseEnumTypeWrapper): ...
47
-
48
- OK: ConstantResponse.ValueType # 0
49
- global___ConstantResponse = ConstantResponse
50
-
51
- @typing_extensions.final
52
- class RequestError(google.protobuf.message.Message):
53
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
54
-
55
- TYPE_FIELD_NUMBER: builtins.int
56
- MESSAGE_FIELD_NUMBER: builtins.int
57
- type: global___RequestErrorType.ValueType
58
- message: builtins.str
59
- def __init__(
60
- self,
61
- *,
62
- type: global___RequestErrorType.ValueType = ...,
63
- message: builtins.str = ...,
64
- ) -> None: ...
65
- def ClearField(self, field_name: typing_extensions.Literal["message", b"message", "type", b"type"]) -> None: ...
66
-
67
- global___RequestError = RequestError
68
-
69
- @typing_extensions.final
70
- class Response(google.protobuf.message.Message):
71
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
72
-
73
- CALLBACK_IDX_FIELD_NUMBER: builtins.int
74
- RESP_POINTER_FIELD_NUMBER: builtins.int
75
- CONSTANT_RESPONSE_FIELD_NUMBER: builtins.int
76
- REQUEST_ERROR_FIELD_NUMBER: builtins.int
77
- CLOSING_ERROR_FIELD_NUMBER: builtins.int
78
- IS_PUSH_FIELD_NUMBER: builtins.int
79
- ROOT_SPAN_PTR_FIELD_NUMBER: builtins.int
80
- callback_idx: builtins.int
81
- resp_pointer: builtins.int
82
- constant_response: global___ConstantResponse.ValueType
83
- @property
84
- def request_error(self) -> global___RequestError: ...
85
- closing_error: builtins.str
86
- is_push: builtins.bool
87
- root_span_ptr: builtins.int
88
- def __init__(
89
- self,
90
- *,
91
- callback_idx: builtins.int = ...,
92
- resp_pointer: builtins.int = ...,
93
- constant_response: global___ConstantResponse.ValueType = ...,
94
- request_error: global___RequestError | None = ...,
95
- closing_error: builtins.str = ...,
96
- is_push: builtins.bool = ...,
97
- root_span_ptr: builtins.int | None = ...,
98
- ) -> None: ...
99
- def HasField(self, field_name: typing_extensions.Literal["_root_span_ptr", b"_root_span_ptr", "closing_error", b"closing_error", "constant_response", b"constant_response", "request_error", b"request_error", "resp_pointer", b"resp_pointer", "root_span_ptr", b"root_span_ptr", "value", b"value"]) -> builtins.bool: ...
100
- def ClearField(self, field_name: typing_extensions.Literal["_root_span_ptr", b"_root_span_ptr", "callback_idx", b"callback_idx", "closing_error", b"closing_error", "constant_response", b"constant_response", "is_push", b"is_push", "request_error", b"request_error", "resp_pointer", b"resp_pointer", "root_span_ptr", b"root_span_ptr", "value", b"value"]) -> None: ...
101
- @typing.overload
102
- def WhichOneof(self, oneof_group: typing_extensions.Literal["_root_span_ptr", b"_root_span_ptr"]) -> typing_extensions.Literal["root_span_ptr"] | None: ...
103
- @typing.overload
104
- def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["resp_pointer", "constant_response", "request_error", "closing_error"] | None: ...
105
-
106
- global___Response = Response
@@ -1,39 +0,0 @@
1
- valkey_glide-2.0.0.dist-info/METADATA,sha256=aqQIwzM0sYqTDEFWSaX_R34hUhjeL-8qpRgMdnzn8TY,5968
2
- valkey_glide-2.0.0.dist-info/WHEEL,sha256=SjFvs0za84r93yXv_seM90QIJLVMin7Qs7nbzy5Blh4,104
3
- glide/config.py,sha256=XCn_w2vVt7GPvxklZzLW64XjC6s6kQrSK1dVD8_-RS0,33083
4
- glide/protobuf_codec.py,sha256=xwt4-D4WbvNIY_vjOd-00c73HOyNjWq7nN-Z718PBVA,3667
5
- glide/constants.py,sha256=Kb-wTQrcshjCivNXcrrOzz7xp7pNL_-Gt6Updiq9k4o,4354
6
- glide/async_commands/sorted_set.py,sha256=nALPJQNNjW7dAqXMDJIur_xDwnJzQCdqxtx5zXYCRNM,11458
7
- glide/async_commands/batch.py,sha256=XJ80d2aWJvDs5HHUtYyWpPEam7EDUOTI33u1qqBALTE,230726
8
- glide/async_commands/__init__.py,sha256=_tbTAFATlzp4L2qe-H77PpAQK-16VsV-y7uKNUKLC_o,136
9
- glide/async_commands/core.py,sha256=QOT8xwUBHqG7SEsOZml9toW9icQryhr7f_gK0amgI5k,316739
10
- glide/async_commands/server_modules/glide_json.py,sha256=cf93MG6GioA7hFLPn1vNMjipoUt6G-qJ2oK9E91KRkw,63120
11
- glide/async_commands/server_modules/json_batch.py,sha256=XBySnoRJnm1ABPYBnajHmPK6C-Wr9uk3gjNg2s7wVm8,36631
12
- glide/async_commands/server_modules/ft.py,sha256=xOV22Znj9z9clKK5XZUL8UhthSbiA1F2H11EOKtMJCg,16840
13
- glide/async_commands/server_modules/ft_options/ft_search_options.py,sha256=q72JVuLMFIVWXDOe0IQWTYFZYNiPSE6Yo3fKIn27hTA,4855
14
- glide/async_commands/server_modules/ft_options/ft_aggregate_options.py,sha256=hnutaOAZB5iFNJ_GKK2K48gm-iiuR-rhaCFUOD6VtBM,9919
15
- glide/async_commands/server_modules/ft_options/ft_create_options.py,sha256=hz-H8so5VC4ZsNxJgj1EqyMlFCnSx4II_lTIino8bkA,13721
16
- glide/async_commands/server_modules/ft_options/ft_profile_options.py,sha256=19t7pHHFu-Vbp_1e5XSNHHDjnssU4kI49wglE0YskDk,4273
17
- glide/async_commands/server_modules/ft_options/ft_constants.py,sha256=r9uLAExg2qThjwOBC8LxqXBITF0fwa5xfnD7EXnyPrw,1704
18
- glide/async_commands/stream.py,sha256=y3tmuOc-Ndnjvc__xybBcf2wqoNUQ1H1hPXYerpwNA8,15582
19
- glide/async_commands/standalone_commands.py,sha256=FKNzDpW6IK9Wkkmo6Gzc2OIKFBy_gkGQHgtnqYYg5_o,39478
20
- glide/async_commands/cluster_commands.py,sha256=z2yNzF8bUiTTsrcFDUhyuVEZs0z8vlqlhW7CYCqcLlE,60074
21
- glide/async_commands/batch_options.py,sha256=xI68I0BLooi8fUmjPdRFU14ey2TMR4WOs05tAOD1hTU,11123
22
- glide/async_commands/command_args.py,sha256=55vpSxeQr8wFU7olkFTEecl66wPk1g6vWxVYj16UvXs,2529
23
- glide/async_commands/bitmap.py,sha256=ZHGLcKBP7RADtANqIR7PWdIW_gfDBFgpkIsQ-T4QFBQ,10125
24
- glide/__init__.py,sha256=vLOTarcMsPMaYkUkTDNO-Y54M_m__h0DFyYfZlXlrrg,7840
25
- glide/glide.pyi,sha256=060F58qBw25Y5JswOCW8tg3HSMorFPW-28zH1R6Hibk,2086
26
- glide/opentelemetry.py,sha256=rMI6EFY-o8phqfYOGqVAIja2P8Bv-uDEXOL8H1UKaks,7452
27
- glide/glide_client.py,sha256=A3DknrzMoH9Ma3dZJ7STVGng5wE3hMBoNQr0yqCBX5g,32852
28
- glide/logger.py,sha256=YBO4-Nc-vr_QgHVnP4qdTpnYkQLUSFvirpKAdKcQT8Q,4014
29
- glide/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- glide/exceptions.py,sha256=ZI_LwIduoR-1jHm9-6jWZkx90AqCJLRtjbv4iESIEEA,1194
31
- glide/protobuf/response_pb2.pyi,sha256=5MLh6kwg5rRKVTpKZJMiHjPgSXRpSFeU6Kbfb0G6zfg,4625
32
- glide/protobuf/connection_request_pb2.pyi,sha256=6gdW-sS01629c4kvlotnhIrDQm6Op_7jayhhVcc58Tk,13302
33
- glide/protobuf/command_request_pb2.py,sha256=oSW7BjR3r0e2yJUAoTdiXPpyWOScouHVin5SsrGlJMA,18957
34
- glide/protobuf/connection_request_pb2.py,sha256=b3jDmMetSHUrZGmQd8b5DooZZQ_eIbcWvbu1nFgVW7Y,5365
35
- glide/protobuf/command_request_pb2.pyi,sha256=kMluOdgsklPAeN6bLaLSO3wHNMOTDBLmn4INSumkYLk,52943
36
- glide/protobuf/response_pb2.py,sha256=oT2GHUwjrxvBVdINRKCvb3_BFN0Fq2wqwHbTj7KAX2E,2110
37
- glide/routes.py,sha256=ZcLV_HrMzAYxHJW7uk905gdhOZbchBDSHlG1LVF7BJ4,4439
38
- glide/glide.cpython-39-darwin.so,sha256=FbmZwQY39faIRH9Sa9UbL0Bh2i0V1QK6pcmCnI8DYPg,8182112
39
- valkey_glide-2.0.0.dist-info/RECORD,,
File without changes
File without changes