weave-python 0.28.2__py3-none-any.whl → 0.30.3__py3-none-any.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 (104) hide show
  1. weave/weaveapi/auth/v1/service_pb2.py +194 -98
  2. weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
  3. weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
  4. weave/weaveapi/auth/v1/session_pb2.py +14 -6
  5. weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
  6. weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
  7. weave/weaveapi/auth/v1/usage_pb2.py +18 -14
  8. weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
  9. weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
  10. weave/weaveapi/auth/v1/user_pb2.py +60 -18
  11. weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
  12. weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
  13. weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
  14. weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
  15. weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
  16. weave/weaveapi/generate/v1/generate_pb2.py +32 -6
  17. weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
  18. weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
  19. weave/weaveapi/generate/v1/service_pb2.py +52 -22
  20. weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
  21. weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
  22. weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
  23. weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
  24. weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
  25. weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
  26. weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
  27. weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
  28. weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
  29. weave/weaveapi/llmx/v1/model_pb2.py +56 -20
  30. weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
  31. weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
  32. weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
  33. weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
  34. weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
  35. weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
  36. weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
  37. weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
  38. weave/weaveapi/llmx/v1/service_pb2.py +228 -90
  39. weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
  40. weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
  41. weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
  42. weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
  43. weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
  44. weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
  45. weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
  46. weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
  47. weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
  48. weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
  49. weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
  50. weave/weaveapi/payment/v1/service_pb2.py +264 -98
  51. weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
  52. weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
  53. weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
  54. weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
  55. weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
  56. weave/weaveapi/storage/v1/auth_pb2.py +6 -6
  57. weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
  58. weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
  59. weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
  60. weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
  61. weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
  62. weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
  63. weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
  64. weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
  65. weave/weaveapi/storage/v1/service_pb2.py +96 -36
  66. weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
  67. weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
  68. weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
  69. weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
  70. weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
  71. weave/weaveapi/storage/v1/storage_pb2.py +20 -6
  72. weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
  73. weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
  74. weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
  75. weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
  76. weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
  77. weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
  78. weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
  79. weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
  80. weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
  81. weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
  82. weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
  83. weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
  84. weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
  85. weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
  86. weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
  87. weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
  88. weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
  89. weave/weavesql/llmxdb/capabilities.py +487 -0
  90. weave/weavesql/llmxdb/changes.py +297 -0
  91. weave/weavesql/llmxdb/models.py +594 -0
  92. weave/weavesql/llmxdb/providers.py +348 -0
  93. weave/weavesql/llmxdb/scraper_runs.py +287 -0
  94. weave/weavesql/llmxdb/search.py +721 -0
  95. weave/weavesql/weavedb/dataset.py +75 -0
  96. weave/weavesql/weavedb/models.py +135 -0
  97. weave/weavesql/weavedb/relationships.py +72 -0
  98. weave/weavesql/weavedb/storage.py +113 -0
  99. weave/weavesql/weavedb/synthesizer.py +107 -0
  100. {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/METADATA +3 -3
  101. weave_python-0.30.3.dist-info/RECORD +131 -0
  102. {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
  103. weave_python-0.28.2.dist-info/RECORD +0 -120
  104. {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/licenses/LICENSE +0 -0
@@ -3,441 +3,507 @@
3
3
  isort:skip_file
4
4
  """
5
5
 
6
- import builtins
7
- import collections.abc
8
- import google.protobuf.descriptor
9
- import google.protobuf.internal.containers
10
- import google.protobuf.message
11
- import typing
12
- import weaveapi.storage.v1.auth_pb2
6
+ from collections import abc as _abc
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from google.protobuf.internal import containers as _containers
10
+ from weaveapi.storage.v1 import auth_pb2 as _auth_pb2
11
+ import builtins as _builtins
12
+ import sys
13
+ import typing as _typing
13
14
 
14
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
+ if sys.version_info >= (3, 10):
16
+ from typing import TypeAlias as _TypeAlias
17
+ else:
18
+ from typing_extensions import TypeAlias as _TypeAlias
15
19
 
16
- @typing.final
17
- class NoSqlDatabase(google.protobuf.message.Message):
18
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
20
+ DESCRIPTOR: _descriptor.FileDescriptor
19
21
 
20
- CASSANDRA_FIELD_NUMBER: builtins.int
21
- MONGODB_FIELD_NUMBER: builtins.int
22
- DYNAMODB_FIELD_NUMBER: builtins.int
23
- COSMOSDB_FIELD_NUMBER: builtins.int
24
- REDIS_FIELD_NUMBER: builtins.int
25
- VALKEY_FIELD_NUMBER: builtins.int
26
- ELASTICSEARCH_FIELD_NUMBER: builtins.int
27
- OPEN_SEARCH_FIELD_NUMBER: builtins.int
28
- @property
29
- def cassandra(self) -> global___Cassandra: ...
30
- @property
31
- def mongodb(self) -> global___MongoDB: ...
32
- @property
33
- def dynamodb(self) -> global___DynamoDB: ...
34
- @property
35
- def cosmosdb(self) -> global___CosmosDB: ...
36
- @property
37
- def redis(self) -> global___Redis: ...
38
- @property
39
- def valkey(self) -> global___Valkey: ...
40
- @property
41
- def elasticsearch(self) -> global___Elasticsearch: ...
42
- @property
43
- def open_search(self) -> global___OpenSearch: ...
22
+ @_typing.final
23
+ class NoSqlDatabase(_message.Message):
24
+ DESCRIPTOR: _descriptor.Descriptor
25
+
26
+ CASSANDRA_FIELD_NUMBER: _builtins.int
27
+ MONGODB_FIELD_NUMBER: _builtins.int
28
+ DYNAMODB_FIELD_NUMBER: _builtins.int
29
+ COSMOSDB_FIELD_NUMBER: _builtins.int
30
+ REDIS_FIELD_NUMBER: _builtins.int
31
+ VALKEY_FIELD_NUMBER: _builtins.int
32
+ ELASTICSEARCH_FIELD_NUMBER: _builtins.int
33
+ OPEN_SEARCH_FIELD_NUMBER: _builtins.int
34
+ @_builtins.property
35
+ def cassandra(self) -> Global___Cassandra: ...
36
+ @_builtins.property
37
+ def mongodb(self) -> Global___MongoDB: ...
38
+ @_builtins.property
39
+ def dynamodb(self) -> Global___DynamoDB: ...
40
+ @_builtins.property
41
+ def cosmosdb(self) -> Global___CosmosDB: ...
42
+ @_builtins.property
43
+ def redis(self) -> Global___Redis: ...
44
+ @_builtins.property
45
+ def valkey(self) -> Global___Valkey: ...
46
+ @_builtins.property
47
+ def elasticsearch(self) -> Global___Elasticsearch: ...
48
+ @_builtins.property
49
+ def open_search(self) -> Global___OpenSearch: ...
44
50
  def __init__(
45
51
  self,
46
52
  *,
47
- cassandra: global___Cassandra | None = ...,
48
- mongodb: global___MongoDB | None = ...,
49
- dynamodb: global___DynamoDB | None = ...,
50
- cosmosdb: global___CosmosDB | None = ...,
51
- redis: global___Redis | None = ...,
52
- valkey: global___Valkey | None = ...,
53
- elasticsearch: global___Elasticsearch | None = ...,
54
- open_search: global___OpenSearch | None = ...,
55
- ) -> None: ...
56
- def HasField(
57
- self,
58
- field_name: typing.Literal[
59
- "cassandra",
60
- b"cassandra",
61
- "cosmosdb",
62
- b"cosmosdb",
63
- "dynamodb",
64
- b"dynamodb",
65
- "elasticsearch",
66
- b"elasticsearch",
67
- "mongodb",
68
- b"mongodb",
69
- "nosql_database",
70
- b"nosql_database",
71
- "open_search",
72
- b"open_search",
73
- "redis",
74
- b"redis",
75
- "valkey",
76
- b"valkey",
77
- ],
78
- ) -> builtins.bool: ...
79
- def ClearField(
80
- self,
81
- field_name: typing.Literal[
82
- "cassandra",
83
- b"cassandra",
84
- "cosmosdb",
85
- b"cosmosdb",
86
- "dynamodb",
87
- b"dynamodb",
88
- "elasticsearch",
89
- b"elasticsearch",
90
- "mongodb",
91
- b"mongodb",
92
- "nosql_database",
93
- b"nosql_database",
94
- "open_search",
95
- b"open_search",
96
- "redis",
97
- b"redis",
98
- "valkey",
99
- b"valkey",
100
- ],
53
+ cassandra: Global___Cassandra | None = ...,
54
+ mongodb: Global___MongoDB | None = ...,
55
+ dynamodb: Global___DynamoDB | None = ...,
56
+ cosmosdb: Global___CosmosDB | None = ...,
57
+ redis: Global___Redis | None = ...,
58
+ valkey: Global___Valkey | None = ...,
59
+ elasticsearch: Global___Elasticsearch | None = ...,
60
+ open_search: Global___OpenSearch | None = ...,
101
61
  ) -> None: ...
62
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
63
+ "cassandra",
64
+ b"cassandra",
65
+ "cosmosdb",
66
+ b"cosmosdb",
67
+ "dynamodb",
68
+ b"dynamodb",
69
+ "elasticsearch",
70
+ b"elasticsearch",
71
+ "mongodb",
72
+ b"mongodb",
73
+ "nosql_database",
74
+ b"nosql_database",
75
+ "open_search",
76
+ b"open_search",
77
+ "redis",
78
+ b"redis",
79
+ "valkey",
80
+ b"valkey",
81
+ ] # noqa: Y015
82
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
83
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
84
+ "cassandra",
85
+ b"cassandra",
86
+ "cosmosdb",
87
+ b"cosmosdb",
88
+ "dynamodb",
89
+ b"dynamodb",
90
+ "elasticsearch",
91
+ b"elasticsearch",
92
+ "mongodb",
93
+ b"mongodb",
94
+ "nosql_database",
95
+ b"nosql_database",
96
+ "open_search",
97
+ b"open_search",
98
+ "redis",
99
+ b"redis",
100
+ "valkey",
101
+ b"valkey",
102
+ ] # noqa: Y015
103
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
104
+ _WhichOneofReturnType_nosql_database: _TypeAlias = _typing.Literal[
105
+ "cassandra",
106
+ "mongodb",
107
+ "dynamodb",
108
+ "cosmosdb",
109
+ "redis",
110
+ "valkey",
111
+ "elasticsearch",
112
+ "open_search",
113
+ ] # noqa: Y015
114
+ _WhichOneofArgType_nosql_database: _TypeAlias = _typing.Literal[
115
+ "nosql_database", b"nosql_database"
116
+ ] # noqa: Y015
102
117
  def WhichOneof(
103
- self, oneof_group: typing.Literal["nosql_database", b"nosql_database"]
104
- ) -> (
105
- typing.Literal[
106
- "cassandra",
107
- "mongodb",
108
- "dynamodb",
109
- "cosmosdb",
110
- "redis",
111
- "valkey",
112
- "elasticsearch",
113
- "open_search",
114
- ]
115
- | None
116
- ): ...
118
+ self, oneof_group: _WhichOneofArgType_nosql_database
119
+ ) -> _WhichOneofReturnType_nosql_database | None: ...
117
120
 
118
- global___NoSqlDatabase = NoSqlDatabase
121
+ Global___NoSqlDatabase: _TypeAlias = NoSqlDatabase # noqa: Y015
119
122
 
120
- @typing.final
121
- class Cassandra(google.protobuf.message.Message):
122
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
123
+ @_typing.final
124
+ class Cassandra(_message.Message):
125
+ DESCRIPTOR: _descriptor.Descriptor
123
126
 
124
- CONTACT_POINTS_FIELD_NUMBER: builtins.int
125
- PORT_FIELD_NUMBER: builtins.int
126
- KEYSPACE_FIELD_NUMBER: builtins.int
127
- USERNAME_FIELD_NUMBER: builtins.int
128
- PASSWORD_FIELD_NUMBER: builtins.int
129
- SSL_ENABLED_FIELD_NUMBER: builtins.int
130
- LOCAL_DATACENTER_FIELD_NUMBER: builtins.int
131
- contact_points: builtins.str
132
- port: builtins.int
133
- keyspace: builtins.str
134
- username: builtins.str
135
- password: builtins.str
136
- ssl_enabled: builtins.bool
137
- local_datacenter: builtins.str
127
+ CONTACT_POINTS_FIELD_NUMBER: _builtins.int
128
+ PORT_FIELD_NUMBER: _builtins.int
129
+ KEYSPACE_FIELD_NUMBER: _builtins.int
130
+ USERNAME_FIELD_NUMBER: _builtins.int
131
+ PASSWORD_FIELD_NUMBER: _builtins.int
132
+ SSL_ENABLED_FIELD_NUMBER: _builtins.int
133
+ LOCAL_DATACENTER_FIELD_NUMBER: _builtins.int
134
+ contact_points: _builtins.str
135
+ port: _builtins.int
136
+ keyspace: _builtins.str
137
+ username: _builtins.str
138
+ password: _builtins.str
139
+ ssl_enabled: _builtins.bool
140
+ local_datacenter: _builtins.str
138
141
  def __init__(
139
142
  self,
140
143
  *,
141
- contact_points: builtins.str = ...,
142
- port: builtins.int = ...,
143
- keyspace: builtins.str = ...,
144
- username: builtins.str = ...,
145
- password: builtins.str = ...,
146
- ssl_enabled: builtins.bool = ...,
147
- local_datacenter: builtins.str = ...,
148
- ) -> None: ...
149
- def ClearField(
150
- self,
151
- field_name: typing.Literal[
152
- "contact_points",
153
- b"contact_points",
154
- "keyspace",
155
- b"keyspace",
156
- "local_datacenter",
157
- b"local_datacenter",
158
- "password",
159
- b"password",
160
- "port",
161
- b"port",
162
- "ssl_enabled",
163
- b"ssl_enabled",
164
- "username",
165
- b"username",
166
- ],
144
+ contact_points: _builtins.str | None = ...,
145
+ port: _builtins.int | None = ...,
146
+ keyspace: _builtins.str | None = ...,
147
+ username: _builtins.str | None = ...,
148
+ password: _builtins.str | None = ...,
149
+ ssl_enabled: _builtins.bool | None = ...,
150
+ local_datacenter: _builtins.str | None = ...,
167
151
  ) -> None: ...
152
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
153
+ "contact_points",
154
+ b"contact_points",
155
+ "keyspace",
156
+ b"keyspace",
157
+ "local_datacenter",
158
+ b"local_datacenter",
159
+ "password",
160
+ b"password",
161
+ "port",
162
+ b"port",
163
+ "ssl_enabled",
164
+ b"ssl_enabled",
165
+ "username",
166
+ b"username",
167
+ ] # noqa: Y015
168
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
169
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
170
+ "contact_points",
171
+ b"contact_points",
172
+ "keyspace",
173
+ b"keyspace",
174
+ "local_datacenter",
175
+ b"local_datacenter",
176
+ "password",
177
+ b"password",
178
+ "port",
179
+ b"port",
180
+ "ssl_enabled",
181
+ b"ssl_enabled",
182
+ "username",
183
+ b"username",
184
+ ] # noqa: Y015
185
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
168
186
 
169
- global___Cassandra = Cassandra
187
+ Global___Cassandra: _TypeAlias = Cassandra # noqa: Y015
170
188
 
171
- @typing.final
172
- class MongoDB(google.protobuf.message.Message):
173
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
189
+ @_typing.final
190
+ class MongoDB(_message.Message):
191
+ DESCRIPTOR: _descriptor.Descriptor
174
192
 
175
- CONNECTION_STRING_FIELD_NUMBER: builtins.int
176
- DATABASE_FIELD_NUMBER: builtins.int
177
- COLLECTION_FIELD_NUMBER: builtins.int
178
- connection_string: builtins.str
179
- database: builtins.str
180
- collection: builtins.str
193
+ CONNECTION_STRING_FIELD_NUMBER: _builtins.int
194
+ DATABASE_FIELD_NUMBER: _builtins.int
195
+ COLLECTION_FIELD_NUMBER: _builtins.int
196
+ connection_string: _builtins.str
197
+ database: _builtins.str
198
+ collection: _builtins.str
181
199
  def __init__(
182
200
  self,
183
201
  *,
184
- connection_string: builtins.str = ...,
185
- database: builtins.str = ...,
186
- collection: builtins.str = ...,
187
- ) -> None: ...
188
- def ClearField(
189
- self,
190
- field_name: typing.Literal[
191
- "collection",
192
- b"collection",
193
- "connection_string",
194
- b"connection_string",
195
- "database",
196
- b"database",
197
- ],
202
+ connection_string: _builtins.str | None = ...,
203
+ database: _builtins.str | None = ...,
204
+ collection: _builtins.str | None = ...,
198
205
  ) -> None: ...
206
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
207
+ "collection",
208
+ b"collection",
209
+ "connection_string",
210
+ b"connection_string",
211
+ "database",
212
+ b"database",
213
+ ] # noqa: Y015
214
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
215
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
216
+ "collection",
217
+ b"collection",
218
+ "connection_string",
219
+ b"connection_string",
220
+ "database",
221
+ b"database",
222
+ ] # noqa: Y015
223
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
199
224
 
200
- global___MongoDB = MongoDB
225
+ Global___MongoDB: _TypeAlias = MongoDB # noqa: Y015
201
226
 
202
- @typing.final
203
- class DynamoDB(google.protobuf.message.Message):
204
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
227
+ @_typing.final
228
+ class DynamoDB(_message.Message):
229
+ DESCRIPTOR: _descriptor.Descriptor
205
230
 
206
- REGION_FIELD_NUMBER: builtins.int
207
- TABLE_FIELD_NUMBER: builtins.int
208
- CREDENTIALS_FIELD_NUMBER: builtins.int
209
- USE_INSTANCE_PROFILE_FIELD_NUMBER: builtins.int
210
- region: builtins.str
211
- table: builtins.str
212
- use_instance_profile: builtins.bool
213
- @property
214
- def credentials(self) -> weaveapi.storage.v1.auth_pb2.AwsCredentials: ...
231
+ REGION_FIELD_NUMBER: _builtins.int
232
+ TABLE_FIELD_NUMBER: _builtins.int
233
+ CREDENTIALS_FIELD_NUMBER: _builtins.int
234
+ USE_INSTANCE_PROFILE_FIELD_NUMBER: _builtins.int
235
+ region: _builtins.str
236
+ table: _builtins.str
237
+ use_instance_profile: _builtins.bool
238
+ @_builtins.property
239
+ def credentials(self) -> _auth_pb2.AwsCredentials: ...
215
240
  def __init__(
216
241
  self,
217
242
  *,
218
- region: builtins.str = ...,
219
- table: builtins.str = ...,
220
- credentials: weaveapi.storage.v1.auth_pb2.AwsCredentials | None = ...,
221
- use_instance_profile: builtins.bool = ...,
222
- ) -> None: ...
223
- def HasField(
224
- self,
225
- field_name: typing.Literal[
226
- "auth",
227
- b"auth",
228
- "credentials",
229
- b"credentials",
230
- "use_instance_profile",
231
- b"use_instance_profile",
232
- ],
233
- ) -> builtins.bool: ...
234
- def ClearField(
235
- self,
236
- field_name: typing.Literal[
237
- "auth",
238
- b"auth",
239
- "credentials",
240
- b"credentials",
241
- "region",
242
- b"region",
243
- "table",
244
- b"table",
245
- "use_instance_profile",
246
- b"use_instance_profile",
247
- ],
243
+ region: _builtins.str | None = ...,
244
+ table: _builtins.str | None = ...,
245
+ credentials: _auth_pb2.AwsCredentials | None = ...,
246
+ use_instance_profile: _builtins.bool | None = ...,
248
247
  ) -> None: ...
248
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
249
+ "auth",
250
+ b"auth",
251
+ "credentials",
252
+ b"credentials",
253
+ "region",
254
+ b"region",
255
+ "table",
256
+ b"table",
257
+ "use_instance_profile",
258
+ b"use_instance_profile",
259
+ ] # noqa: Y015
260
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
261
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
262
+ "auth",
263
+ b"auth",
264
+ "credentials",
265
+ b"credentials",
266
+ "region",
267
+ b"region",
268
+ "table",
269
+ b"table",
270
+ "use_instance_profile",
271
+ b"use_instance_profile",
272
+ ] # noqa: Y015
273
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
274
+ _WhichOneofReturnType_auth: _TypeAlias = _typing.Literal[
275
+ "credentials", "use_instance_profile"
276
+ ] # noqa: Y015
277
+ _WhichOneofArgType_auth: _TypeAlias = _typing.Literal["auth", b"auth"] # noqa: Y015
249
278
  def WhichOneof(
250
- self, oneof_group: typing.Literal["auth", b"auth"]
251
- ) -> typing.Literal["credentials", "use_instance_profile"] | None: ...
279
+ self, oneof_group: _WhichOneofArgType_auth
280
+ ) -> _WhichOneofReturnType_auth | None: ...
252
281
 
253
- global___DynamoDB = DynamoDB
282
+ Global___DynamoDB: _TypeAlias = DynamoDB # noqa: Y015
254
283
 
255
- @typing.final
256
- class CosmosDB(google.protobuf.message.Message):
257
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
284
+ @_typing.final
285
+ class CosmosDB(_message.Message):
286
+ DESCRIPTOR: _descriptor.Descriptor
258
287
 
259
- ENDPOINT_FIELD_NUMBER: builtins.int
260
- KEY_FIELD_NUMBER: builtins.int
261
- DATABASE_FIELD_NUMBER: builtins.int
262
- CONTAINER_FIELD_NUMBER: builtins.int
263
- endpoint: builtins.str
264
- key: builtins.str
265
- database: builtins.str
266
- container: builtins.str
288
+ ENDPOINT_FIELD_NUMBER: _builtins.int
289
+ KEY_FIELD_NUMBER: _builtins.int
290
+ DATABASE_FIELD_NUMBER: _builtins.int
291
+ CONTAINER_FIELD_NUMBER: _builtins.int
292
+ endpoint: _builtins.str
293
+ key: _builtins.str
294
+ database: _builtins.str
295
+ container: _builtins.str
267
296
  def __init__(
268
297
  self,
269
298
  *,
270
- endpoint: builtins.str = ...,
271
- key: builtins.str = ...,
272
- database: builtins.str = ...,
273
- container: builtins.str = ...,
274
- ) -> None: ...
275
- def ClearField(
276
- self,
277
- field_name: typing.Literal[
278
- "container",
279
- b"container",
280
- "database",
281
- b"database",
282
- "endpoint",
283
- b"endpoint",
284
- "key",
285
- b"key",
286
- ],
299
+ endpoint: _builtins.str | None = ...,
300
+ key: _builtins.str | None = ...,
301
+ database: _builtins.str | None = ...,
302
+ container: _builtins.str | None = ...,
287
303
  ) -> None: ...
304
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
305
+ "container",
306
+ b"container",
307
+ "database",
308
+ b"database",
309
+ "endpoint",
310
+ b"endpoint",
311
+ "key",
312
+ b"key",
313
+ ] # noqa: Y015
314
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
315
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
316
+ "container",
317
+ b"container",
318
+ "database",
319
+ b"database",
320
+ "endpoint",
321
+ b"endpoint",
322
+ "key",
323
+ b"key",
324
+ ] # noqa: Y015
325
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
288
326
 
289
- global___CosmosDB = CosmosDB
327
+ Global___CosmosDB: _TypeAlias = CosmosDB # noqa: Y015
290
328
 
291
- @typing.final
292
- class Redis(google.protobuf.message.Message):
293
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
329
+ @_typing.final
330
+ class Redis(_message.Message):
331
+ DESCRIPTOR: _descriptor.Descriptor
294
332
 
295
- HOSTS_FIELD_NUMBER: builtins.int
296
- PORT_FIELD_NUMBER: builtins.int
297
- USERNAME_FIELD_NUMBER: builtins.int
298
- PASSWORD_FIELD_NUMBER: builtins.int
299
- port: builtins.int
300
- username: builtins.str
301
- password: builtins.str
302
- @property
303
- def hosts(
304
- self,
305
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[
306
- builtins.str
307
- ]: ...
333
+ HOSTS_FIELD_NUMBER: _builtins.int
334
+ PORT_FIELD_NUMBER: _builtins.int
335
+ USERNAME_FIELD_NUMBER: _builtins.int
336
+ PASSWORD_FIELD_NUMBER: _builtins.int
337
+ port: _builtins.int
338
+ username: _builtins.str
339
+ password: _builtins.str
340
+ @_builtins.property
341
+ def hosts(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
308
342
  def __init__(
309
343
  self,
310
344
  *,
311
- hosts: collections.abc.Iterable[builtins.str] | None = ...,
312
- port: builtins.int = ...,
313
- username: builtins.str = ...,
314
- password: builtins.str = ...,
315
- ) -> None: ...
316
- def ClearField(
317
- self,
318
- field_name: typing.Literal[
319
- "hosts",
320
- b"hosts",
321
- "password",
322
- b"password",
323
- "port",
324
- b"port",
325
- "username",
326
- b"username",
327
- ],
345
+ hosts: _abc.Iterable[_builtins.str] | None = ...,
346
+ port: _builtins.int | None = ...,
347
+ username: _builtins.str | None = ...,
348
+ password: _builtins.str | None = ...,
328
349
  ) -> None: ...
350
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
351
+ "hosts",
352
+ b"hosts",
353
+ "password",
354
+ b"password",
355
+ "port",
356
+ b"port",
357
+ "username",
358
+ b"username",
359
+ ] # noqa: Y015
360
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
361
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
362
+ "hosts",
363
+ b"hosts",
364
+ "password",
365
+ b"password",
366
+ "port",
367
+ b"port",
368
+ "username",
369
+ b"username",
370
+ ] # noqa: Y015
371
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
329
372
 
330
- global___Redis = Redis
373
+ Global___Redis: _TypeAlias = Redis # noqa: Y015
331
374
 
332
- @typing.final
333
- class Valkey(google.protobuf.message.Message):
334
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
375
+ @_typing.final
376
+ class Valkey(_message.Message):
377
+ DESCRIPTOR: _descriptor.Descriptor
335
378
 
336
- HOSTS_FIELD_NUMBER: builtins.int
337
- PORT_FIELD_NUMBER: builtins.int
338
- USERNAME_FIELD_NUMBER: builtins.int
339
- PASSWORD_FIELD_NUMBER: builtins.int
340
- port: builtins.int
341
- username: builtins.str
342
- password: builtins.str
343
- @property
344
- def hosts(
345
- self,
346
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[
347
- builtins.str
348
- ]: ...
379
+ HOSTS_FIELD_NUMBER: _builtins.int
380
+ PORT_FIELD_NUMBER: _builtins.int
381
+ USERNAME_FIELD_NUMBER: _builtins.int
382
+ PASSWORD_FIELD_NUMBER: _builtins.int
383
+ port: _builtins.int
384
+ username: _builtins.str
385
+ password: _builtins.str
386
+ @_builtins.property
387
+ def hosts(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
349
388
  def __init__(
350
389
  self,
351
390
  *,
352
- hosts: collections.abc.Iterable[builtins.str] | None = ...,
353
- port: builtins.int = ...,
354
- username: builtins.str = ...,
355
- password: builtins.str = ...,
356
- ) -> None: ...
357
- def ClearField(
358
- self,
359
- field_name: typing.Literal[
360
- "hosts",
361
- b"hosts",
362
- "password",
363
- b"password",
364
- "port",
365
- b"port",
366
- "username",
367
- b"username",
368
- ],
391
+ hosts: _abc.Iterable[_builtins.str] | None = ...,
392
+ port: _builtins.int | None = ...,
393
+ username: _builtins.str | None = ...,
394
+ password: _builtins.str | None = ...,
369
395
  ) -> None: ...
396
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
397
+ "hosts",
398
+ b"hosts",
399
+ "password",
400
+ b"password",
401
+ "port",
402
+ b"port",
403
+ "username",
404
+ b"username",
405
+ ] # noqa: Y015
406
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
407
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
408
+ "hosts",
409
+ b"hosts",
410
+ "password",
411
+ b"password",
412
+ "port",
413
+ b"port",
414
+ "username",
415
+ b"username",
416
+ ] # noqa: Y015
417
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
370
418
 
371
- global___Valkey = Valkey
419
+ Global___Valkey: _TypeAlias = Valkey # noqa: Y015
372
420
 
373
- @typing.final
374
- class Elasticsearch(google.protobuf.message.Message):
375
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
421
+ @_typing.final
422
+ class Elasticsearch(_message.Message):
423
+ DESCRIPTOR: _descriptor.Descriptor
376
424
 
377
- HOSTS_FIELD_NUMBER: builtins.int
378
- INDEX_FIELD_NUMBER: builtins.int
379
- USERNAME_FIELD_NUMBER: builtins.int
380
- PASSWORD_FIELD_NUMBER: builtins.int
381
- hosts: builtins.str
382
- index: builtins.str
383
- username: builtins.str
384
- password: builtins.str
425
+ HOSTS_FIELD_NUMBER: _builtins.int
426
+ INDEX_FIELD_NUMBER: _builtins.int
427
+ USERNAME_FIELD_NUMBER: _builtins.int
428
+ PASSWORD_FIELD_NUMBER: _builtins.int
429
+ hosts: _builtins.str
430
+ index: _builtins.str
431
+ username: _builtins.str
432
+ password: _builtins.str
385
433
  def __init__(
386
434
  self,
387
435
  *,
388
- hosts: builtins.str = ...,
389
- index: builtins.str = ...,
390
- username: builtins.str = ...,
391
- password: builtins.str = ...,
392
- ) -> None: ...
393
- def ClearField(
394
- self,
395
- field_name: typing.Literal[
396
- "hosts",
397
- b"hosts",
398
- "index",
399
- b"index",
400
- "password",
401
- b"password",
402
- "username",
403
- b"username",
404
- ],
436
+ hosts: _builtins.str | None = ...,
437
+ index: _builtins.str | None = ...,
438
+ username: _builtins.str | None = ...,
439
+ password: _builtins.str | None = ...,
405
440
  ) -> None: ...
441
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
442
+ "hosts",
443
+ b"hosts",
444
+ "index",
445
+ b"index",
446
+ "password",
447
+ b"password",
448
+ "username",
449
+ b"username",
450
+ ] # noqa: Y015
451
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
452
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
453
+ "hosts",
454
+ b"hosts",
455
+ "index",
456
+ b"index",
457
+ "password",
458
+ b"password",
459
+ "username",
460
+ b"username",
461
+ ] # noqa: Y015
462
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
406
463
 
407
- global___Elasticsearch = Elasticsearch
464
+ Global___Elasticsearch: _TypeAlias = Elasticsearch # noqa: Y015
408
465
 
409
- @typing.final
410
- class OpenSearch(google.protobuf.message.Message):
411
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
466
+ @_typing.final
467
+ class OpenSearch(_message.Message):
468
+ DESCRIPTOR: _descriptor.Descriptor
412
469
 
413
- HOSTS_FIELD_NUMBER: builtins.int
414
- INDEX_FIELD_NUMBER: builtins.int
415
- USERNAME_FIELD_NUMBER: builtins.int
416
- PASSWORD_FIELD_NUMBER: builtins.int
417
- hosts: builtins.str
418
- index: builtins.str
419
- username: builtins.str
420
- password: builtins.str
470
+ HOSTS_FIELD_NUMBER: _builtins.int
471
+ INDEX_FIELD_NUMBER: _builtins.int
472
+ USERNAME_FIELD_NUMBER: _builtins.int
473
+ PASSWORD_FIELD_NUMBER: _builtins.int
474
+ hosts: _builtins.str
475
+ index: _builtins.str
476
+ username: _builtins.str
477
+ password: _builtins.str
421
478
  def __init__(
422
479
  self,
423
480
  *,
424
- hosts: builtins.str = ...,
425
- index: builtins.str = ...,
426
- username: builtins.str = ...,
427
- password: builtins.str = ...,
428
- ) -> None: ...
429
- def ClearField(
430
- self,
431
- field_name: typing.Literal[
432
- "hosts",
433
- b"hosts",
434
- "index",
435
- b"index",
436
- "password",
437
- b"password",
438
- "username",
439
- b"username",
440
- ],
481
+ hosts: _builtins.str | None = ...,
482
+ index: _builtins.str | None = ...,
483
+ username: _builtins.str | None = ...,
484
+ password: _builtins.str | None = ...,
441
485
  ) -> None: ...
486
+ _HasFieldArgType: _TypeAlias = _typing.Literal[
487
+ "hosts",
488
+ b"hosts",
489
+ "index",
490
+ b"index",
491
+ "password",
492
+ b"password",
493
+ "username",
494
+ b"username",
495
+ ] # noqa: Y015
496
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
497
+ _ClearFieldArgType: _TypeAlias = _typing.Literal[
498
+ "hosts",
499
+ b"hosts",
500
+ "index",
501
+ b"index",
502
+ "password",
503
+ b"password",
504
+ "username",
505
+ b"username",
506
+ ] # noqa: Y015
507
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
442
508
 
443
- global___OpenSearch = OpenSearch
509
+ Global___OpenSearch: _TypeAlias = OpenSearch # noqa: Y015