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
|
@@ -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/training.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/training.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/training.proto\x12\x16weaveapi.synthesize.v1\x1a\x1cgoogle/protobuf/struct.proto"\
|
|
28
|
+
b'\n%weaveapi/synthesize/v1/training.proto\x12\x16weaveapi.synthesize.v1\x1a!google/protobuf/go_features.proto\x1a\x1cgoogle/protobuf/struct.proto"\xbb\x02\n\x1dStartSynthesizerTrainingEvent\x12%\n\x0esynthesizer_id\x18\x01 \x01(\tR\rsynthesizerId\x12\x1f\n\x0b\x64\x61taset_ids\x18\x02 \x03(\tR\ndatasetIds\x12O\n\x0ftraining_driver\x18\x03 \x01(\x0e\x32&.weaveapi.synthesize.v1.TrainingDriverR\x0etrainingDriver\x12@\n\rdriver_config\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0c\x64riverConfig\x12?\n\x1coutput_storage_connection_id\x18\x05 \x01(\tR\x19outputStorageConnectionId"\xf5\x01\n\x15TrainingProgressEvent\x12@\n\njob_status\x18\x01 \x01(\x0e\x32!.weaveapi.synthesize.v1.JobStatusR\tjobStatus\x12\x1b\n\tstep_name\x18\x02 \x01(\tR\x08stepName\x12\x42\n\x0bstep_status\x18\x03 \x01(\x0e\x32!.weaveapi.synthesize.v1.JobStatusR\nstepStatus\x12#\n\rstep_progress\x18\x04 \x01(\x02R\x0cstepProgress\x12\x14\n\x05\x65rror\x18\x05 \x01(\tR\x05\x65rror*\x88\x01\n\x0eTrainingDriver\x12\x1f\n\x1bTRAINING_DRIVER_UNSPECIFIED\x10\x00\x12\x1c\n\x18TRAINING_DRIVER_MOSTLYAI\x10\x01\x12\x17\n\x13TRAINING_DRIVER_SDV\x10\x02\x12\x1e\n\x1aTRAINING_DRIVER_SMARTNOISE\x10\x03*\x88\x01\n\tJobStatus\x12\x1a\n\x16JOB_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12JOB_STATUS_PENDING\x10\x01\x12\x16\n\x12JOB_STATUS_RUNNING\x10\x02\x12\x18\n\x14JOB_STATUS_COMPLETED\x10\x03\x12\x15\n\x11JOB_STATUS_FAILED\x10\x04\x42\xef\x01\n\x1a\x63om.weaveapi.synthesize.v1B\rTrainingProtoP\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,13 +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\rTrainingProtoP\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
|
-
|
|
43
|
-
|
|
44
|
-
_globals["
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
_globals["
|
|
48
|
-
_globals["
|
|
40
|
+
]._serialized_options = b'\n\032com.weaveapi.synthesize.v1B\rTrainingProtoP\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["_STARTSYNTHESIZERTRAININGEVENT"].fields_by_name[
|
|
42
|
+
"driver_config"
|
|
43
|
+
]._loaded_options = None
|
|
44
|
+
_globals["_STARTSYNTHESIZERTRAININGEVENT"].fields_by_name[
|
|
45
|
+
"driver_config"
|
|
46
|
+
]._serialized_options = b"(\001"
|
|
47
|
+
_globals["_TRAININGDRIVER"]._serialized_start = 697
|
|
48
|
+
_globals["_TRAININGDRIVER"]._serialized_end = 833
|
|
49
|
+
_globals["_JOBSTATUS"]._serialized_start = 836
|
|
50
|
+
_globals["_JOBSTATUS"]._serialized_end = 972
|
|
51
|
+
_globals["_STARTSYNTHESIZERTRAININGEVENT"]._serialized_start = 131
|
|
52
|
+
_globals["_STARTSYNTHESIZERTRAININGEVENT"]._serialized_end = 446
|
|
53
|
+
_globals["_TRAININGPROGRESSEVENT"]._serialized_start = 449
|
|
54
|
+
_globals["_TRAININGPROGRESSEVENT"]._serialized_end = 694
|
|
49
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -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 _TrainingDriver:
|
|
24
|
-
ValueType =
|
|
25
|
-
V:
|
|
24
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
25
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
26
26
|
|
|
27
27
|
class _TrainingDriverEnumTypeWrapper(
|
|
28
|
-
|
|
29
|
-
_TrainingDriver.ValueType
|
|
30
|
-
],
|
|
31
|
-
builtins.type,
|
|
28
|
+
_enum_type_wrapper._EnumTypeWrapper[_TrainingDriver.ValueType], _builtins.type
|
|
32
29
|
):
|
|
33
|
-
DESCRIPTOR:
|
|
30
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
34
31
|
TRAINING_DRIVER_UNSPECIFIED: _TrainingDriver.ValueType # 0
|
|
35
32
|
TRAINING_DRIVER_MOSTLYAI: _TrainingDriver.ValueType # 1
|
|
36
33
|
TRAINING_DRIVER_SDV: _TrainingDriver.ValueType # 2
|
|
@@ -42,17 +39,16 @@ TRAINING_DRIVER_UNSPECIFIED: TrainingDriver.ValueType # 0
|
|
|
42
39
|
TRAINING_DRIVER_MOSTLYAI: TrainingDriver.ValueType # 1
|
|
43
40
|
TRAINING_DRIVER_SDV: TrainingDriver.ValueType # 2
|
|
44
41
|
TRAINING_DRIVER_SMARTNOISE: TrainingDriver.ValueType # 3
|
|
45
|
-
|
|
42
|
+
Global___TrainingDriver: _TypeAlias = TrainingDriver # noqa: Y015
|
|
46
43
|
|
|
47
44
|
class _JobStatus:
|
|
48
|
-
ValueType =
|
|
49
|
-
V:
|
|
45
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
46
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
50
47
|
|
|
51
48
|
class _JobStatusEnumTypeWrapper(
|
|
52
|
-
|
|
53
|
-
builtins.type,
|
|
49
|
+
_enum_type_wrapper._EnumTypeWrapper[_JobStatus.ValueType], _builtins.type
|
|
54
50
|
):
|
|
55
|
-
DESCRIPTOR:
|
|
51
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
56
52
|
JOB_STATUS_UNSPECIFIED: _JobStatus.ValueType # 0
|
|
57
53
|
JOB_STATUS_PENDING: _JobStatus.ValueType # 1
|
|
58
54
|
JOB_STATUS_RUNNING: _JobStatus.ValueType # 2
|
|
@@ -66,95 +62,112 @@ JOB_STATUS_PENDING: JobStatus.ValueType # 1
|
|
|
66
62
|
JOB_STATUS_RUNNING: JobStatus.ValueType # 2
|
|
67
63
|
JOB_STATUS_COMPLETED: JobStatus.ValueType # 3
|
|
68
64
|
JOB_STATUS_FAILED: JobStatus.ValueType # 4
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
@
|
|
72
|
-
class StartSynthesizerTrainingEvent(
|
|
73
|
-
DESCRIPTOR:
|
|
74
|
-
|
|
75
|
-
SYNTHESIZER_ID_FIELD_NUMBER:
|
|
76
|
-
DATASET_IDS_FIELD_NUMBER:
|
|
77
|
-
TRAINING_DRIVER_FIELD_NUMBER:
|
|
78
|
-
DRIVER_CONFIG_FIELD_NUMBER:
|
|
79
|
-
OUTPUT_STORAGE_CONNECTION_ID_FIELD_NUMBER:
|
|
80
|
-
synthesizer_id:
|
|
81
|
-
training_driver:
|
|
82
|
-
output_storage_connection_id:
|
|
83
|
-
@property
|
|
65
|
+
Global___JobStatus: _TypeAlias = JobStatus # noqa: Y015
|
|
66
|
+
|
|
67
|
+
@_typing.final
|
|
68
|
+
class StartSynthesizerTrainingEvent(_message.Message):
|
|
69
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
70
|
+
|
|
71
|
+
SYNTHESIZER_ID_FIELD_NUMBER: _builtins.int
|
|
72
|
+
DATASET_IDS_FIELD_NUMBER: _builtins.int
|
|
73
|
+
TRAINING_DRIVER_FIELD_NUMBER: _builtins.int
|
|
74
|
+
DRIVER_CONFIG_FIELD_NUMBER: _builtins.int
|
|
75
|
+
OUTPUT_STORAGE_CONNECTION_ID_FIELD_NUMBER: _builtins.int
|
|
76
|
+
synthesizer_id: _builtins.str
|
|
77
|
+
training_driver: Global___TrainingDriver.ValueType
|
|
78
|
+
output_storage_connection_id: _builtins.str
|
|
79
|
+
@_builtins.property
|
|
84
80
|
def dataset_ids(
|
|
85
81
|
self,
|
|
86
|
-
) ->
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
@property
|
|
90
|
-
def driver_config(self) -> google.protobuf.struct_pb2.Struct: ...
|
|
82
|
+
) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
83
|
+
@_builtins.property
|
|
84
|
+
def driver_config(self) -> _struct_pb2.Struct: ...
|
|
91
85
|
def __init__(
|
|
92
86
|
self,
|
|
93
87
|
*,
|
|
94
|
-
synthesizer_id:
|
|
95
|
-
dataset_ids:
|
|
96
|
-
training_driver:
|
|
97
|
-
driver_config:
|
|
98
|
-
output_storage_connection_id:
|
|
88
|
+
synthesizer_id: _builtins.str | None = ...,
|
|
89
|
+
dataset_ids: _abc.Iterable[_builtins.str] | None = ...,
|
|
90
|
+
training_driver: Global___TrainingDriver.ValueType | None = ...,
|
|
91
|
+
driver_config: _struct_pb2.Struct | None = ...,
|
|
92
|
+
output_storage_connection_id: _builtins.str | None = ...,
|
|
99
93
|
) -> None: ...
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
94
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
95
|
+
"dataset_ids",
|
|
96
|
+
b"dataset_ids",
|
|
97
|
+
"driver_config",
|
|
98
|
+
b"driver_config",
|
|
99
|
+
"output_storage_connection_id",
|
|
100
|
+
b"output_storage_connection_id",
|
|
101
|
+
"synthesizer_id",
|
|
102
|
+
b"synthesizer_id",
|
|
103
|
+
"training_driver",
|
|
104
|
+
b"training_driver",
|
|
105
|
+
] # noqa: Y015
|
|
106
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
107
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
108
|
+
"dataset_ids",
|
|
109
|
+
b"dataset_ids",
|
|
110
|
+
"driver_config",
|
|
111
|
+
b"driver_config",
|
|
112
|
+
"output_storage_connection_id",
|
|
113
|
+
b"output_storage_connection_id",
|
|
114
|
+
"synthesizer_id",
|
|
115
|
+
b"synthesizer_id",
|
|
116
|
+
"training_driver",
|
|
117
|
+
b"training_driver",
|
|
118
|
+
] # noqa: Y015
|
|
119
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
120
|
+
|
|
121
|
+
Global___StartSynthesizerTrainingEvent: _TypeAlias = StartSynthesizerTrainingEvent # noqa: Y015
|
|
122
|
+
|
|
123
|
+
@_typing.final
|
|
124
|
+
class TrainingProgressEvent(_message.Message):
|
|
125
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
126
|
+
|
|
127
|
+
JOB_STATUS_FIELD_NUMBER: _builtins.int
|
|
128
|
+
STEP_NAME_FIELD_NUMBER: _builtins.int
|
|
129
|
+
STEP_STATUS_FIELD_NUMBER: _builtins.int
|
|
130
|
+
STEP_PROGRESS_FIELD_NUMBER: _builtins.int
|
|
131
|
+
ERROR_FIELD_NUMBER: _builtins.int
|
|
132
|
+
job_status: Global___JobStatus.ValueType
|
|
133
|
+
step_name: _builtins.str
|
|
134
|
+
step_status: Global___JobStatus.ValueType
|
|
135
|
+
step_progress: _builtins.float
|
|
136
|
+
error: _builtins.str
|
|
135
137
|
def __init__(
|
|
136
138
|
self,
|
|
137
139
|
*,
|
|
138
|
-
job_status:
|
|
139
|
-
step_name:
|
|
140
|
-
step_status:
|
|
141
|
-
step_progress:
|
|
142
|
-
error:
|
|
140
|
+
job_status: Global___JobStatus.ValueType | None = ...,
|
|
141
|
+
step_name: _builtins.str | None = ...,
|
|
142
|
+
step_status: Global___JobStatus.ValueType | None = ...,
|
|
143
|
+
step_progress: _builtins.float | None = ...,
|
|
144
|
+
error: _builtins.str | None = ...,
|
|
143
145
|
) -> None: ...
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
146
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
147
|
+
"error",
|
|
148
|
+
b"error",
|
|
149
|
+
"job_status",
|
|
150
|
+
b"job_status",
|
|
151
|
+
"step_name",
|
|
152
|
+
b"step_name",
|
|
153
|
+
"step_progress",
|
|
154
|
+
b"step_progress",
|
|
155
|
+
"step_status",
|
|
156
|
+
b"step_status",
|
|
157
|
+
] # noqa: Y015
|
|
158
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
159
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
160
|
+
"error",
|
|
161
|
+
b"error",
|
|
162
|
+
"job_status",
|
|
163
|
+
b"job_status",
|
|
164
|
+
"step_name",
|
|
165
|
+
b"step_name",
|
|
166
|
+
"step_progress",
|
|
167
|
+
b"step_progress",
|
|
168
|
+
"step_status",
|
|
169
|
+
b"step_status",
|
|
170
|
+
] # noqa: Y015
|
|
171
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
172
|
+
|
|
173
|
+
Global___TrainingProgressEvent: _TypeAlias = TrainingProgressEvent # 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
|