weave-python 0.28.1__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.
- weave/weaveapi/auth/v1/service_pb2.py +194 -98
- weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
- weave/weaveapi/auth/v1/session_pb2.py +14 -6
- weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/usage_pb2.py +18 -14
- weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/user_pb2.py +60 -18
- weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
- weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
- weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/generate_pb2.py +32 -6
- weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
- weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/service_pb2.py +52 -22
- weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
- weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
- weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
- weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
- weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
- weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
- weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
- weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/model_pb2.py +56 -20
- weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
- weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
- weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
- weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
- weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
- weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/service_pb2.py +228 -90
- weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
- weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
- weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
- weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
- weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
- weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
- weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
- weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
- weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
- weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
- weave/weaveapi/payment/v1/service_pb2.py +264 -98
- weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
- weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
- weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/auth_pb2.py +6 -6
- weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
- weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
- weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
- weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
- weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
- weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/service_pb2.py +96 -36
- weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
- weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
- weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
- weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
- weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/storage_pb2.py +20 -6
- weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
- weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
- weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
- weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
- weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
- weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
- weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
- weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
- weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
- weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
- weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
- weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
- weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
- weave/weavesql/llmxdb/capabilities.py +487 -0
- weave/weavesql/llmxdb/changes.py +297 -0
- weave/weavesql/llmxdb/models.py +594 -0
- weave/weavesql/llmxdb/providers.py +348 -0
- weave/weavesql/llmxdb/scraper_runs.py +287 -0
- weave/weavesql/llmxdb/search.py +721 -0
- weave/weavesql/weavedb/dataset.py +75 -0
- weave/weavesql/weavedb/models.py +135 -0
- weave/weavesql/weavedb/relationships.py +72 -0
- weave/weavesql/weavedb/storage.py +113 -0
- weave/weavesql/weavedb/synthesizer.py +107 -0
- weave_python-0.30.3.dist-info/METADATA +52 -0
- weave_python-0.30.3.dist-info/RECORD +131 -0
- {weave_python-0.28.1.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
- weave_python-0.30.3.dist-info/licenses/LICENSE +120 -0
- weave_python-0.28.1.dist-info/METADATA +0 -6
- weave_python-0.28.1.dist-info/RECORD +0 -119
|
@@ -3,31 +3,30 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import
|
|
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 google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
11
|
+
import builtins as _builtins
|
|
12
12
|
import sys
|
|
13
|
-
import typing
|
|
13
|
+
import typing as _typing
|
|
14
14
|
|
|
15
15
|
if sys.version_info >= (3, 10):
|
|
16
|
-
|
|
16
|
+
from typing import TypeAlias as _TypeAlias
|
|
17
17
|
else:
|
|
18
|
-
import
|
|
18
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR:
|
|
20
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
21
21
|
|
|
22
22
|
class _DataType:
|
|
23
|
-
ValueType =
|
|
24
|
-
V:
|
|
23
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
24
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
25
25
|
|
|
26
26
|
class _DataTypeEnumTypeWrapper(
|
|
27
|
-
|
|
28
|
-
builtins.type,
|
|
27
|
+
_enum_type_wrapper._EnumTypeWrapper[_DataType.ValueType], _builtins.type
|
|
29
28
|
):
|
|
30
|
-
DESCRIPTOR:
|
|
29
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
31
30
|
DATA_TYPE_UNSPECIFIED: _DataType.ValueType # 0
|
|
32
31
|
DATA_TYPE_STRING: _DataType.ValueType # 1
|
|
33
32
|
DATA_TYPE_INTEGER: _DataType.ValueType # 2
|
|
@@ -52,141 +51,172 @@ DATA_TYPE_DATE: DataType.ValueType # 6
|
|
|
52
51
|
DATA_TYPE_BINARY: DataType.ValueType # 7
|
|
53
52
|
DATA_TYPE_CATEGORICAL: DataType.ValueType # 8
|
|
54
53
|
DATA_TYPE_ORDINAL: DataType.ValueType # 9
|
|
55
|
-
|
|
54
|
+
Global___DataType: _TypeAlias = DataType # noqa: Y015
|
|
56
55
|
|
|
57
|
-
@
|
|
58
|
-
class Dataset(
|
|
56
|
+
@_typing.final
|
|
57
|
+
class Dataset(_message.Message):
|
|
59
58
|
"""Dataset represents a tabular dataset within a storage source"""
|
|
60
59
|
|
|
61
|
-
DESCRIPTOR:
|
|
62
|
-
|
|
63
|
-
ID_FIELD_NUMBER:
|
|
64
|
-
NAME_FIELD_NUMBER:
|
|
65
|
-
DESCRIPTION_FIELD_NUMBER:
|
|
66
|
-
STORAGE_ID_FIELD_NUMBER:
|
|
67
|
-
SCHEMA_ID_FIELD_NUMBER:
|
|
68
|
-
IS_SYNTHETIC_FIELD_NUMBER:
|
|
69
|
-
id:
|
|
70
|
-
name:
|
|
71
|
-
description:
|
|
72
|
-
storage_id:
|
|
73
|
-
schema_id:
|
|
74
|
-
is_synthetic:
|
|
60
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
61
|
+
|
|
62
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
63
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
64
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
65
|
+
STORAGE_ID_FIELD_NUMBER: _builtins.int
|
|
66
|
+
SCHEMA_ID_FIELD_NUMBER: _builtins.int
|
|
67
|
+
IS_SYNTHETIC_FIELD_NUMBER: _builtins.int
|
|
68
|
+
id: _builtins.str
|
|
69
|
+
name: _builtins.str
|
|
70
|
+
description: _builtins.str
|
|
71
|
+
storage_id: _builtins.str
|
|
72
|
+
schema_id: _builtins.str
|
|
73
|
+
is_synthetic: _builtins.bool
|
|
75
74
|
def __init__(
|
|
76
75
|
self,
|
|
77
76
|
*,
|
|
78
|
-
id:
|
|
79
|
-
name:
|
|
80
|
-
description:
|
|
81
|
-
storage_id:
|
|
82
|
-
schema_id:
|
|
83
|
-
is_synthetic:
|
|
77
|
+
id: _builtins.str | None = ...,
|
|
78
|
+
name: _builtins.str | None = ...,
|
|
79
|
+
description: _builtins.str | None = ...,
|
|
80
|
+
storage_id: _builtins.str | None = ...,
|
|
81
|
+
schema_id: _builtins.str | None = ...,
|
|
82
|
+
is_synthetic: _builtins.bool | None = ...,
|
|
84
83
|
) -> None: ...
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
84
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
85
|
+
"description",
|
|
86
|
+
b"description",
|
|
87
|
+
"id",
|
|
88
|
+
b"id",
|
|
89
|
+
"is_synthetic",
|
|
90
|
+
b"is_synthetic",
|
|
91
|
+
"name",
|
|
92
|
+
b"name",
|
|
93
|
+
"schema_id",
|
|
94
|
+
b"schema_id",
|
|
95
|
+
"storage_id",
|
|
96
|
+
b"storage_id",
|
|
97
|
+
] # noqa: Y015
|
|
98
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
99
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
100
|
+
"description",
|
|
101
|
+
b"description",
|
|
102
|
+
"id",
|
|
103
|
+
b"id",
|
|
104
|
+
"is_synthetic",
|
|
105
|
+
b"is_synthetic",
|
|
106
|
+
"name",
|
|
107
|
+
b"name",
|
|
108
|
+
"schema_id",
|
|
109
|
+
b"schema_id",
|
|
110
|
+
"storage_id",
|
|
111
|
+
b"storage_id",
|
|
112
|
+
] # noqa: Y015
|
|
113
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
114
|
+
|
|
115
|
+
Global___Dataset: _TypeAlias = Dataset # noqa: Y015
|
|
116
|
+
|
|
117
|
+
@_typing.final
|
|
118
|
+
class Schema(_message.Message):
|
|
119
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
120
|
+
|
|
121
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
122
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
123
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
124
|
+
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
125
|
+
id: _builtins.str
|
|
126
|
+
name: _builtins.str
|
|
127
|
+
description: _builtins.str
|
|
128
|
+
@_builtins.property
|
|
117
129
|
def columns(
|
|
118
130
|
self,
|
|
119
|
-
) ->
|
|
120
|
-
global___Column
|
|
121
|
-
]: ...
|
|
131
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___Column]: ...
|
|
122
132
|
def __init__(
|
|
123
133
|
self,
|
|
124
134
|
*,
|
|
125
|
-
id:
|
|
126
|
-
name:
|
|
127
|
-
description:
|
|
128
|
-
columns:
|
|
129
|
-
) -> None: ...
|
|
130
|
-
def ClearField(
|
|
131
|
-
self,
|
|
132
|
-
field_name: typing.Literal[
|
|
133
|
-
"columns",
|
|
134
|
-
b"columns",
|
|
135
|
-
"description",
|
|
136
|
-
b"description",
|
|
137
|
-
"id",
|
|
138
|
-
b"id",
|
|
139
|
-
"name",
|
|
140
|
-
b"name",
|
|
141
|
-
],
|
|
135
|
+
id: _builtins.str | None = ...,
|
|
136
|
+
name: _builtins.str | None = ...,
|
|
137
|
+
description: _builtins.str | None = ...,
|
|
138
|
+
columns: _abc.Iterable[Global___Column] | None = ...,
|
|
142
139
|
) -> None: ...
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
140
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
141
|
+
"columns",
|
|
142
|
+
b"columns",
|
|
143
|
+
"description",
|
|
144
|
+
b"description",
|
|
145
|
+
"id",
|
|
146
|
+
b"id",
|
|
147
|
+
"name",
|
|
148
|
+
b"name",
|
|
149
|
+
] # noqa: Y015
|
|
150
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
151
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
152
|
+
"columns",
|
|
153
|
+
b"columns",
|
|
154
|
+
"description",
|
|
155
|
+
b"description",
|
|
156
|
+
"id",
|
|
157
|
+
b"id",
|
|
158
|
+
"name",
|
|
159
|
+
b"name",
|
|
160
|
+
] # noqa: Y015
|
|
161
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
162
|
+
|
|
163
|
+
Global___Schema: _TypeAlias = Schema # noqa: Y015
|
|
164
|
+
|
|
165
|
+
@_typing.final
|
|
166
|
+
class Column(_message.Message):
|
|
148
167
|
"""Column represents a column in a tabular dataset"""
|
|
149
168
|
|
|
150
|
-
DESCRIPTOR:
|
|
169
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
151
170
|
|
|
152
|
-
ID_FIELD_NUMBER:
|
|
153
|
-
NAME_FIELD_NUMBER:
|
|
154
|
-
DATA_TYPE_FIELD_NUMBER:
|
|
155
|
-
IS_PRIMARY_KEY_FIELD_NUMBER:
|
|
156
|
-
DESCRIPTION_FIELD_NUMBER:
|
|
157
|
-
id:
|
|
171
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
172
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
173
|
+
DATA_TYPE_FIELD_NUMBER: _builtins.int
|
|
174
|
+
IS_PRIMARY_KEY_FIELD_NUMBER: _builtins.int
|
|
175
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
176
|
+
id: _builtins.str
|
|
158
177
|
"""Unique identifier for this column"""
|
|
159
|
-
name:
|
|
178
|
+
name: _builtins.str
|
|
160
179
|
"""Name of the column"""
|
|
161
|
-
data_type:
|
|
180
|
+
data_type: Global___DataType.ValueType
|
|
162
181
|
"""Data type of the column"""
|
|
163
|
-
is_primary_key:
|
|
182
|
+
is_primary_key: _builtins.bool
|
|
164
183
|
"""Whether this column is a primary key"""
|
|
165
|
-
description:
|
|
184
|
+
description: _builtins.str
|
|
166
185
|
"""Optional description"""
|
|
167
186
|
def __init__(
|
|
168
187
|
self,
|
|
169
188
|
*,
|
|
170
|
-
id:
|
|
171
|
-
name:
|
|
172
|
-
data_type:
|
|
173
|
-
is_primary_key:
|
|
174
|
-
description:
|
|
189
|
+
id: _builtins.str | None = ...,
|
|
190
|
+
name: _builtins.str | None = ...,
|
|
191
|
+
data_type: Global___DataType.ValueType | None = ...,
|
|
192
|
+
is_primary_key: _builtins.bool | None = ...,
|
|
193
|
+
description: _builtins.str | None = ...,
|
|
175
194
|
) -> None: ...
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
195
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
196
|
+
"data_type",
|
|
197
|
+
b"data_type",
|
|
198
|
+
"description",
|
|
199
|
+
b"description",
|
|
200
|
+
"id",
|
|
201
|
+
b"id",
|
|
202
|
+
"is_primary_key",
|
|
203
|
+
b"is_primary_key",
|
|
204
|
+
"name",
|
|
205
|
+
b"name",
|
|
206
|
+
] # noqa: Y015
|
|
207
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
208
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
209
|
+
"data_type",
|
|
210
|
+
b"data_type",
|
|
211
|
+
"description",
|
|
212
|
+
b"description",
|
|
213
|
+
"id",
|
|
214
|
+
b"id",
|
|
215
|
+
"is_primary_key",
|
|
216
|
+
b"is_primary_key",
|
|
217
|
+
"name",
|
|
218
|
+
b"name",
|
|
219
|
+
] # noqa: Y015
|
|
220
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
221
|
+
|
|
222
|
+
Global___Column: _TypeAlias = Column # noqa: Y015
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import abc
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import grpc
|
|
10
|
-
import typing
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
11
|
|
|
12
|
-
_T =
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
13
|
|
|
14
14
|
class _MaybeAsyncIterator(
|
|
15
|
-
|
|
16
|
-
collections.abc.Iterator[_T],
|
|
17
|
-
metaclass=abc.ABCMeta,
|
|
15
|
+
_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
|
|
18
16
|
): ...
|
|
19
|
-
class _ServicerContext(
|
|
17
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
18
|
...
|
|
19
|
+
|
|
20
|
+
GRPC_GENERATED_VERSION: str
|
|
21
|
+
GRPC_VERSION: str
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: weaveapi/synthesize/v1/inline_data.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -14,8 +14,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
15
|
_runtime_version.Domain.PUBLIC,
|
|
16
16
|
6,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
33,
|
|
18
|
+
5,
|
|
19
19
|
"",
|
|
20
20
|
"weaveapi/synthesize/v1/inline_data.proto",
|
|
21
21
|
)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n(weaveapi/synthesize/v1/inline_data.proto\x12\x16weaveapi.synthesize.v1"d\n\nInlineData\x12:\n\x06\x66ormat\x18\x01 \x01(\x0e\x32".weaveapi.synthesize.v1.DataFormatR\x06\x66ormat\x12\x1a\n\x08\x63ontents\x18\x02 \x01(\x0cR\x08\x63ontents*\x98\x01\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x44\x41TA_FORMAT_CSV\x10\x01\x12\x14\n\x10\x44\x41TA_FORMAT_JSON\x10\x02\x12\x17\n\x13\x44\x41TA_FORMAT_PARQUET\x10\x03\x12\x14\n\x10\x44\x41TA_FORMAT_AVRO\x10\x04\x12\x13\n\x0f\x44\x41TA_FORMAT_ORC\x10\x05\x42\
|
|
28
|
+
b'\n(weaveapi/synthesize/v1/inline_data.proto\x12\x16weaveapi.synthesize.v1\x1a!google/protobuf/go_features.proto"d\n\nInlineData\x12:\n\x06\x66ormat\x18\x01 \x01(\x0e\x32".weaveapi.synthesize.v1.DataFormatR\x06\x66ormat\x12\x1a\n\x08\x63ontents\x18\x02 \x01(\x0cR\x08\x63ontents*\x98\x01\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x44\x41TA_FORMAT_CSV\x10\x01\x12\x14\n\x10\x44\x41TA_FORMAT_JSON\x10\x02\x12\x17\n\x13\x44\x41TA_FORMAT_PARQUET\x10\x03\x12\x14\n\x10\x44\x41TA_FORMAT_AVRO\x10\x04\x12\x13\n\x0f\x44\x41TA_FORMAT_ORC\x10\x05\x42\xf1\x01\n\x1a\x63om.weaveapi.synthesize.v1B\x0fInlineDataProtoP\x01Z@github.com/weave-labs/weave-go/weaveapi/synthesize/v1;synthesize\xa2\x02\x03WSX\xaa\x02\x16Weaveapi.Synthesize.V1\xca\x02\x16Weaveapi\\Synthesize\\V1\xe2\x02"Weaveapi\\Synthesize\\V1\\GPBMetadata\xea\x02\x18Weaveapi::Synthesize::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,9 +37,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b'\n\032com.weaveapi.synthesize.v1B\017InlineDataProtoP\001Z@github.com/weave-labs/weave-go/weaveapi/synthesize/v1;synthesize\242\002\003WSX\252\002\026Weaveapi.Synthesize.V1\312\002\026Weaveapi\\Synthesize\\V1\342\002"Weaveapi\\Synthesize\\V1\\GPBMetadata\352\002\030Weaveapi::Synthesize::V1'
|
|
41
|
-
_globals["_DATAFORMAT"]._serialized_start =
|
|
42
|
-
_globals["_DATAFORMAT"]._serialized_end =
|
|
43
|
-
_globals["_INLINEDATA"]._serialized_start =
|
|
44
|
-
_globals["_INLINEDATA"]._serialized_end =
|
|
40
|
+
]._serialized_options = b'\n\032com.weaveapi.synthesize.v1B\017InlineDataProtoP\001Z@github.com/weave-labs/weave-go/weaveapi/synthesize/v1;synthesize\242\002\003WSX\252\002\026Weaveapi.Synthesize.V1\312\002\026Weaveapi\\Synthesize\\V1\342\002"Weaveapi\\Synthesize\\V1\\GPBMetadata\352\002\030Weaveapi::Synthesize::V1\222\003\005\322>\002\020\003'
|
|
41
|
+
_globals["_DATAFORMAT"]._serialized_start = 206
|
|
42
|
+
_globals["_DATAFORMAT"]._serialized_end = 358
|
|
43
|
+
_globals["_INLINEDATA"]._serialized_start = 103
|
|
44
|
+
_globals["_INLINEDATA"]._serialized_end = 203
|
|
45
45
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,29 +3,28 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
9
|
+
import builtins as _builtins
|
|
10
10
|
import sys
|
|
11
|
-
import typing
|
|
11
|
+
import typing as _typing
|
|
12
12
|
|
|
13
13
|
if sys.version_info >= (3, 10):
|
|
14
|
-
|
|
14
|
+
from typing import TypeAlias as _TypeAlias
|
|
15
15
|
else:
|
|
16
|
-
import
|
|
16
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR:
|
|
18
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
19
19
|
|
|
20
20
|
class _DataFormat:
|
|
21
|
-
ValueType =
|
|
22
|
-
V:
|
|
21
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
22
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
23
23
|
|
|
24
24
|
class _DataFormatEnumTypeWrapper(
|
|
25
|
-
|
|
26
|
-
builtins.type,
|
|
25
|
+
_enum_type_wrapper._EnumTypeWrapper[_DataFormat.ValueType], _builtins.type
|
|
27
26
|
):
|
|
28
|
-
DESCRIPTOR:
|
|
27
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
29
28
|
DATA_FORMAT_UNSPECIFIED: _DataFormat.ValueType # 0
|
|
30
29
|
DATA_FORMAT_CSV: _DataFormat.ValueType # 1
|
|
31
30
|
DATA_FORMAT_JSON: _DataFormat.ValueType # 2
|
|
@@ -42,31 +41,36 @@ DATA_FORMAT_JSON: DataFormat.ValueType # 2
|
|
|
42
41
|
DATA_FORMAT_PARQUET: DataFormat.ValueType # 3
|
|
43
42
|
DATA_FORMAT_AVRO: DataFormat.ValueType # 4
|
|
44
43
|
DATA_FORMAT_ORC: DataFormat.ValueType # 5
|
|
45
|
-
|
|
44
|
+
Global___DataFormat: _TypeAlias = DataFormat # noqa: Y015
|
|
46
45
|
|
|
47
|
-
@
|
|
48
|
-
class InlineData(
|
|
46
|
+
@_typing.final
|
|
47
|
+
class InlineData(_message.Message):
|
|
49
48
|
"""Inline represents data sent directly in the request. This is used for
|
|
50
49
|
small datasets that are sent directly in the request body. Please use
|
|
51
50
|
with caution as this can cause issues with large datasets.
|
|
52
51
|
"""
|
|
53
52
|
|
|
54
|
-
DESCRIPTOR:
|
|
53
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
55
54
|
|
|
56
|
-
FORMAT_FIELD_NUMBER:
|
|
57
|
-
CONTENTS_FIELD_NUMBER:
|
|
58
|
-
format:
|
|
55
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
56
|
+
CONTENTS_FIELD_NUMBER: _builtins.int
|
|
57
|
+
format: Global___DataFormat.ValueType
|
|
59
58
|
"""Format of the inline data"""
|
|
60
|
-
contents:
|
|
59
|
+
contents: _builtins.bytes
|
|
61
60
|
"""The content of the inline data"""
|
|
62
61
|
def __init__(
|
|
63
62
|
self,
|
|
64
63
|
*,
|
|
65
|
-
format:
|
|
66
|
-
contents:
|
|
67
|
-
) -> None: ...
|
|
68
|
-
def ClearField(
|
|
69
|
-
self, field_name: typing.Literal["contents", b"contents", "format", b"format"]
|
|
64
|
+
format: Global___DataFormat.ValueType | None = ...,
|
|
65
|
+
contents: _builtins.bytes | None = ...,
|
|
70
66
|
) -> None: ...
|
|
67
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
68
|
+
"contents", b"contents", "format", b"format"
|
|
69
|
+
] # noqa: Y015
|
|
70
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
71
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
72
|
+
"contents", b"contents", "format", b"format"
|
|
73
|
+
] # noqa: Y015
|
|
74
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
Global___InlineData: _TypeAlias = InlineData # noqa: Y015
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import abc
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import grpc
|
|
10
|
-
import typing
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
11
|
|
|
12
|
-
_T =
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
13
|
|
|
14
14
|
class _MaybeAsyncIterator(
|
|
15
|
-
|
|
16
|
-
collections.abc.Iterator[_T],
|
|
17
|
-
metaclass=abc.ABCMeta,
|
|
15
|
+
_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
|
|
18
16
|
): ...
|
|
19
|
-
class _ServicerContext(
|
|
17
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
18
|
...
|
|
19
|
+
|
|
20
|
+
GRPC_GENERATED_VERSION: str
|
|
21
|
+
GRPC_VERSION: str
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: weaveapi/synthesize/v1/relationship.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -14,8 +14,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
15
|
_runtime_version.Domain.PUBLIC,
|
|
16
16
|
6,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
33,
|
|
18
|
+
5,
|
|
19
19
|
"",
|
|
20
20
|
"weaveapi/synthesize/v1/relationship.proto",
|
|
21
21
|
)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n)weaveapi/synthesize/v1/relationship.proto\x12\x16weaveapi.synthesize.v1"\
|
|
28
|
+
b'\n)weaveapi/synthesize/v1/relationship.proto\x12\x16weaveapi.synthesize.v1\x1a!google/protobuf/go_features.proto"\xf5\x01\n\x12\x43olumnRelationship\x12\x43\n\x06source\x18\x01 \x01(\x0b\x32\'.weaveapi.synthesize.v1.ColumnReferenceB\x02(\x01R\x06source\x12\x43\n\x06target\x18\x02 \x01(\x0b\x32\'.weaveapi.synthesize.v1.ColumnReferenceB\x02(\x01R\x06target\x12U\n\x11relationship_type\x18\x03 \x01(\x0e\x32(.weaveapi.synthesize.v1.RelationshipTypeR\x10relationshipType"M\n\x0f\x43olumnReference\x12\x1d\n\ndataset_id\x18\x01 \x01(\tR\tdatasetId\x12\x1b\n\tcolumn_id\x18\x02 \x01(\tR\x08\x63olumnId*\x9f\x02\n\x10RelationshipType\x12!\n\x1dRELATIONSHIP_TYPE_UNSPECIFIED\x10\x00\x12)\n%RELATIONSHIP_TYPE_CONTEXT_FOREIGN_KEY\x10\x01\x12-\n)RELATIONSHIP_TYPE_NON_CONTEXT_FOREIGN_KEY\x10\x02\x12!\n\x1dRELATIONSHIP_TYPE_ONE_TO_MANY\x10\x03\x12!\n\x1dRELATIONSHIP_TYPE_MANY_TO_ONE\x10\x04\x12"\n\x1eRELATIONSHIP_TYPE_MANY_TO_MANY\x10\x05\x12$\n RELATIONSHIP_TYPE_SELF_REFERENCE\x10\x06\x42\xf3\x01\n\x1a\x63om.weaveapi.synthesize.v1B\x11RelationshipProtoP\x01Z@github.com/weave-labs/weave-go/weaveapi/synthesize/v1;synthesize\xa2\x02\x03WSX\xaa\x02\x16Weaveapi.Synthesize.V1\xca\x02\x16Weaveapi\\Synthesize\\V1\xe2\x02"Weaveapi\\Synthesize\\V1\\GPBMetadata\xea\x02\x18Weaveapi::Synthesize::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,11 +37,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b'\n\032com.weaveapi.synthesize.v1B\021RelationshipProtoP\001Z@github.com/weave-labs/weave-go/weaveapi/synthesize/v1;synthesize\242\002\003WSX\252\002\026Weaveapi.Synthesize.V1\312\002\026Weaveapi\\Synthesize\\V1\342\002"Weaveapi\\Synthesize\\V1\\GPBMetadata\352\002\030Weaveapi::Synthesize::V1'
|
|
41
|
-
_globals["
|
|
42
|
-
_globals["
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
_globals["
|
|
46
|
-
_globals["
|
|
40
|
+
]._serialized_options = b'\n\032com.weaveapi.synthesize.v1B\021RelationshipProtoP\001Z@github.com/weave-labs/weave-go/weaveapi/synthesize/v1;synthesize\242\002\003WSX\252\002\026Weaveapi.Synthesize.V1\312\002\026Weaveapi\\Synthesize\\V1\342\002"Weaveapi\\Synthesize\\V1\\GPBMetadata\352\002\030Weaveapi::Synthesize::V1\222\003\005\322>\002\020\003'
|
|
41
|
+
_globals["_COLUMNRELATIONSHIP"].fields_by_name["source"]._loaded_options = None
|
|
42
|
+
_globals["_COLUMNRELATIONSHIP"].fields_by_name[
|
|
43
|
+
"source"
|
|
44
|
+
]._serialized_options = b"(\001"
|
|
45
|
+
_globals["_COLUMNRELATIONSHIP"].fields_by_name["target"]._loaded_options = None
|
|
46
|
+
_globals["_COLUMNRELATIONSHIP"].fields_by_name[
|
|
47
|
+
"target"
|
|
48
|
+
]._serialized_options = b"(\001"
|
|
49
|
+
_globals["_RELATIONSHIPTYPE"]._serialized_start = 432
|
|
50
|
+
_globals["_RELATIONSHIPTYPE"]._serialized_end = 719
|
|
51
|
+
_globals["_COLUMNRELATIONSHIP"]._serialized_start = 105
|
|
52
|
+
_globals["_COLUMNRELATIONSHIP"]._serialized_end = 350
|
|
53
|
+
_globals["_COLUMNREFERENCE"]._serialized_start = 352
|
|
54
|
+
_globals["_COLUMNREFERENCE"]._serialized_end = 429
|
|
47
55
|
# @@protoc_insertion_point(module_scope)
|