weave-python 0.28.2__py3-none-any.whl → 0.30.4__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 +184 -88
- 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 +12 -4
- 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 +16 -12
- 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 +58 -16
- 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 +29 -17
- 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 +30 -4
- 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 +50 -20
- 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 +3 -3
- 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 +86 -54
- 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 +54 -18
- 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 +22 -18
- 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 +3 -3
- 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 +224 -86
- 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 +14 -8
- 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 +47 -27
- 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 +36 -10
- 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 +256 -90
- 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 +97 -21
- 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 +3 -3
- 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 +45 -21
- 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 +25 -11
- 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 +94 -34
- 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 +37 -21
- 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 +18 -4
- 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 +10 -8
- 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 +4 -4
- 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 +17 -9
- 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 +40 -22
- 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 +17 -11
- 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.28.2.dist-info → weave_python-0.30.4.dist-info}/METADATA +3 -3
- weave_python-0.30.4.dist-info/RECORD +131 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/WHEEL +1 -1
- weave_python-0.28.2.dist-info/RECORD +0 -120
- {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,34 +3,31 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
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 import struct_pb2 as _struct_pb2
|
|
10
|
+
from google.protobuf.internal import containers as _containers
|
|
11
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
12
|
+
import builtins as _builtins
|
|
13
13
|
import sys
|
|
14
|
-
import typing
|
|
14
|
+
import typing as _typing
|
|
15
15
|
|
|
16
16
|
if sys.version_info >= (3, 10):
|
|
17
|
-
|
|
17
|
+
from typing import TypeAlias as _TypeAlias
|
|
18
18
|
else:
|
|
19
|
-
import
|
|
19
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
20
20
|
|
|
21
|
-
DESCRIPTOR:
|
|
21
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
22
22
|
|
|
23
23
|
class _TransportType:
|
|
24
|
-
ValueType =
|
|
25
|
-
V:
|
|
24
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
25
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
26
26
|
|
|
27
27
|
class _TransportTypeEnumTypeWrapper(
|
|
28
|
-
|
|
29
|
-
_TransportType.ValueType
|
|
30
|
-
],
|
|
31
|
-
builtins.type,
|
|
28
|
+
_enum_type_wrapper._EnumTypeWrapper[_TransportType.ValueType], _builtins.type
|
|
32
29
|
):
|
|
33
|
-
DESCRIPTOR:
|
|
30
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
34
31
|
TRANSPORT_TYPE_UNSPECIFIED: _TransportType.ValueType # 0
|
|
35
32
|
TRANSPORT_TYPE_SSE: _TransportType.ValueType # 1
|
|
36
33
|
TRANSPORT_TYPE_STREAMABLE: _TransportType.ValueType # 2
|
|
@@ -44,120 +41,145 @@ TRANSPORT_TYPE_SSE: TransportType.ValueType # 1
|
|
|
44
41
|
TRANSPORT_TYPE_STREAMABLE: TransportType.ValueType # 2
|
|
45
42
|
TRANSPORT_TYPE_STDIO: TransportType.ValueType # 3
|
|
46
43
|
TRANSPORT_TYPE_IN_MEMORY: TransportType.ValueType # 4
|
|
47
|
-
|
|
44
|
+
Global___TransportType: _TypeAlias = TransportType # noqa: Y015
|
|
48
45
|
|
|
49
|
-
@
|
|
50
|
-
class Server(
|
|
51
|
-
DESCRIPTOR:
|
|
46
|
+
@_typing.final
|
|
47
|
+
class Server(_message.Message):
|
|
48
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
52
49
|
|
|
53
|
-
ID_FIELD_NUMBER:
|
|
54
|
-
NAME_FIELD_NUMBER:
|
|
55
|
-
VERSION_FIELD_NUMBER:
|
|
56
|
-
DESCRIPTION_FIELD_NUMBER:
|
|
57
|
-
HOST_FIELD_NUMBER:
|
|
58
|
-
TRANSPORT_TYPE_FIELD_NUMBER:
|
|
59
|
-
TRANSPORT_OPTIONS_FIELD_NUMBER:
|
|
60
|
-
TOOLS_FIELD_NUMBER:
|
|
61
|
-
PORT_FIELD_NUMBER:
|
|
62
|
-
id:
|
|
63
|
-
name:
|
|
64
|
-
version:
|
|
65
|
-
description:
|
|
66
|
-
host:
|
|
67
|
-
transport_type:
|
|
68
|
-
port:
|
|
69
|
-
@property
|
|
70
|
-
def transport_options(self) ->
|
|
71
|
-
@property
|
|
72
|
-
def tools(
|
|
73
|
-
self,
|
|
74
|
-
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
75
|
-
global___Tool
|
|
76
|
-
]: ...
|
|
50
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
51
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
52
|
+
VERSION_FIELD_NUMBER: _builtins.int
|
|
53
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
54
|
+
HOST_FIELD_NUMBER: _builtins.int
|
|
55
|
+
TRANSPORT_TYPE_FIELD_NUMBER: _builtins.int
|
|
56
|
+
TRANSPORT_OPTIONS_FIELD_NUMBER: _builtins.int
|
|
57
|
+
TOOLS_FIELD_NUMBER: _builtins.int
|
|
58
|
+
PORT_FIELD_NUMBER: _builtins.int
|
|
59
|
+
id: _builtins.str
|
|
60
|
+
name: _builtins.str
|
|
61
|
+
version: _builtins.str
|
|
62
|
+
description: _builtins.str
|
|
63
|
+
host: _builtins.str
|
|
64
|
+
transport_type: Global___TransportType.ValueType
|
|
65
|
+
port: _builtins.int
|
|
66
|
+
@_builtins.property
|
|
67
|
+
def transport_options(self) -> _struct_pb2.Struct: ...
|
|
68
|
+
@_builtins.property
|
|
69
|
+
def tools(self) -> _containers.RepeatedCompositeFieldContainer[Global___Tool]: ...
|
|
77
70
|
def __init__(
|
|
78
71
|
self,
|
|
79
72
|
*,
|
|
80
|
-
id:
|
|
81
|
-
name:
|
|
82
|
-
version:
|
|
83
|
-
description:
|
|
84
|
-
host:
|
|
85
|
-
transport_type:
|
|
86
|
-
transport_options:
|
|
87
|
-
tools:
|
|
88
|
-
port:
|
|
89
|
-
) -> None: ...
|
|
90
|
-
def HasField(
|
|
91
|
-
self, field_name: typing.Literal["transport_options", b"transport_options"]
|
|
92
|
-
) -> builtins.bool: ...
|
|
93
|
-
def ClearField(
|
|
94
|
-
self,
|
|
95
|
-
field_name: typing.Literal[
|
|
96
|
-
"description",
|
|
97
|
-
b"description",
|
|
98
|
-
"host",
|
|
99
|
-
b"host",
|
|
100
|
-
"id",
|
|
101
|
-
b"id",
|
|
102
|
-
"name",
|
|
103
|
-
b"name",
|
|
104
|
-
"port",
|
|
105
|
-
b"port",
|
|
106
|
-
"tools",
|
|
107
|
-
b"tools",
|
|
108
|
-
"transport_options",
|
|
109
|
-
b"transport_options",
|
|
110
|
-
"transport_type",
|
|
111
|
-
b"transport_type",
|
|
112
|
-
"version",
|
|
113
|
-
b"version",
|
|
114
|
-
],
|
|
73
|
+
id: _builtins.str | None = ...,
|
|
74
|
+
name: _builtins.str | None = ...,
|
|
75
|
+
version: _builtins.str | None = ...,
|
|
76
|
+
description: _builtins.str | None = ...,
|
|
77
|
+
host: _builtins.str | None = ...,
|
|
78
|
+
transport_type: Global___TransportType.ValueType | None = ...,
|
|
79
|
+
transport_options: _struct_pb2.Struct | None = ...,
|
|
80
|
+
tools: _abc.Iterable[Global___Tool] | None = ...,
|
|
81
|
+
port: _builtins.int | None = ...,
|
|
115
82
|
) -> None: ...
|
|
83
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
84
|
+
"description",
|
|
85
|
+
b"description",
|
|
86
|
+
"host",
|
|
87
|
+
b"host",
|
|
88
|
+
"id",
|
|
89
|
+
b"id",
|
|
90
|
+
"name",
|
|
91
|
+
b"name",
|
|
92
|
+
"port",
|
|
93
|
+
b"port",
|
|
94
|
+
"tools",
|
|
95
|
+
b"tools",
|
|
96
|
+
"transport_options",
|
|
97
|
+
b"transport_options",
|
|
98
|
+
"transport_type",
|
|
99
|
+
b"transport_type",
|
|
100
|
+
"version",
|
|
101
|
+
b"version",
|
|
102
|
+
] # noqa: Y015
|
|
103
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
104
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
105
|
+
"description",
|
|
106
|
+
b"description",
|
|
107
|
+
"host",
|
|
108
|
+
b"host",
|
|
109
|
+
"id",
|
|
110
|
+
b"id",
|
|
111
|
+
"name",
|
|
112
|
+
b"name",
|
|
113
|
+
"port",
|
|
114
|
+
b"port",
|
|
115
|
+
"tools",
|
|
116
|
+
b"tools",
|
|
117
|
+
"transport_options",
|
|
118
|
+
b"transport_options",
|
|
119
|
+
"transport_type",
|
|
120
|
+
b"transport_type",
|
|
121
|
+
"version",
|
|
122
|
+
b"version",
|
|
123
|
+
] # noqa: Y015
|
|
124
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
116
125
|
|
|
117
|
-
|
|
126
|
+
Global___Server: _TypeAlias = Server # noqa: Y015
|
|
118
127
|
|
|
119
|
-
@
|
|
120
|
-
class Tool(
|
|
121
|
-
DESCRIPTOR:
|
|
128
|
+
@_typing.final
|
|
129
|
+
class Tool(_message.Message):
|
|
130
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
122
131
|
|
|
123
|
-
NAME_FIELD_NUMBER:
|
|
124
|
-
DESCRIPTION_FIELD_NUMBER:
|
|
125
|
-
TITLE_FIELD_NUMBER:
|
|
126
|
-
INPUT_SCHEMA_FIELD_NUMBER:
|
|
127
|
-
OUTPUT_SCHEMA_FIELD_NUMBER:
|
|
128
|
-
SERVER_ID_FIELD_NUMBER:
|
|
129
|
-
name:
|
|
130
|
-
description:
|
|
131
|
-
title:
|
|
132
|
-
input_schema:
|
|
133
|
-
output_schema:
|
|
134
|
-
server_id:
|
|
132
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
133
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
134
|
+
TITLE_FIELD_NUMBER: _builtins.int
|
|
135
|
+
INPUT_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
136
|
+
OUTPUT_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
137
|
+
SERVER_ID_FIELD_NUMBER: _builtins.int
|
|
138
|
+
name: _builtins.str
|
|
139
|
+
description: _builtins.str
|
|
140
|
+
title: _builtins.str
|
|
141
|
+
input_schema: _builtins.bytes
|
|
142
|
+
output_schema: _builtins.bytes
|
|
143
|
+
server_id: _builtins.str
|
|
135
144
|
def __init__(
|
|
136
145
|
self,
|
|
137
146
|
*,
|
|
138
|
-
name:
|
|
139
|
-
description:
|
|
140
|
-
title:
|
|
141
|
-
input_schema:
|
|
142
|
-
output_schema:
|
|
143
|
-
server_id:
|
|
144
|
-
) -> None: ...
|
|
145
|
-
def ClearField(
|
|
146
|
-
self,
|
|
147
|
-
field_name: typing.Literal[
|
|
148
|
-
"description",
|
|
149
|
-
b"description",
|
|
150
|
-
"input_schema",
|
|
151
|
-
b"input_schema",
|
|
152
|
-
"name",
|
|
153
|
-
b"name",
|
|
154
|
-
"output_schema",
|
|
155
|
-
b"output_schema",
|
|
156
|
-
"server_id",
|
|
157
|
-
b"server_id",
|
|
158
|
-
"title",
|
|
159
|
-
b"title",
|
|
160
|
-
],
|
|
147
|
+
name: _builtins.str | None = ...,
|
|
148
|
+
description: _builtins.str | None = ...,
|
|
149
|
+
title: _builtins.str | None = ...,
|
|
150
|
+
input_schema: _builtins.bytes | None = ...,
|
|
151
|
+
output_schema: _builtins.bytes | None = ...,
|
|
152
|
+
server_id: _builtins.str | None = ...,
|
|
161
153
|
) -> None: ...
|
|
154
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
155
|
+
"description",
|
|
156
|
+
b"description",
|
|
157
|
+
"input_schema",
|
|
158
|
+
b"input_schema",
|
|
159
|
+
"name",
|
|
160
|
+
b"name",
|
|
161
|
+
"output_schema",
|
|
162
|
+
b"output_schema",
|
|
163
|
+
"server_id",
|
|
164
|
+
b"server_id",
|
|
165
|
+
"title",
|
|
166
|
+
b"title",
|
|
167
|
+
] # noqa: Y015
|
|
168
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
169
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
170
|
+
"description",
|
|
171
|
+
b"description",
|
|
172
|
+
"input_schema",
|
|
173
|
+
b"input_schema",
|
|
174
|
+
"name",
|
|
175
|
+
b"name",
|
|
176
|
+
"output_schema",
|
|
177
|
+
b"output_schema",
|
|
178
|
+
"server_id",
|
|
179
|
+
b"server_id",
|
|
180
|
+
"title",
|
|
181
|
+
b"title",
|
|
182
|
+
] # noqa: Y015
|
|
183
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
162
184
|
|
|
163
|
-
|
|
185
|
+
Global___Tool: _TypeAlias = Tool # 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/mcpregistry/v1/service.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/mcpregistry/v1/service.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/mcpregistry/v1/service.proto\x12\x17weaveapi.mcpregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a$weaveapi/mcpregistry/v1/server.proto"\x14\n\x12ListServersRequest"
|
|
28
|
+
b'\n%weaveapi/mcpregistry/v1/service.proto\x12\x17weaveapi.mcpregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a$weaveapi/mcpregistry/v1/server.proto"\x14\n\x12ListServersRequest"T\n\x13ListServersResponse\x12=\n\x07servers\x18\x01 \x03(\x0b\x32\x1f.weaveapi.mcpregistry.v1.ServerB\x02(\x01R\x07servers"3\n\x14GetServerByIDRequest\x12\x1b\n\tserver_id\x18\x01 \x01(\tR\x08serverId"T\n\x15GetServerByIDResponse\x12;\n\x06server\x18\x01 \x01(\x0b\x32\x1f.weaveapi.mcpregistry.v1.ServerB\x02(\x01R\x06server"T\n\x15RegisterServerRequest\x12;\n\x06server\x18\x01 \x01(\x0b\x32\x1f.weaveapi.mcpregistry.v1.ServerB\x02(\x01R\x06server"5\n\x16RegisterServerResponse\x12\x1b\n\tserver_id\x18\x01 \x01(\tR\x08serverId"6\n\x17UnregisterServerRequest\x12\x1b\n\tserver_id\x18\x01 \x01(\tR\x08serverId"\x1a\n\x18UnregisterServerResponse"\x12\n\x10ListToolsRequest"L\n\x11ListToolsResponse\x12\x37\n\x05tools\x18\x01 \x03(\x0b\x32\x1d.weaveapi.mcpregistry.v1.ToolB\x02(\x01R\x05tools"3\n\x14GetToolByNameRequest\x12\x1b\n\ttool_name\x18\x01 \x01(\tR\x08toolName"N\n\x15GetToolByNameResponse\x12\x35\n\x04tool\x18\x01 \x01(\x0b\x32\x1d.weaveapi.mcpregistry.v1.ToolB\x02(\x01R\x04tool2\x9f\x07\n\x0bMCPRegistry\x12\x89\x01\n\x0bListServers\x12+.weaveapi.mcpregistry.v1.ListServersRequest\x1a,.weaveapi.mcpregistry.v1.ListServersResponse"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/mcpregistry/servers\x12\x9b\x01\n\rGetServerByID\x12-.weaveapi.mcpregistry.v1.GetServerByIDRequest\x1a..weaveapi.mcpregistry.v1.GetServerByIDResponse"+\x82\xd3\xe4\x93\x02%\x12#/v1/mcpregistry/servers/{server_id}\x12\x9e\x01\n\x0eRegisterServer\x12..weaveapi.mcpregistry.v1.RegisterServerRequest\x1a/.weaveapi.mcpregistry.v1.RegisterServerResponse"+\x82\xd3\xe4\x93\x02%" /v1/mcpregistry/servers/register:\x01*\x12\xa4\x01\n\x10UnregisterServer\x12\x30.weaveapi.mcpregistry.v1.UnregisterServerRequest\x1a\x31.weaveapi.mcpregistry.v1.UnregisterServerResponse"+\x82\xd3\xe4\x93\x02%*#/v1/mcpregistry/servers/{server_id}\x12\x81\x01\n\tListTools\x12).weaveapi.mcpregistry.v1.ListToolsRequest\x1a*.weaveapi.mcpregistry.v1.ListToolsResponse"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/mcpregistry/tools\x12\x99\x01\n\rGetToolByName\x12-.weaveapi.mcpregistry.v1.GetToolByNameRequest\x1a..weaveapi.mcpregistry.v1.GetToolByNameResponse")\x82\xd3\xe4\x93\x02#\x12!/v1/mcpregistry/tools/{tool_name}B\xed\x01\n\x1b\x63om.weaveapi.mcpregistry.v1B\x0cServiceProtoP\x01ZBgithub.com/weave-labs/weave-go/weaveapi/mcpregistry/v1;mcpregistry\xa2\x02\x03WMX\xaa\x02\x17Weaveapi.Mcpregistry.V1\xca\x02\x17Weaveapi\\Mcpregistry\\V1\xe2\x02#Weaveapi\\Mcpregistry\\V1\\GPBMetadata\xea\x02\x19Weaveapi::Mcpregistry::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -38,6 +38,26 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
40
|
]._serialized_options = b"\n\033com.weaveapi.mcpregistry.v1B\014ServiceProtoP\001ZBgithub.com/weave-labs/weave-go/weaveapi/mcpregistry/v1;mcpregistry\242\002\003WMX\252\002\027Weaveapi.Mcpregistry.V1\312\002\027Weaveapi\\Mcpregistry\\V1\342\002#Weaveapi\\Mcpregistry\\V1\\GPBMetadata\352\002\031Weaveapi::Mcpregistry::V1"
|
|
41
|
+
_globals["_LISTSERVERSRESPONSE"].fields_by_name["servers"]._loaded_options = None
|
|
42
|
+
_globals["_LISTSERVERSRESPONSE"].fields_by_name[
|
|
43
|
+
"servers"
|
|
44
|
+
]._serialized_options = b"(\001"
|
|
45
|
+
_globals["_GETSERVERBYIDRESPONSE"].fields_by_name["server"]._loaded_options = None
|
|
46
|
+
_globals["_GETSERVERBYIDRESPONSE"].fields_by_name[
|
|
47
|
+
"server"
|
|
48
|
+
]._serialized_options = b"(\001"
|
|
49
|
+
_globals["_REGISTERSERVERREQUEST"].fields_by_name["server"]._loaded_options = None
|
|
50
|
+
_globals["_REGISTERSERVERREQUEST"].fields_by_name[
|
|
51
|
+
"server"
|
|
52
|
+
]._serialized_options = b"(\001"
|
|
53
|
+
_globals["_LISTTOOLSRESPONSE"].fields_by_name["tools"]._loaded_options = None
|
|
54
|
+
_globals["_LISTTOOLSRESPONSE"].fields_by_name[
|
|
55
|
+
"tools"
|
|
56
|
+
]._serialized_options = b"(\001"
|
|
57
|
+
_globals["_GETTOOLBYNAMERESPONSE"].fields_by_name["tool"]._loaded_options = None
|
|
58
|
+
_globals["_GETTOOLBYNAMERESPONSE"].fields_by_name[
|
|
59
|
+
"tool"
|
|
60
|
+
]._serialized_options = b"(\001"
|
|
41
61
|
_globals["_MCPREGISTRY"].methods_by_name["ListServers"]._loaded_options = None
|
|
42
62
|
_globals["_MCPREGISTRY"].methods_by_name[
|
|
43
63
|
"ListServers"
|
|
@@ -73,27 +93,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
73
93
|
_globals["_LISTSERVERSREQUEST"]._serialized_start = 134
|
|
74
94
|
_globals["_LISTSERVERSREQUEST"]._serialized_end = 154
|
|
75
95
|
_globals["_LISTSERVERSRESPONSE"]._serialized_start = 156
|
|
76
|
-
_globals["_LISTSERVERSRESPONSE"]._serialized_end =
|
|
77
|
-
_globals["_GETSERVERBYIDREQUEST"]._serialized_start =
|
|
78
|
-
_globals["_GETSERVERBYIDREQUEST"]._serialized_end =
|
|
79
|
-
_globals["_GETSERVERBYIDRESPONSE"]._serialized_start =
|
|
80
|
-
_globals["_GETSERVERBYIDRESPONSE"]._serialized_end =
|
|
81
|
-
_globals["_REGISTERSERVERREQUEST"]._serialized_start =
|
|
82
|
-
_globals["_REGISTERSERVERREQUEST"]._serialized_end =
|
|
83
|
-
_globals["_REGISTERSERVERRESPONSE"]._serialized_start =
|
|
84
|
-
_globals["_REGISTERSERVERRESPONSE"]._serialized_end =
|
|
85
|
-
_globals["_UNREGISTERSERVERREQUEST"]._serialized_start =
|
|
86
|
-
_globals["_UNREGISTERSERVERREQUEST"]._serialized_end =
|
|
87
|
-
_globals["_UNREGISTERSERVERRESPONSE"]._serialized_start =
|
|
88
|
-
_globals["_UNREGISTERSERVERRESPONSE"]._serialized_end =
|
|
89
|
-
_globals["_LISTTOOLSREQUEST"]._serialized_start =
|
|
90
|
-
_globals["_LISTTOOLSREQUEST"]._serialized_end =
|
|
91
|
-
_globals["_LISTTOOLSRESPONSE"]._serialized_start =
|
|
92
|
-
_globals["_LISTTOOLSRESPONSE"]._serialized_end =
|
|
93
|
-
_globals["_GETTOOLBYNAMEREQUEST"]._serialized_start =
|
|
94
|
-
_globals["_GETTOOLBYNAMEREQUEST"]._serialized_end =
|
|
95
|
-
_globals["_GETTOOLBYNAMERESPONSE"]._serialized_start =
|
|
96
|
-
_globals["_GETTOOLBYNAMERESPONSE"]._serialized_end =
|
|
97
|
-
_globals["_MCPREGISTRY"]._serialized_start =
|
|
98
|
-
_globals["_MCPREGISTRY"]._serialized_end =
|
|
96
|
+
_globals["_LISTSERVERSRESPONSE"]._serialized_end = 240
|
|
97
|
+
_globals["_GETSERVERBYIDREQUEST"]._serialized_start = 242
|
|
98
|
+
_globals["_GETSERVERBYIDREQUEST"]._serialized_end = 293
|
|
99
|
+
_globals["_GETSERVERBYIDRESPONSE"]._serialized_start = 295
|
|
100
|
+
_globals["_GETSERVERBYIDRESPONSE"]._serialized_end = 379
|
|
101
|
+
_globals["_REGISTERSERVERREQUEST"]._serialized_start = 381
|
|
102
|
+
_globals["_REGISTERSERVERREQUEST"]._serialized_end = 465
|
|
103
|
+
_globals["_REGISTERSERVERRESPONSE"]._serialized_start = 467
|
|
104
|
+
_globals["_REGISTERSERVERRESPONSE"]._serialized_end = 520
|
|
105
|
+
_globals["_UNREGISTERSERVERREQUEST"]._serialized_start = 522
|
|
106
|
+
_globals["_UNREGISTERSERVERREQUEST"]._serialized_end = 576
|
|
107
|
+
_globals["_UNREGISTERSERVERRESPONSE"]._serialized_start = 578
|
|
108
|
+
_globals["_UNREGISTERSERVERRESPONSE"]._serialized_end = 604
|
|
109
|
+
_globals["_LISTTOOLSREQUEST"]._serialized_start = 606
|
|
110
|
+
_globals["_LISTTOOLSREQUEST"]._serialized_end = 624
|
|
111
|
+
_globals["_LISTTOOLSRESPONSE"]._serialized_start = 626
|
|
112
|
+
_globals["_LISTTOOLSRESPONSE"]._serialized_end = 702
|
|
113
|
+
_globals["_GETTOOLBYNAMEREQUEST"]._serialized_start = 704
|
|
114
|
+
_globals["_GETTOOLBYNAMEREQUEST"]._serialized_end = 755
|
|
115
|
+
_globals["_GETTOOLBYNAMERESPONSE"]._serialized_start = 757
|
|
116
|
+
_globals["_GETTOOLBYNAMERESPONSE"]._serialized_end = 835
|
|
117
|
+
_globals["_MCPREGISTRY"]._serialized_start = 838
|
|
118
|
+
_globals["_MCPREGISTRY"]._serialized_end = 1765
|
|
99
119
|
# @@protoc_insertion_point(module_scope)
|