frogml 1.2.29__py3-none-any.whl → 1.2.33__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.
- frogml/__init__.py +1 -1
- frogml/_proto/qwak/builds/build_pb2.py +40 -40
- frogml/_proto/qwak/builds/build_pb2.pyi +7 -1
- frogml/_proto/qwak/fitness_service/fitness_pb2.py +3 -8
- frogml/_proto/qwak/fitness_service/fitness_pb2.pyi +0 -98
- frogml/_proto/qwak/fitness_service/status_pb2.py +13 -22
- frogml/_proto/qwak/fitness_service/status_pb2.pyi +0 -128
- {frogml-1.2.29.dist-info → frogml-1.2.33.dist-info}/METADATA +1 -1
- {frogml-1.2.29.dist-info → frogml-1.2.33.dist-info}/RECORD +10 -13
- frogml/_proto/qwak/fitness_service/fitness_service_pb2.py +0 -45
- frogml/_proto/qwak/fitness_service/fitness_service_pb2.pyi +0 -126
- frogml/_proto/qwak/fitness_service/fitness_service_pb2_grpc.py +0 -169
- {frogml-1.2.29.dist-info → frogml-1.2.33.dist-info}/WHEEL +0 -0
frogml/__init__.py
CHANGED
|
@@ -17,7 +17,7 @@ from frogml._proto.qwak.fitness_service import fitness_pb2 as qwak_dot_fitness__
|
|
|
17
17
|
from frogml._proto.qwak.builds import build_values_pb2 as qwak_dot_builds_dot_build__values__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17qwak/builds/build.proto\x12\x18qwak.builds.orchestrator\x1a/qwak/user_application/common/v0/resources.proto\x1a\"qwak/fitness_service/fitness.proto\x1a\x1eqwak/builds/build_values.proto\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17qwak/builds/build.proto\x12\x18qwak.builds.orchestrator\x1a/qwak/user_application/common/v0/resources.proto\x1a\"qwak/fitness_service/fitness.proto\x1a\x1eqwak/builds/build_values.proto\"\xd9\x06\n\x0fRemoteBuildSpec\x12\x43\n\x10\x62uild_properties\x18\x01 \x01(\x0b\x32).qwak.builds.orchestrator.BuildProperties\x12\x35\n\tbuild_env\x18\x02 \x01(\x0b\x32\".qwak.builds.orchestrator.BuildEnv\x12\x43\n\rcpu_resources\x18\x03 \x01(\x0b\x32&.qwak.builds.orchestrator.CpuResourcesB\x02\x18\x01H\x00\x12\x43\n\rgpu_resources\x18\x07 \x01(\x0b\x32&.qwak.builds.orchestrator.GpuResourcesB\x02\x18\x01H\x00\x12\x62\n\x1c\x63lient_pod_compute_resources\x18\r \x01(\x0b\x32:.qwak.user_application.common.v0.ClientPodComputeResourcesH\x00\x12\x0f\n\x07verbose\x18\x04 \x01(\x05\x12\x17\n\x0f\x62uild_code_path\x18\x05 \x01(\t\x12\x14\n\x0c\x62uild_config\x18\x06 \x01(\t\x12\x15\n\rbuild_v1_flag\x18\x08 \x01(\x08\x12H\n\x13\x62uild_properties_v1\x18\t \x01(\x0b\x32+.qwak.builds.orchestrator.BuildPropertiesV1\x12\x13\n\x0b\x62uild_steps\x18\n \x03(\t\x12\x16\n\x0e\x65nvironment_id\x18\x0b \x01(\t\x12\x13\n\x0bsdk_version\x18\x0c \x01(\t\x12=\n\x0fpurchase_option\x18\x0e \x01(\x0e\x32$.qwak.fitness.service.PurchaseOption\x12\x1c\n\x14\x62uild_destined_image\x18\x0f \x01(\t\x12\"\n\x1aprovision_instance_timeout\x18\x10 \x01(\x05\x12\x16\n\x0ejfrog_token_id\x18\x11 \x01(\t\x12\x1f\n\x17\x61rtifactory_project_key\x18\x12 \x01(\t\x12\x18\n\x10model_version_id\x18\x13 \x01(\t\x12\x18\n\x10model_group_name\x18\x14 \x01(\tB\x0b\n\tResources\"g\n\x11\x42uildPropertiesV1\x12\x18\n\x10\x62uild_config_url\x18\x01 \x01(\t\x12\x1a\n\x12qwak_sdk_wheel_url\x18\x02 \x01(\t\x12\x1c\n\x14qwak_sdk_version_url\x18\x03 \x01(\t\"\xba\x01\n\x0f\x42uildProperties\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x0e\n\x06\x62ranch\x18\x02 \x01(\t\x12\x10\n\x08model_id\x18\x03 \x01(\t\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12\x39\n\tmodel_uri\x18\x05 \x01(\x0b\x32&.qwak.builds.orchestrator.ModelUriSpec\x12\x16\n\x0egpu_compatible\x18\x06 \x01(\x08\x12\x12\n\nbuild_name\x18\x07 \x01(\t\"\xb2\x01\n\x0cModelUriSpec\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x12\n\ngit_branch\x18\x02 \x01(\t\x12\x17\n\x0fgit_credentials\x18\x03 \x01(\t\x12\x1e\n\x16git_credentials_secret\x18\x04 \x01(\t\x12\x11\n\tcommit_id\x18\x05 \x01(\t\x12\x10\n\x08main_dir\x18\x06 \x01(\t\x12#\n\x1b\x64\x65pendency_required_folders\x18\x07 \x03(\t\"|\n\x08\x42uildEnv\x12\x37\n\ndocker_env\x18\x01 \x01(\x0b\x32#.qwak.builds.orchestrator.DockerEnv\x12\x37\n\npython_env\x18\x02 \x01(\x0b\x32#.qwak.builds.orchestrator.PythonEnv\"\xcc\x01\n\tDockerEnv\x12\x12\n\nbase_image\x18\x01 \x01(\t\x12\x10\n\x08\x65nv_vars\x18\x02 \x03(\t\x12\x10\n\x08no_cache\x18\x03 \x01(\x08\x12\x1c\n\x14\x61ssumed_iam_role_arn\x18\x04 \x01(\t\x12\'\n\x1fservice_account_key_secret_name\x18\x05 \x01(\t\x12@\n\x10\x63ontainer_engine\x18\x06 \x01(\x0b\x32&.qwak.build.management.ContainerEngine\"\xb8\x01\n\tPythonEnv\x12\x17\n\x0fgit_credentials\x18\x01 \x01(\t\x12\x1e\n\x16git_credentials_secret\x18\x02 \x01(\t\x12\x18\n\x10qwak_sdk_version\x18\x03 \x01(\t\x12\x1c\n\x14qwak_sdk_extra_index\x18\x04 \x01(\t\x12\x1a\n\x12\x66rogml_cli_version\x18\x05 \x01(\t\x12\x1e\n\x16\x66rogml_cli_extra_index\x18\x06 \x01(\t\"n\n\x0c\x43puResources\x12\x0b\n\x03\x63pu\x18\x01 \x01(\x02\x12\x15\n\rmemory_amount\x18\x02 \x01(\x05\x12:\n\x0cmemory_units\x18\x03 \x01(\x0e\x32$.qwak.builds.orchestrator.MemoryUnit\"W\n\x0cGpuResources\x12\x33\n\x08gpu_type\x18\x01 \x01(\x0e\x32!.qwak.builds.orchestrator.GpuType\x12\x12\n\ngpu_amount\x18\x02 \x01(\x05\"\x91\x01\n\x13\x44\x61taTableDefinition\x12?\n\x07\x63olumns\x18\x01 \x03(\x0b\x32..qwak.builds.orchestrator.DataColumnDefinition\x12\x39\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0b\x32$.qwak.builds.orchestrator.DataFormat\"\\\n\x14\x44\x61taColumnDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.qwak.builds.orchestrator.DataColumnType\"J\n\nDataFormat\x12\x32\n\x03\x63sv\x18\x01 \x01(\x0b\x32#.qwak.builds.orchestrator.CsvFormatH\x00\x42\x08\n\x06\x66ormat\"G\n\tCsvFormat\x12\x11\n\tdelimiter\x18\x01 \x01(\t\x12\x12\n\nquote_char\x18\x02 \x01(\t\x12\x13\n\x0b\x65scape_char\x18\x03 \x01(\t\"\xa5\x01\n\x0e\x42uildInitiator\x12<\n\x04user\x18\x01 \x01(\x0b\x32,.qwak.builds.orchestrator.UserBuildInitiatorH\x00\x12H\n\nautomation\x18\x02 \x01(\x0b\x32\x32.qwak.builds.orchestrator.AutomationBuildInitiatorH\x00\x42\x0b\n\tInitiator\"\x14\n\x12UserBuildInitiator\"`\n\x18\x41utomationBuildInitiator\x12\x15\n\rautomation_id\x18\x01 \x01(\t\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\x12\x17\n\x0f\x61utomation_name\x18\x03 \x01(\t*7\n\nMemoryUnit\x12\x17\n\x13UNKNOWN_MEMORY_UNIT\x10\x00\x12\x07\n\x03MIB\x10\x01\x12\x07\n\x03GIB\x10\x02*\x82\x03\n\x07GpuType\x12\x0b\n\x07INVALID\x10\x00\x12\x0e\n\nNVIDIA_K80\x10\x01\x12\x0f\n\x0bNVIDIA_V100\x10\x02\x12\x0f\n\x0bNVIDIA_A100\x10\x03\x12\r\n\tNVIDIA_T4\x10\x04\x12\x0f\n\x0bNVIDIA_A10G\x10\x05\x12\r\n\tNVIDIA_L4\x10\x06\x12\x14\n\x10NVIDIA_T4_1_4_15\x10\x07\x12\x14\n\x10NVIDIA_T4_1_8_30\x10\x08\x12\x15\n\x11NVIDIA_T4_1_16_60\x10\t\x12\x1e\n\x1aNVIDIA_A100_80GB_8_96_1360\x10\n\x12\x16\n\x12NVIDIA_V100_1_8_52\x10\x0b\x12\x18\n\x14NVIDIA_V100_4_32_208\x10\x0c\x12\x13\n\x0fNVIDIA_H100_NVL\x10\r\x12\x0e\n\nNVIDIA_A10\x10\x0e\x12\x13\n\x0fNVIDIA_H100_SXM\x10\x0f\x12\x14\n\x10NVIDIA_H100_40GB\x10\x10\x12\x14\n\x10NVIDIA_H100_80GB\x10\x11\x12\x0e\n\nNVIDIA_M60\x10\x12*d\n\x0e\x44\x61taColumnType\x12\x17\n\x13INVALID_COLUMN_TYPE\x10\x00\x12\n\n\x06OBJECT\x10\x01\x12\x07\n\x03INT\x10\x02\x12\t\n\x05\x46LOAT\x10\x03\x12\x0b\n\x07\x42OOLEAN\x10\x04\x12\x0c\n\x08\x44\x41TETIME\x10\x05*K\n\x13\x42\x61seDockerImageType\x12\"\n\x1eUNKNOWN_BASE_DOCKER_IMAGE_TYPE\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x42\'\n#com.qwak.ai.builds.orchestrator.apiP\x01\x62\x06proto3')
|
|
21
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,44 +29,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
29
29
|
_globals['_REMOTEBUILDSPEC'].fields_by_name['cpu_resources']._serialized_options = b'\030\001'
|
|
30
30
|
_globals['_REMOTEBUILDSPEC'].fields_by_name['gpu_resources']._options = None
|
|
31
31
|
_globals['_REMOTEBUILDSPEC'].fields_by_name['gpu_resources']._serialized_options = b'\030\001'
|
|
32
|
-
_globals['_MEMORYUNIT']._serialized_start=
|
|
33
|
-
_globals['_MEMORYUNIT']._serialized_end=
|
|
34
|
-
_globals['_GPUTYPE']._serialized_start=
|
|
35
|
-
_globals['_GPUTYPE']._serialized_end=
|
|
36
|
-
_globals['_DATACOLUMNTYPE']._serialized_start=
|
|
37
|
-
_globals['_DATACOLUMNTYPE']._serialized_end=
|
|
38
|
-
_globals['_BASEDOCKERIMAGETYPE']._serialized_start=
|
|
39
|
-
_globals['_BASEDOCKERIMAGETYPE']._serialized_end=
|
|
32
|
+
_globals['_MEMORYUNIT']._serialized_start=2905
|
|
33
|
+
_globals['_MEMORYUNIT']._serialized_end=2960
|
|
34
|
+
_globals['_GPUTYPE']._serialized_start=2963
|
|
35
|
+
_globals['_GPUTYPE']._serialized_end=3349
|
|
36
|
+
_globals['_DATACOLUMNTYPE']._serialized_start=3351
|
|
37
|
+
_globals['_DATACOLUMNTYPE']._serialized_end=3451
|
|
38
|
+
_globals['_BASEDOCKERIMAGETYPE']._serialized_start=3453
|
|
39
|
+
_globals['_BASEDOCKERIMAGETYPE']._serialized_end=3528
|
|
40
40
|
_globals['_REMOTEBUILDSPEC']._serialized_start=171
|
|
41
|
-
_globals['_REMOTEBUILDSPEC']._serialized_end=
|
|
42
|
-
_globals['_BUILDPROPERTIESV1']._serialized_start=
|
|
43
|
-
_globals['_BUILDPROPERTIESV1']._serialized_end=
|
|
44
|
-
_globals['_BUILDPROPERTIES']._serialized_start=
|
|
45
|
-
_globals['_BUILDPROPERTIES']._serialized_end=
|
|
46
|
-
_globals['_MODELURISPEC']._serialized_start=
|
|
47
|
-
_globals['_MODELURISPEC']._serialized_end=
|
|
48
|
-
_globals['_BUILDENV']._serialized_start=
|
|
49
|
-
_globals['_BUILDENV']._serialized_end=
|
|
50
|
-
_globals['_DOCKERENV']._serialized_start=
|
|
51
|
-
_globals['_DOCKERENV']._serialized_end=
|
|
52
|
-
_globals['_PYTHONENV']._serialized_start=
|
|
53
|
-
_globals['_PYTHONENV']._serialized_end=
|
|
54
|
-
_globals['_CPURESOURCES']._serialized_start=
|
|
55
|
-
_globals['_CPURESOURCES']._serialized_end=
|
|
56
|
-
_globals['_GPURESOURCES']._serialized_start=
|
|
57
|
-
_globals['_GPURESOURCES']._serialized_end=
|
|
58
|
-
_globals['_DATATABLEDEFINITION']._serialized_start=
|
|
59
|
-
_globals['_DATATABLEDEFINITION']._serialized_end=
|
|
60
|
-
_globals['_DATACOLUMNDEFINITION']._serialized_start=
|
|
61
|
-
_globals['_DATACOLUMNDEFINITION']._serialized_end=
|
|
62
|
-
_globals['_DATAFORMAT']._serialized_start=
|
|
63
|
-
_globals['_DATAFORMAT']._serialized_end=
|
|
64
|
-
_globals['_CSVFORMAT']._serialized_start=
|
|
65
|
-
_globals['_CSVFORMAT']._serialized_end=
|
|
66
|
-
_globals['_BUILDINITIATOR']._serialized_start=
|
|
67
|
-
_globals['_BUILDINITIATOR']._serialized_end=
|
|
68
|
-
_globals['_USERBUILDINITIATOR']._serialized_start=
|
|
69
|
-
_globals['_USERBUILDINITIATOR']._serialized_end=
|
|
70
|
-
_globals['_AUTOMATIONBUILDINITIATOR']._serialized_start=
|
|
71
|
-
_globals['_AUTOMATIONBUILDINITIATOR']._serialized_end=
|
|
41
|
+
_globals['_REMOTEBUILDSPEC']._serialized_end=1028
|
|
42
|
+
_globals['_BUILDPROPERTIESV1']._serialized_start=1030
|
|
43
|
+
_globals['_BUILDPROPERTIESV1']._serialized_end=1133
|
|
44
|
+
_globals['_BUILDPROPERTIES']._serialized_start=1136
|
|
45
|
+
_globals['_BUILDPROPERTIES']._serialized_end=1322
|
|
46
|
+
_globals['_MODELURISPEC']._serialized_start=1325
|
|
47
|
+
_globals['_MODELURISPEC']._serialized_end=1503
|
|
48
|
+
_globals['_BUILDENV']._serialized_start=1505
|
|
49
|
+
_globals['_BUILDENV']._serialized_end=1629
|
|
50
|
+
_globals['_DOCKERENV']._serialized_start=1632
|
|
51
|
+
_globals['_DOCKERENV']._serialized_end=1836
|
|
52
|
+
_globals['_PYTHONENV']._serialized_start=1839
|
|
53
|
+
_globals['_PYTHONENV']._serialized_end=2023
|
|
54
|
+
_globals['_CPURESOURCES']._serialized_start=2025
|
|
55
|
+
_globals['_CPURESOURCES']._serialized_end=2135
|
|
56
|
+
_globals['_GPURESOURCES']._serialized_start=2137
|
|
57
|
+
_globals['_GPURESOURCES']._serialized_end=2224
|
|
58
|
+
_globals['_DATATABLEDEFINITION']._serialized_start=2227
|
|
59
|
+
_globals['_DATATABLEDEFINITION']._serialized_end=2372
|
|
60
|
+
_globals['_DATACOLUMNDEFINITION']._serialized_start=2374
|
|
61
|
+
_globals['_DATACOLUMNDEFINITION']._serialized_end=2466
|
|
62
|
+
_globals['_DATAFORMAT']._serialized_start=2468
|
|
63
|
+
_globals['_DATAFORMAT']._serialized_end=2542
|
|
64
|
+
_globals['_CSVFORMAT']._serialized_start=2544
|
|
65
|
+
_globals['_CSVFORMAT']._serialized_end=2615
|
|
66
|
+
_globals['_BUILDINITIATOR']._serialized_start=2618
|
|
67
|
+
_globals['_BUILDINITIATOR']._serialized_end=2783
|
|
68
|
+
_globals['_USERBUILDINITIATOR']._serialized_start=2785
|
|
69
|
+
_globals['_USERBUILDINITIATOR']._serialized_end=2805
|
|
70
|
+
_globals['_AUTOMATIONBUILDINITIATOR']._serialized_start=2807
|
|
71
|
+
_globals['_AUTOMATIONBUILDINITIATOR']._serialized_end=2903
|
|
72
72
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -180,6 +180,7 @@ class RemoteBuildSpec(google.protobuf.message.Message):
|
|
|
180
180
|
JFROG_TOKEN_ID_FIELD_NUMBER: builtins.int
|
|
181
181
|
ARTIFACTORY_PROJECT_KEY_FIELD_NUMBER: builtins.int
|
|
182
182
|
MODEL_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
183
|
+
MODEL_GROUP_NAME_FIELD_NUMBER: builtins.int
|
|
183
184
|
verbose: builtins.int
|
|
184
185
|
"""Logs verbose mode 0: warning, 1: info, 2: debug (by qwak.tools.logger.py VERBOSITY_LEVEL_MAPPING from frogml._proto.qwak.sdk)"""
|
|
185
186
|
build_code_path: builtins.str
|
|
@@ -203,6 +204,10 @@ class RemoteBuildSpec(google.protobuf.message.Message):
|
|
|
203
204
|
"""Artifactory project key"""
|
|
204
205
|
model_version_id: builtins.str
|
|
205
206
|
"""Optional - The model version's id used for the build"""
|
|
207
|
+
model_group_name: builtins.str
|
|
208
|
+
"""Human readable model group identifier (e.g., "my-model-group").
|
|
209
|
+
This is the display name, not the UUID.
|
|
210
|
+
"""
|
|
206
211
|
@property
|
|
207
212
|
def build_properties(self) -> global___BuildProperties: ...
|
|
208
213
|
@property
|
|
@@ -249,9 +254,10 @@ class RemoteBuildSpec(google.protobuf.message.Message):
|
|
|
249
254
|
jfrog_token_id: builtins.str = ...,
|
|
250
255
|
artifactory_project_key: builtins.str = ...,
|
|
251
256
|
model_version_id: builtins.str = ...,
|
|
257
|
+
model_group_name: builtins.str = ...,
|
|
252
258
|
) -> None: ...
|
|
253
259
|
def HasField(self, field_name: typing.Literal["Resources", b"Resources", "build_env", b"build_env", "build_properties", b"build_properties", "build_properties_v1", b"build_properties_v1", "client_pod_compute_resources", b"client_pod_compute_resources", "cpu_resources", b"cpu_resources", "gpu_resources", b"gpu_resources"]) -> builtins.bool: ...
|
|
254
|
-
def ClearField(self, field_name: typing.Literal["Resources", b"Resources", "artifactory_project_key", b"artifactory_project_key", "build_code_path", b"build_code_path", "build_config", b"build_config", "build_destined_image", b"build_destined_image", "build_env", b"build_env", "build_properties", b"build_properties", "build_properties_v1", b"build_properties_v1", "build_steps", b"build_steps", "build_v1_flag", b"build_v1_flag", "client_pod_compute_resources", b"client_pod_compute_resources", "cpu_resources", b"cpu_resources", "environment_id", b"environment_id", "gpu_resources", b"gpu_resources", "jfrog_token_id", b"jfrog_token_id", "model_version_id", b"model_version_id", "provision_instance_timeout", b"provision_instance_timeout", "purchase_option", b"purchase_option", "sdk_version", b"sdk_version", "verbose", b"verbose"]) -> None: ...
|
|
260
|
+
def ClearField(self, field_name: typing.Literal["Resources", b"Resources", "artifactory_project_key", b"artifactory_project_key", "build_code_path", b"build_code_path", "build_config", b"build_config", "build_destined_image", b"build_destined_image", "build_env", b"build_env", "build_properties", b"build_properties", "build_properties_v1", b"build_properties_v1", "build_steps", b"build_steps", "build_v1_flag", b"build_v1_flag", "client_pod_compute_resources", b"client_pod_compute_resources", "cpu_resources", b"cpu_resources", "environment_id", b"environment_id", "gpu_resources", b"gpu_resources", "jfrog_token_id", b"jfrog_token_id", "model_group_name", b"model_group_name", "model_version_id", b"model_version_id", "provision_instance_timeout", b"provision_instance_timeout", "purchase_option", b"purchase_option", "sdk_version", b"sdk_version", "verbose", b"verbose"]) -> None: ...
|
|
255
261
|
def WhichOneof(self, oneof_group: typing.Literal["Resources", b"Resources"]) -> typing.Literal["cpu_resources", "gpu_resources", "client_pod_compute_resources"] | None: ...
|
|
256
262
|
|
|
257
263
|
global___RemoteBuildSpec = RemoteBuildSpec
|
|
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from frogml._proto.qwak.fitness_service import constructs_pb2 as qwak_dot_fitness__service_dot_constructs__pb2
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"qwak/fitness_service/fitness.proto\x12\x14qwak.fitness.service
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"qwak/fitness_service/fitness.proto\x12\x14qwak.fitness.service*e\n\x0ePurchaseOption\x12\x1b\n\x17INVALID_PURCHASE_OPTION\x10\x00\x12\x18\n\x14SPOT_PURCHASE_OPTION\x10\x01\x12\x1c\n\x18ONDEMAND_PURCHASE_OPTION\x10\x02\x42#\n\x1f\x63om.qwak.ai.fitness.service.apiP\x01\x62\x06proto3')
|
|
19
18
|
|
|
20
19
|
_globals = globals()
|
|
21
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,10 +22,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.fitness_service.fitnes
|
|
|
23
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
23
|
_globals['DESCRIPTOR']._options = None
|
|
25
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\037com.qwak.ai.fitness.service.apiP\001'
|
|
26
|
-
_globals['_PURCHASEOPTION']._serialized_start=
|
|
27
|
-
_globals['_PURCHASEOPTION']._serialized_end=
|
|
28
|
-
_globals['_BUILDSPEC']._serialized_start=100
|
|
29
|
-
_globals['_BUILDSPEC']._serialized_end=686
|
|
30
|
-
_globals['_BUILDPROPERTIESV1']._serialized_start=688
|
|
31
|
-
_globals['_BUILDPROPERTIESV1']._serialized_end=791
|
|
25
|
+
_globals['_PURCHASEOPTION']._serialized_start=60
|
|
26
|
+
_globals['_PURCHASEOPTION']._serialized_end=161
|
|
32
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,8 +6,6 @@ isort:skip_file
|
|
|
6
6
|
import builtins
|
|
7
7
|
import google.protobuf.descriptor
|
|
8
8
|
import google.protobuf.internal.enum_type_wrapper
|
|
9
|
-
import google.protobuf.message
|
|
10
|
-
import frogml._proto.qwak.fitness_service.constructs_pb2
|
|
11
9
|
import sys
|
|
12
10
|
import typing
|
|
13
11
|
|
|
@@ -34,99 +32,3 @@ INVALID_PURCHASE_OPTION: PurchaseOption.ValueType # 0
|
|
|
34
32
|
SPOT_PURCHASE_OPTION: PurchaseOption.ValueType # 1
|
|
35
33
|
ONDEMAND_PURCHASE_OPTION: PurchaseOption.ValueType # 2
|
|
36
34
|
global___PurchaseOption = PurchaseOption
|
|
37
|
-
|
|
38
|
-
@typing.final
|
|
39
|
-
class BuildSpec(google.protobuf.message.Message):
|
|
40
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
41
|
-
|
|
42
|
-
BUILD_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
43
|
-
BUILD_ENV_FIELD_NUMBER: builtins.int
|
|
44
|
-
CPU_RESOURCES_FIELD_NUMBER: builtins.int
|
|
45
|
-
GPU_RESOURCES_FIELD_NUMBER: builtins.int
|
|
46
|
-
VERBOSE_FIELD_NUMBER: builtins.int
|
|
47
|
-
BUILD_CONFIG_FIELD_NUMBER: builtins.int
|
|
48
|
-
BUILD_V1_FLAG_FIELD_NUMBER: builtins.int
|
|
49
|
-
BUILD_PROPERTIES_V1_FIELD_NUMBER: builtins.int
|
|
50
|
-
PURCHASE_OPTION_FIELD_NUMBER: builtins.int
|
|
51
|
-
BUILD_DESTINED_IMAGE_FIELD_NUMBER: builtins.int
|
|
52
|
-
PROVISION_INSTANCE_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
53
|
-
ARTIFACTORY_PROJECT_KEY_FIELD_NUMBER: builtins.int
|
|
54
|
-
ARTIFACTORY_BASE_URL_FIELD_NUMBER: builtins.int
|
|
55
|
-
verbose: builtins.int
|
|
56
|
-
"""Logs verbose mode 0: warning, 1: info, 2: debug (by qwak.tools.logger.py VERBOSITY_LEVEL_MAPPING from frogml._proto.qwak.sdk)"""
|
|
57
|
-
build_config: builtins.str
|
|
58
|
-
"""replace the config passed as proto json format"""
|
|
59
|
-
build_v1_flag: builtins.bool
|
|
60
|
-
"""Build v1 flag"""
|
|
61
|
-
purchase_option: global___PurchaseOption.ValueType
|
|
62
|
-
"""Purchase Option"""
|
|
63
|
-
build_destined_image: builtins.str
|
|
64
|
-
"""The image name to save build to"""
|
|
65
|
-
provision_instance_timeout: builtins.int
|
|
66
|
-
"""The image name to save build to"""
|
|
67
|
-
artifactory_project_key: builtins.str
|
|
68
|
-
"""artifactory project key"""
|
|
69
|
-
artifactory_base_url: builtins.str
|
|
70
|
-
"""artifactory base url"""
|
|
71
|
-
@property
|
|
72
|
-
def build_properties(self) -> frogml._proto.qwak.fitness_service.constructs_pb2.BuildProperties: ...
|
|
73
|
-
@property
|
|
74
|
-
def build_env(self) -> frogml._proto.qwak.fitness_service.constructs_pb2.BuildEnv: ...
|
|
75
|
-
@property
|
|
76
|
-
def cpu_resources(self) -> frogml._proto.qwak.fitness_service.constructs_pb2.CpuResources:
|
|
77
|
-
"""CPU Properties"""
|
|
78
|
-
|
|
79
|
-
@property
|
|
80
|
-
def gpu_resources(self) -> frogml._proto.qwak.fitness_service.constructs_pb2.GpuResources:
|
|
81
|
-
"""GPU Properties"""
|
|
82
|
-
|
|
83
|
-
@property
|
|
84
|
-
def build_properties_v1(self) -> global___BuildPropertiesV1:
|
|
85
|
-
"""Build Properties V1"""
|
|
86
|
-
|
|
87
|
-
def __init__(
|
|
88
|
-
self,
|
|
89
|
-
*,
|
|
90
|
-
build_properties: frogml._proto.qwak.fitness_service.constructs_pb2.BuildProperties | None = ...,
|
|
91
|
-
build_env: frogml._proto.qwak.fitness_service.constructs_pb2.BuildEnv | None = ...,
|
|
92
|
-
cpu_resources: frogml._proto.qwak.fitness_service.constructs_pb2.CpuResources | None = ...,
|
|
93
|
-
gpu_resources: frogml._proto.qwak.fitness_service.constructs_pb2.GpuResources | None = ...,
|
|
94
|
-
verbose: builtins.int = ...,
|
|
95
|
-
build_config: builtins.str = ...,
|
|
96
|
-
build_v1_flag: builtins.bool = ...,
|
|
97
|
-
build_properties_v1: global___BuildPropertiesV1 | None = ...,
|
|
98
|
-
purchase_option: global___PurchaseOption.ValueType = ...,
|
|
99
|
-
build_destined_image: builtins.str = ...,
|
|
100
|
-
provision_instance_timeout: builtins.int = ...,
|
|
101
|
-
artifactory_project_key: builtins.str = ...,
|
|
102
|
-
artifactory_base_url: builtins.str = ...,
|
|
103
|
-
) -> None: ...
|
|
104
|
-
def HasField(self, field_name: typing.Literal["Resources", b"Resources", "build_env", b"build_env", "build_properties", b"build_properties", "build_properties_v1", b"build_properties_v1", "cpu_resources", b"cpu_resources", "gpu_resources", b"gpu_resources"]) -> builtins.bool: ...
|
|
105
|
-
def ClearField(self, field_name: typing.Literal["Resources", b"Resources", "artifactory_base_url", b"artifactory_base_url", "artifactory_project_key", b"artifactory_project_key", "build_config", b"build_config", "build_destined_image", b"build_destined_image", "build_env", b"build_env", "build_properties", b"build_properties", "build_properties_v1", b"build_properties_v1", "build_v1_flag", b"build_v1_flag", "cpu_resources", b"cpu_resources", "gpu_resources", b"gpu_resources", "provision_instance_timeout", b"provision_instance_timeout", "purchase_option", b"purchase_option", "verbose", b"verbose"]) -> None: ...
|
|
106
|
-
def WhichOneof(self, oneof_group: typing.Literal["Resources", b"Resources"]) -> typing.Literal["cpu_resources", "gpu_resources"] | None: ...
|
|
107
|
-
|
|
108
|
-
global___BuildSpec = BuildSpec
|
|
109
|
-
|
|
110
|
-
@typing.final
|
|
111
|
-
class BuildPropertiesV1(google.protobuf.message.Message):
|
|
112
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
113
|
-
|
|
114
|
-
BUILD_CONFIG_URL_FIELD_NUMBER: builtins.int
|
|
115
|
-
QWAK_SDK_WHEEL_URL_FIELD_NUMBER: builtins.int
|
|
116
|
-
QWAK_SDK_VERSION_URL_FIELD_NUMBER: builtins.int
|
|
117
|
-
build_config_url: builtins.str
|
|
118
|
-
"""Build V1 - build config url"""
|
|
119
|
-
qwak_sdk_wheel_url: builtins.str
|
|
120
|
-
"""Build V1 - qwak-sdk wheel url"""
|
|
121
|
-
qwak_sdk_version_url: builtins.str
|
|
122
|
-
"""Build V1 - qwak-sdk version"""
|
|
123
|
-
def __init__(
|
|
124
|
-
self,
|
|
125
|
-
*,
|
|
126
|
-
build_config_url: builtins.str = ...,
|
|
127
|
-
qwak_sdk_wheel_url: builtins.str = ...,
|
|
128
|
-
qwak_sdk_version_url: builtins.str = ...,
|
|
129
|
-
) -> None: ...
|
|
130
|
-
def ClearField(self, field_name: typing.Literal["build_config_url", b"build_config_url", "qwak_sdk_version_url", b"qwak_sdk_version_url", "qwak_sdk_wheel_url", b"qwak_sdk_wheel_url"]) -> None: ...
|
|
131
|
-
|
|
132
|
-
global___BuildPropertiesV1 = BuildPropertiesV1
|
|
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!qwak/fitness_service/status.proto\x12\x14qwak.fitness.service\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!qwak/fitness_service/status.proto\x12\x14qwak.fitness.service\"\xa2\x01\n\tPodStatus\x12\x41\n\x12\x63ontainer_statuses\x18\x01 \x03(\x0b\x32%.qwak.fitness.service.ContainerStatus\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\r\n\x05phase\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x0e\n\x06pod_id\x18\x06 \x01(\t\"\x9d\x01\n\x0f\x43ontainerStatus\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\r\n\x05image\x18\x02 \x01(\t\x12\x15\n\rrestart_count\x18\x03 \x01(\x05\x12\x0f\n\x07started\x18\x04 \x01(\x08\x12=\n\x0f\x63ontainer_state\x18\x05 \x01(\x0b\x32$.qwak.fitness.service.ContainerState\"\x8f\x02\n\x0e\x43ontainerState\x12N\n\x17\x63ontainer_state_running\x18\x01 \x01(\x0b\x32+.qwak.fitness.service.ContainerStateRunningH\x00\x12T\n\x1a\x63ontainer_state_terminated\x18\x02 \x01(\x0b\x32..qwak.fitness.service.ContainerStateTerminatedH\x00\x12N\n\x17\x63ontainer_state_waiting\x18\x03 \x01(\x0b\x32+.qwak.fitness.service.ContainerStateWaitingH\x00\x42\x07\n\x05state\"+\n\x15\x43ontainerStateRunning\x12\x12\n\nstarted_at\x18\x01 \x01(\t\"\x9d\x01\n\x18\x43ontainerStateTerminated\x12\x14\n\x0c\x63ontainer_id\x18\x01 \x01(\t\x12\x11\n\texit_code\x18\x02 \x01(\x05\x12\x13\n\x0b\x66inished_at\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x0e\n\x06signal\x18\x06 \x01(\x05\x12\x12\n\nstarted_at\x18\x07 \x01(\t\"8\n\x15\x43ontainerStateWaiting\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\tB#\n\x1f\x63om.qwak.ai.fitness.service.apiP\x01\x62\x06proto3')
|
|
19
18
|
|
|
20
19
|
_globals = globals()
|
|
21
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,24 +22,16 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.fitness_service.status
|
|
|
23
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
23
|
_globals['DESCRIPTOR']._options = None
|
|
25
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\037com.qwak.ai.fitness.service.apiP\001'
|
|
26
|
-
_globals['
|
|
27
|
-
_globals['
|
|
28
|
-
_globals['
|
|
29
|
-
_globals['
|
|
30
|
-
_globals['
|
|
31
|
-
_globals['
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['_CONTAINERSTATE']._serialized_start=806
|
|
39
|
-
_globals['_CONTAINERSTATE']._serialized_end=1077
|
|
40
|
-
_globals['_CONTAINERSTATERUNNING']._serialized_start=1079
|
|
41
|
-
_globals['_CONTAINERSTATERUNNING']._serialized_end=1122
|
|
42
|
-
_globals['_CONTAINERSTATETERMINATED']._serialized_start=1125
|
|
43
|
-
_globals['_CONTAINERSTATETERMINATED']._serialized_end=1282
|
|
44
|
-
_globals['_CONTAINERSTATEWAITING']._serialized_start=1284
|
|
45
|
-
_globals['_CONTAINERSTATEWAITING']._serialized_end=1340
|
|
25
|
+
_globals['_PODSTATUS']._serialized_start=60
|
|
26
|
+
_globals['_PODSTATUS']._serialized_end=222
|
|
27
|
+
_globals['_CONTAINERSTATUS']._serialized_start=225
|
|
28
|
+
_globals['_CONTAINERSTATUS']._serialized_end=382
|
|
29
|
+
_globals['_CONTAINERSTATE']._serialized_start=385
|
|
30
|
+
_globals['_CONTAINERSTATE']._serialized_end=656
|
|
31
|
+
_globals['_CONTAINERSTATERUNNING']._serialized_start=658
|
|
32
|
+
_globals['_CONTAINERSTATERUNNING']._serialized_end=701
|
|
33
|
+
_globals['_CONTAINERSTATETERMINATED']._serialized_start=704
|
|
34
|
+
_globals['_CONTAINERSTATETERMINATED']._serialized_end=861
|
|
35
|
+
_globals['_CONTAINERSTATEWAITING']._serialized_start=863
|
|
36
|
+
_globals['_CONTAINERSTATEWAITING']._serialized_end=919
|
|
46
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -7,139 +7,11 @@ import builtins
|
|
|
7
7
|
import collections.abc
|
|
8
8
|
import google.protobuf.descriptor
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
|
-
import google.protobuf.internal.enum_type_wrapper
|
|
11
10
|
import google.protobuf.message
|
|
12
|
-
import sys
|
|
13
11
|
import typing
|
|
14
12
|
|
|
15
|
-
if sys.version_info >= (3, 10):
|
|
16
|
-
import typing as typing_extensions
|
|
17
|
-
else:
|
|
18
|
-
import typing_extensions
|
|
19
|
-
|
|
20
13
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
21
14
|
|
|
22
|
-
class _RemoteBuildingStatusCode:
|
|
23
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
24
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
25
|
-
|
|
26
|
-
class _RemoteBuildingStatusCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RemoteBuildingStatusCode.ValueType], builtins.type):
|
|
27
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
28
|
-
INVALID_STATUS: _RemoteBuildingStatusCode.ValueType # 0
|
|
29
|
-
"""Invalid remote build status"""
|
|
30
|
-
INITIALIZING: _RemoteBuildingStatusCode.ValueType # 1
|
|
31
|
-
"""Setting up remote build"""
|
|
32
|
-
IN_PROGRESS: _RemoteBuildingStatusCode.ValueType # 2
|
|
33
|
-
"""Running remote build"""
|
|
34
|
-
SUCCESSFUL: _RemoteBuildingStatusCode.ValueType # 3
|
|
35
|
-
"""Successful remote build"""
|
|
36
|
-
FAILED: _RemoteBuildingStatusCode.ValueType # 4
|
|
37
|
-
"""Failed remote build"""
|
|
38
|
-
CANCELLED: _RemoteBuildingStatusCode.ValueType # 5
|
|
39
|
-
"""Cancelled remote build"""
|
|
40
|
-
TIMED_OUT: _RemoteBuildingStatusCode.ValueType # 6
|
|
41
|
-
"""Timed out while pending remote build"""
|
|
42
|
-
UNKNOWN: _RemoteBuildingStatusCode.ValueType # 7
|
|
43
|
-
"""The status is unknown"""
|
|
44
|
-
|
|
45
|
-
class RemoteBuildingStatusCode(_RemoteBuildingStatusCode, metaclass=_RemoteBuildingStatusCodeEnumTypeWrapper): ...
|
|
46
|
-
|
|
47
|
-
INVALID_STATUS: RemoteBuildingStatusCode.ValueType # 0
|
|
48
|
-
"""Invalid remote build status"""
|
|
49
|
-
INITIALIZING: RemoteBuildingStatusCode.ValueType # 1
|
|
50
|
-
"""Setting up remote build"""
|
|
51
|
-
IN_PROGRESS: RemoteBuildingStatusCode.ValueType # 2
|
|
52
|
-
"""Running remote build"""
|
|
53
|
-
SUCCESSFUL: RemoteBuildingStatusCode.ValueType # 3
|
|
54
|
-
"""Successful remote build"""
|
|
55
|
-
FAILED: RemoteBuildingStatusCode.ValueType # 4
|
|
56
|
-
"""Failed remote build"""
|
|
57
|
-
CANCELLED: RemoteBuildingStatusCode.ValueType # 5
|
|
58
|
-
"""Cancelled remote build"""
|
|
59
|
-
TIMED_OUT: RemoteBuildingStatusCode.ValueType # 6
|
|
60
|
-
"""Timed out while pending remote build"""
|
|
61
|
-
UNKNOWN: RemoteBuildingStatusCode.ValueType # 7
|
|
62
|
-
"""The status is unknown"""
|
|
63
|
-
global___RemoteBuildingStatusCode = RemoteBuildingStatusCode
|
|
64
|
-
|
|
65
|
-
class _RemoteBuildingFailureReasonCode:
|
|
66
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
67
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
68
|
-
|
|
69
|
-
class _RemoteBuildingFailureReasonCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RemoteBuildingFailureReasonCode.ValueType], builtins.type):
|
|
70
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
71
|
-
INVALID_CODE: _RemoteBuildingFailureReasonCode.ValueType # 0
|
|
72
|
-
"""Invalid reason"""
|
|
73
|
-
UNKNOWN_REASON: _RemoteBuildingFailureReasonCode.ValueType # 1
|
|
74
|
-
"""Unknown reason"""
|
|
75
|
-
INSUFFICIENT_RESOURCES: _RemoteBuildingFailureReasonCode.ValueType # 2
|
|
76
|
-
"""Insufficient resources - for unscheduled pods"""
|
|
77
|
-
MISSING_DOCKER_IMAGE: _RemoteBuildingFailureReasonCode.ValueType # 3
|
|
78
|
-
"""The docker image is missing"""
|
|
79
|
-
MEMORY_LIMIT_EXCEEDED: _RemoteBuildingFailureReasonCode.ValueType # 4
|
|
80
|
-
"""Out of memory"""
|
|
81
|
-
|
|
82
|
-
class RemoteBuildingFailureReasonCode(_RemoteBuildingFailureReasonCode, metaclass=_RemoteBuildingFailureReasonCodeEnumTypeWrapper): ...
|
|
83
|
-
|
|
84
|
-
INVALID_CODE: RemoteBuildingFailureReasonCode.ValueType # 0
|
|
85
|
-
"""Invalid reason"""
|
|
86
|
-
UNKNOWN_REASON: RemoteBuildingFailureReasonCode.ValueType # 1
|
|
87
|
-
"""Unknown reason"""
|
|
88
|
-
INSUFFICIENT_RESOURCES: RemoteBuildingFailureReasonCode.ValueType # 2
|
|
89
|
-
"""Insufficient resources - for unscheduled pods"""
|
|
90
|
-
MISSING_DOCKER_IMAGE: RemoteBuildingFailureReasonCode.ValueType # 3
|
|
91
|
-
"""The docker image is missing"""
|
|
92
|
-
MEMORY_LIMIT_EXCEEDED: RemoteBuildingFailureReasonCode.ValueType # 4
|
|
93
|
-
"""Out of memory"""
|
|
94
|
-
global___RemoteBuildingFailureReasonCode = RemoteBuildingFailureReasonCode
|
|
95
|
-
|
|
96
|
-
@typing.final
|
|
97
|
-
class RemoteBuildingStatus(google.protobuf.message.Message):
|
|
98
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
99
|
-
|
|
100
|
-
REMOTE_BUILDING_STATUS_CODE_FIELD_NUMBER: builtins.int
|
|
101
|
-
FAILURE_DETAILS_FIELD_NUMBER: builtins.int
|
|
102
|
-
POD_STATUS_FIELD_NUMBER: builtins.int
|
|
103
|
-
remote_building_status_code: global___RemoteBuildingStatusCode.ValueType
|
|
104
|
-
"""The status of the building"""
|
|
105
|
-
@property
|
|
106
|
-
def failure_details(self) -> global___RemoteBuildingFailureReasonDetails:
|
|
107
|
-
"""Failure details"""
|
|
108
|
-
|
|
109
|
-
@property
|
|
110
|
-
def pod_status(self) -> global___PodStatus: ...
|
|
111
|
-
def __init__(
|
|
112
|
-
self,
|
|
113
|
-
*,
|
|
114
|
-
remote_building_status_code: global___RemoteBuildingStatusCode.ValueType = ...,
|
|
115
|
-
failure_details: global___RemoteBuildingFailureReasonDetails | None = ...,
|
|
116
|
-
pod_status: global___PodStatus | None = ...,
|
|
117
|
-
) -> None: ...
|
|
118
|
-
def HasField(self, field_name: typing.Literal["failure_details", b"failure_details", "pod_status", b"pod_status"]) -> builtins.bool: ...
|
|
119
|
-
def ClearField(self, field_name: typing.Literal["failure_details", b"failure_details", "pod_status", b"pod_status", "remote_building_status_code", b"remote_building_status_code"]) -> None: ...
|
|
120
|
-
|
|
121
|
-
global___RemoteBuildingStatus = RemoteBuildingStatus
|
|
122
|
-
|
|
123
|
-
@typing.final
|
|
124
|
-
class RemoteBuildingFailureReasonDetails(google.protobuf.message.Message):
|
|
125
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
126
|
-
|
|
127
|
-
FAILURE_CODE_FIELD_NUMBER: builtins.int
|
|
128
|
-
TECHNICAL_DETAILS_FIELD_NUMBER: builtins.int
|
|
129
|
-
failure_code: global___RemoteBuildingFailureReasonCode.ValueType
|
|
130
|
-
"""failure reason code"""
|
|
131
|
-
technical_details: builtins.str
|
|
132
|
-
"""Extra messages"""
|
|
133
|
-
def __init__(
|
|
134
|
-
self,
|
|
135
|
-
*,
|
|
136
|
-
failure_code: global___RemoteBuildingFailureReasonCode.ValueType = ...,
|
|
137
|
-
technical_details: builtins.str = ...,
|
|
138
|
-
) -> None: ...
|
|
139
|
-
def ClearField(self, field_name: typing.Literal["failure_code", b"failure_code", "technical_details", b"technical_details"]) -> None: ...
|
|
140
|
-
|
|
141
|
-
global___RemoteBuildingFailureReasonDetails = RemoteBuildingFailureReasonDetails
|
|
142
|
-
|
|
143
15
|
@typing.final
|
|
144
16
|
class PodStatus(google.protobuf.message.Message):
|
|
145
17
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
frogml/__init__.py,sha256=
|
|
1
|
+
frogml/__init__.py,sha256=3LbxvtNSPo5iBTYT1uw3TCXxhVZ6AGsup8CyZk7hAsw,741
|
|
2
2
|
frogml/_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.py,sha256=pY7-QarLJWbL9uNmZ69RfE7IPVzwpVIhtd3A0wztSNY,1942
|
|
3
3
|
frogml/_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.pyi,sha256=505I4uUrCmv2hsUw2H5eT-nlkNOCQOWodpvEkH2fHIo,3073
|
|
4
4
|
frogml/_proto/jfml/hosting_gateway/v1/build_upload_url_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
@@ -215,8 +215,8 @@ frogml/_proto/qwak/build_settings/build_settings_api_pb2_grpc.py,sha256=Oe1Zhgdx
|
|
|
215
215
|
frogml/_proto/qwak/build_settings/build_settings_pb2.py,sha256=ytkqHPqQLcpkv4wkMU7lTk97XiFoHpvxPNSHd0OIIbk,3329
|
|
216
216
|
frogml/_proto/qwak/build_settings/build_settings_pb2.pyi,sha256=1hYm_PzeSjQxWJoY7cayv3of-N5QUKacx5tb9rdwgsY,6937
|
|
217
217
|
frogml/_proto/qwak/build_settings/build_settings_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
218
|
-
frogml/_proto/qwak/builds/build_pb2.py,sha256=
|
|
219
|
-
frogml/_proto/qwak/builds/build_pb2.pyi,sha256=
|
|
218
|
+
frogml/_proto/qwak/builds/build_pb2.py,sha256=8gDwFlUdd4BoyGSF4QXUIo2VkyYpEKkokYllGgrV304,9581
|
|
219
|
+
frogml/_proto/qwak/builds/build_pb2.pyi,sha256=606HCcfvhEm12xLvZlodn_JAiuuI1wMTpkkmHEcELrg,27385
|
|
220
220
|
frogml/_proto/qwak/builds/build_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
221
221
|
frogml/_proto/qwak/builds/build_url_pb2.py,sha256=A0RbECLF1IWKNTCEnQbrrG8chWeDtNMEJE4X4JOe45E,4706
|
|
222
222
|
frogml/_proto/qwak/builds/build_url_pb2.pyi,sha256=_GLOeKP0Mq-2NT57sIPXYJYIvfGqgICc_sZkxzbMA5s,11352
|
|
@@ -458,14 +458,11 @@ frogml/_proto/qwak/file_versioning/file_versioning_service_pb2_grpc.py,sha256=uV
|
|
|
458
458
|
frogml/_proto/qwak/fitness_service/constructs_pb2.py,sha256=XjfE_lWgoxbmFYVDxZrslHQ-AwmJu-KEsfP0uwiACjE,4494
|
|
459
459
|
frogml/_proto/qwak/fitness_service/constructs_pb2.pyi,sha256=K5hYbl-kBqC24Jwvf2R0ULYTrkcLzTY0SbMSICthCZk,12317
|
|
460
460
|
frogml/_proto/qwak/fitness_service/constructs_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
461
|
-
frogml/_proto/qwak/fitness_service/fitness_pb2.py,sha256=
|
|
462
|
-
frogml/_proto/qwak/fitness_service/fitness_pb2.pyi,sha256=
|
|
461
|
+
frogml/_proto/qwak/fitness_service/fitness_pb2.py,sha256=EXVNDh9nxzTi2rJckFUH9jwpMVVfPl6ZN30q6vbFk8c,1381
|
|
462
|
+
frogml/_proto/qwak/fitness_service/fitness_pb2.pyi,sha256=T-2Uea_2JEMXZIuQJeIuXd6raIWG0_PoOkncMPSeIzw,1162
|
|
463
463
|
frogml/_proto/qwak/fitness_service/fitness_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
464
|
-
frogml/_proto/qwak/fitness_service/
|
|
465
|
-
frogml/_proto/qwak/fitness_service/
|
|
466
|
-
frogml/_proto/qwak/fitness_service/fitness_service_pb2_grpc.py,sha256=ZwaUwU3Q9lX36QL_42j2ErjXwHdDrLm0LiYUbVsHYfo,8548
|
|
467
|
-
frogml/_proto/qwak/fitness_service/status_pb2.py,sha256=ads1q1slJree2-ZgcUWnLAc9Fwv5n7UOuD70ZsEeyHs,4947
|
|
468
|
-
frogml/_proto/qwak/fitness_service/status_pb2.pyi,sha256=I7eT4c8ruu97ZHEis7L0uAI8reCiEHgdXViCzWovDz0,12383
|
|
464
|
+
frogml/_proto/qwak/fitness_service/status_pb2.py,sha256=hvQwAcxNoG_TmW9jGOYvHeJJyBsjZrWVzES-3sFe3es,3228
|
|
465
|
+
frogml/_proto/qwak/fitness_service/status_pb2.pyi,sha256=9QW8t_Pqa85CcK1vEE-RHc3ZDVLpEHChaaXThQJl3s0,6611
|
|
469
466
|
frogml/_proto/qwak/fitness_service/status_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
470
467
|
frogml/_proto/qwak/inference/feedback/feedback_pb2.py,sha256=Och9SZXLFFez9zqMYxV6svlpM8pukF56d9bbUX79BRg,5060
|
|
471
468
|
frogml/_proto/qwak/inference/feedback/feedback_pb2.pyi,sha256=vJhQrJYKlph0HkjFFFajhByzTQR3eeuVHJK9w3gsVxc,10832
|
|
@@ -1150,6 +1147,6 @@ frogml_services_mock/mocks/utils/exception_handlers.py,sha256=k_8mez3cwjNjKE9yGQ
|
|
|
1150
1147
|
frogml_services_mock/services_mock.py,sha256=y1_h189Ldu5MdVUW4nj-WMBtvUfkM_aKse7UfAb6Rxk,19419
|
|
1151
1148
|
frogml_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1152
1149
|
frogml_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
|
|
1153
|
-
frogml-1.2.
|
|
1154
|
-
frogml-1.2.
|
|
1155
|
-
frogml-1.2.
|
|
1150
|
+
frogml-1.2.33.dist-info/METADATA,sha256=hMpocpvEDL3Vw4Ra04pOp2BhbIwJTni1uNhCqthz96A,5599
|
|
1151
|
+
frogml-1.2.33.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
1152
|
+
frogml-1.2.33.dist-info/RECORD,,
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: frogml._proto.qwak.fitness_service/fitness_service.proto
|
|
4
|
-
# Protobuf Python Version: 4.25.1
|
|
5
|
-
"""Generated protocol buffer code."""
|
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
|
7
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
-
from google.protobuf.internal import builder as _builder
|
|
10
|
-
# @@protoc_insertion_point(imports)
|
|
11
|
-
|
|
12
|
-
_sym_db = _symbol_database.Default()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from frogml._proto.qwak.fitness_service import fitness_pb2 as qwak_dot_fitness__service_dot_fitness__pb2
|
|
16
|
-
from frogml._proto.qwak.fitness_service import status_pb2 as qwak_dot_fitness__service_dot_status__pb2
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*qwak/fitness_service/fitness_service.proto\x12\x14qwak.fitness.service\x1a\"qwak/fitness_service/fitness.proto\x1a!qwak/fitness_service/status.proto\"H\n\x11\x42uildModelRequest\x12\x33\n\nbuild_spec\x18\x01 \x01(\x0b\x32\x1f.qwak.fitness.service.BuildSpec\"\x14\n\x12\x42uildModelResponse\"+\n\x17\x43\x61ncelBuildModelRequest\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\"\x1a\n\x18\x43\x61ncelBuildModelResponse\"2\n\x1eGetRemoteBuildingStatusRequest\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\"]\n\x1fGetRemoteBuildingStatusResponse\x12:\n\x06status\x18\x01 \x01(\x0b\x32*.qwak.fitness.service.RemoteBuildingStatus\"4\n CleanRemoteBuildResourcesRequest\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\"#\n!CleanRemoteBuildResourcesResponse2\xfc\x03\n\x0e\x46itnessService\x12_\n\nBuildModel\x12\'.qwak.fitness.service.BuildModelRequest\x1a(.qwak.fitness.service.BuildModelResponse\x12q\n\x10\x43\x61ncelBuildModel\x12-.qwak.fitness.service.CancelBuildModelRequest\x1a..qwak.fitness.service.CancelBuildModelResponse\x12\x86\x01\n\x17GetRemoteBuildingStatus\x12\x34.qwak.fitness.service.GetRemoteBuildingStatusRequest\x1a\x35.qwak.fitness.service.GetRemoteBuildingStatusResponse\x12\x8c\x01\n\x19\x43leanRemoteBuildResources\x12\x36.qwak.fitness.service.CleanRemoteBuildResourcesRequest\x1a\x37.qwak.fitness.service.CleanRemoteBuildResourcesResponseB#\n\x1f\x63om.qwak.ai.fitness.service.apiP\x01\x62\x06proto3')
|
|
20
|
-
|
|
21
|
-
_globals = globals()
|
|
22
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.fitness_service.fitness_service_pb2', _globals)
|
|
24
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
-
_globals['DESCRIPTOR']._options = None
|
|
26
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\037com.qwak.ai.fitness.service.apiP\001'
|
|
27
|
-
_globals['_BUILDMODELREQUEST']._serialized_start=139
|
|
28
|
-
_globals['_BUILDMODELREQUEST']._serialized_end=211
|
|
29
|
-
_globals['_BUILDMODELRESPONSE']._serialized_start=213
|
|
30
|
-
_globals['_BUILDMODELRESPONSE']._serialized_end=233
|
|
31
|
-
_globals['_CANCELBUILDMODELREQUEST']._serialized_start=235
|
|
32
|
-
_globals['_CANCELBUILDMODELREQUEST']._serialized_end=278
|
|
33
|
-
_globals['_CANCELBUILDMODELRESPONSE']._serialized_start=280
|
|
34
|
-
_globals['_CANCELBUILDMODELRESPONSE']._serialized_end=306
|
|
35
|
-
_globals['_GETREMOTEBUILDINGSTATUSREQUEST']._serialized_start=308
|
|
36
|
-
_globals['_GETREMOTEBUILDINGSTATUSREQUEST']._serialized_end=358
|
|
37
|
-
_globals['_GETREMOTEBUILDINGSTATUSRESPONSE']._serialized_start=360
|
|
38
|
-
_globals['_GETREMOTEBUILDINGSTATUSRESPONSE']._serialized_end=453
|
|
39
|
-
_globals['_CLEANREMOTEBUILDRESOURCESREQUEST']._serialized_start=455
|
|
40
|
-
_globals['_CLEANREMOTEBUILDRESOURCESREQUEST']._serialized_end=507
|
|
41
|
-
_globals['_CLEANREMOTEBUILDRESOURCESRESPONSE']._serialized_start=509
|
|
42
|
-
_globals['_CLEANREMOTEBUILDRESOURCESRESPONSE']._serialized_end=544
|
|
43
|
-
_globals['_FITNESSSERVICE']._serialized_start=547
|
|
44
|
-
_globals['_FITNESSSERVICE']._serialized_end=1055
|
|
45
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
-
isort:skip_file
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
import builtins
|
|
7
|
-
import google.protobuf.descriptor
|
|
8
|
-
import google.protobuf.message
|
|
9
|
-
import frogml._proto.qwak.fitness_service.fitness_pb2
|
|
10
|
-
import frogml._proto.qwak.fitness_service.status_pb2
|
|
11
|
-
import typing
|
|
12
|
-
|
|
13
|
-
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
-
|
|
15
|
-
@typing.final
|
|
16
|
-
class BuildModelRequest(google.protobuf.message.Message):
|
|
17
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
-
|
|
19
|
-
BUILD_SPEC_FIELD_NUMBER: builtins.int
|
|
20
|
-
@property
|
|
21
|
-
def build_spec(self) -> frogml._proto.qwak.fitness_service.fitness_pb2.BuildSpec:
|
|
22
|
-
"""Requested build model spec"""
|
|
23
|
-
|
|
24
|
-
def __init__(
|
|
25
|
-
self,
|
|
26
|
-
*,
|
|
27
|
-
build_spec: frogml._proto.qwak.fitness_service.fitness_pb2.BuildSpec | None = ...,
|
|
28
|
-
) -> None: ...
|
|
29
|
-
def HasField(self, field_name: typing.Literal["build_spec", b"build_spec"]) -> builtins.bool: ...
|
|
30
|
-
def ClearField(self, field_name: typing.Literal["build_spec", b"build_spec"]) -> None: ...
|
|
31
|
-
|
|
32
|
-
global___BuildModelRequest = BuildModelRequest
|
|
33
|
-
|
|
34
|
-
@typing.final
|
|
35
|
-
class BuildModelResponse(google.protobuf.message.Message):
|
|
36
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
-
|
|
38
|
-
def __init__(
|
|
39
|
-
self,
|
|
40
|
-
) -> None: ...
|
|
41
|
-
|
|
42
|
-
global___BuildModelResponse = BuildModelResponse
|
|
43
|
-
|
|
44
|
-
@typing.final
|
|
45
|
-
class CancelBuildModelRequest(google.protobuf.message.Message):
|
|
46
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
-
|
|
48
|
-
BUILD_ID_FIELD_NUMBER: builtins.int
|
|
49
|
-
build_id: builtins.str
|
|
50
|
-
"""Build id of the build to cancel"""
|
|
51
|
-
def __init__(
|
|
52
|
-
self,
|
|
53
|
-
*,
|
|
54
|
-
build_id: builtins.str = ...,
|
|
55
|
-
) -> None: ...
|
|
56
|
-
def ClearField(self, field_name: typing.Literal["build_id", b"build_id"]) -> None: ...
|
|
57
|
-
|
|
58
|
-
global___CancelBuildModelRequest = CancelBuildModelRequest
|
|
59
|
-
|
|
60
|
-
@typing.final
|
|
61
|
-
class CancelBuildModelResponse(google.protobuf.message.Message):
|
|
62
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
63
|
-
|
|
64
|
-
def __init__(
|
|
65
|
-
self,
|
|
66
|
-
) -> None: ...
|
|
67
|
-
|
|
68
|
-
global___CancelBuildModelResponse = CancelBuildModelResponse
|
|
69
|
-
|
|
70
|
-
@typing.final
|
|
71
|
-
class GetRemoteBuildingStatusRequest(google.protobuf.message.Message):
|
|
72
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
73
|
-
|
|
74
|
-
BUILD_ID_FIELD_NUMBER: builtins.int
|
|
75
|
-
build_id: builtins.str
|
|
76
|
-
"""Build id of the build to get status for"""
|
|
77
|
-
def __init__(
|
|
78
|
-
self,
|
|
79
|
-
*,
|
|
80
|
-
build_id: builtins.str = ...,
|
|
81
|
-
) -> None: ...
|
|
82
|
-
def ClearField(self, field_name: typing.Literal["build_id", b"build_id"]) -> None: ...
|
|
83
|
-
|
|
84
|
-
global___GetRemoteBuildingStatusRequest = GetRemoteBuildingStatusRequest
|
|
85
|
-
|
|
86
|
-
@typing.final
|
|
87
|
-
class GetRemoteBuildingStatusResponse(google.protobuf.message.Message):
|
|
88
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
89
|
-
|
|
90
|
-
STATUS_FIELD_NUMBER: builtins.int
|
|
91
|
-
@property
|
|
92
|
-
def status(self) -> frogml._proto.qwak.fitness_service.status_pb2.RemoteBuildingStatus: ...
|
|
93
|
-
def __init__(
|
|
94
|
-
self,
|
|
95
|
-
*,
|
|
96
|
-
status: frogml._proto.qwak.fitness_service.status_pb2.RemoteBuildingStatus | None = ...,
|
|
97
|
-
) -> None: ...
|
|
98
|
-
def HasField(self, field_name: typing.Literal["status", b"status"]) -> builtins.bool: ...
|
|
99
|
-
def ClearField(self, field_name: typing.Literal["status", b"status"]) -> None: ...
|
|
100
|
-
|
|
101
|
-
global___GetRemoteBuildingStatusResponse = GetRemoteBuildingStatusResponse
|
|
102
|
-
|
|
103
|
-
@typing.final
|
|
104
|
-
class CleanRemoteBuildResourcesRequest(google.protobuf.message.Message):
|
|
105
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
106
|
-
|
|
107
|
-
BUILD_ID_FIELD_NUMBER: builtins.int
|
|
108
|
-
build_id: builtins.str
|
|
109
|
-
def __init__(
|
|
110
|
-
self,
|
|
111
|
-
*,
|
|
112
|
-
build_id: builtins.str = ...,
|
|
113
|
-
) -> None: ...
|
|
114
|
-
def ClearField(self, field_name: typing.Literal["build_id", b"build_id"]) -> None: ...
|
|
115
|
-
|
|
116
|
-
global___CleanRemoteBuildResourcesRequest = CleanRemoteBuildResourcesRequest
|
|
117
|
-
|
|
118
|
-
@typing.final
|
|
119
|
-
class CleanRemoteBuildResourcesResponse(google.protobuf.message.Message):
|
|
120
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
121
|
-
|
|
122
|
-
def __init__(
|
|
123
|
-
self,
|
|
124
|
-
) -> None: ...
|
|
125
|
-
|
|
126
|
-
global___CleanRemoteBuildResourcesResponse = CleanRemoteBuildResourcesResponse
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
import grpc
|
|
4
|
-
|
|
5
|
-
from frogml._proto.qwak.fitness_service import fitness_service_pb2 as qwak_dot_fitness__service_dot_fitness__service__pb2
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class FitnessServiceStub(object):
|
|
9
|
-
"""Missing associated documentation comment in .proto file."""
|
|
10
|
-
|
|
11
|
-
def __init__(self, channel):
|
|
12
|
-
"""Constructor.
|
|
13
|
-
|
|
14
|
-
Args:
|
|
15
|
-
channel: A grpc.Channel.
|
|
16
|
-
"""
|
|
17
|
-
self.BuildModel = channel.unary_unary(
|
|
18
|
-
'/qwak.fitness.service.FitnessService/BuildModel',
|
|
19
|
-
request_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.BuildModelRequest.SerializeToString,
|
|
20
|
-
response_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.BuildModelResponse.FromString,
|
|
21
|
-
)
|
|
22
|
-
self.CancelBuildModel = channel.unary_unary(
|
|
23
|
-
'/qwak.fitness.service.FitnessService/CancelBuildModel',
|
|
24
|
-
request_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CancelBuildModelRequest.SerializeToString,
|
|
25
|
-
response_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CancelBuildModelResponse.FromString,
|
|
26
|
-
)
|
|
27
|
-
self.GetRemoteBuildingStatus = channel.unary_unary(
|
|
28
|
-
'/qwak.fitness.service.FitnessService/GetRemoteBuildingStatus',
|
|
29
|
-
request_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.GetRemoteBuildingStatusRequest.SerializeToString,
|
|
30
|
-
response_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.GetRemoteBuildingStatusResponse.FromString,
|
|
31
|
-
)
|
|
32
|
-
self.CleanRemoteBuildResources = channel.unary_unary(
|
|
33
|
-
'/qwak.fitness.service.FitnessService/CleanRemoteBuildResources',
|
|
34
|
-
request_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CleanRemoteBuildResourcesRequest.SerializeToString,
|
|
35
|
-
response_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CleanRemoteBuildResourcesResponse.FromString,
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class FitnessServiceServicer(object):
|
|
40
|
-
"""Missing associated documentation comment in .proto file."""
|
|
41
|
-
|
|
42
|
-
def BuildModel(self, request, context):
|
|
43
|
-
"""Build a serving model image
|
|
44
|
-
"""
|
|
45
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
46
|
-
context.set_details('Method not implemented!')
|
|
47
|
-
raise NotImplementedError('Method not implemented!')
|
|
48
|
-
|
|
49
|
-
def CancelBuildModel(self, request, context):
|
|
50
|
-
"""Cancel an ongoing build
|
|
51
|
-
"""
|
|
52
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
-
context.set_details('Method not implemented!')
|
|
54
|
-
raise NotImplementedError('Method not implemented!')
|
|
55
|
-
|
|
56
|
-
def GetRemoteBuildingStatus(self, request, context):
|
|
57
|
-
"""Get the status of remote build
|
|
58
|
-
"""
|
|
59
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
60
|
-
context.set_details('Method not implemented!')
|
|
61
|
-
raise NotImplementedError('Method not implemented!')
|
|
62
|
-
|
|
63
|
-
def CleanRemoteBuildResources(self, request, context):
|
|
64
|
-
"""Clean the remote build resources
|
|
65
|
-
"""
|
|
66
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
|
-
context.set_details('Method not implemented!')
|
|
68
|
-
raise NotImplementedError('Method not implemented!')
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
def add_FitnessServiceServicer_to_server(servicer, server):
|
|
72
|
-
rpc_method_handlers = {
|
|
73
|
-
'BuildModel': grpc.unary_unary_rpc_method_handler(
|
|
74
|
-
servicer.BuildModel,
|
|
75
|
-
request_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.BuildModelRequest.FromString,
|
|
76
|
-
response_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.BuildModelResponse.SerializeToString,
|
|
77
|
-
),
|
|
78
|
-
'CancelBuildModel': grpc.unary_unary_rpc_method_handler(
|
|
79
|
-
servicer.CancelBuildModel,
|
|
80
|
-
request_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CancelBuildModelRequest.FromString,
|
|
81
|
-
response_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CancelBuildModelResponse.SerializeToString,
|
|
82
|
-
),
|
|
83
|
-
'GetRemoteBuildingStatus': grpc.unary_unary_rpc_method_handler(
|
|
84
|
-
servicer.GetRemoteBuildingStatus,
|
|
85
|
-
request_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.GetRemoteBuildingStatusRequest.FromString,
|
|
86
|
-
response_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.GetRemoteBuildingStatusResponse.SerializeToString,
|
|
87
|
-
),
|
|
88
|
-
'CleanRemoteBuildResources': grpc.unary_unary_rpc_method_handler(
|
|
89
|
-
servicer.CleanRemoteBuildResources,
|
|
90
|
-
request_deserializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CleanRemoteBuildResourcesRequest.FromString,
|
|
91
|
-
response_serializer=qwak_dot_fitness__service_dot_fitness__service__pb2.CleanRemoteBuildResourcesResponse.SerializeToString,
|
|
92
|
-
),
|
|
93
|
-
}
|
|
94
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
95
|
-
'qwak.fitness.service.FitnessService', rpc_method_handlers)
|
|
96
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
# This class is part of an EXPERIMENTAL API.
|
|
100
|
-
class FitnessService(object):
|
|
101
|
-
"""Missing associated documentation comment in .proto file."""
|
|
102
|
-
|
|
103
|
-
@staticmethod
|
|
104
|
-
def BuildModel(request,
|
|
105
|
-
target,
|
|
106
|
-
options=(),
|
|
107
|
-
channel_credentials=None,
|
|
108
|
-
call_credentials=None,
|
|
109
|
-
insecure=False,
|
|
110
|
-
compression=None,
|
|
111
|
-
wait_for_ready=None,
|
|
112
|
-
timeout=None,
|
|
113
|
-
metadata=None):
|
|
114
|
-
return grpc.experimental.unary_unary(request, target, '/qwak.fitness.service.FitnessService/BuildModel',
|
|
115
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.BuildModelRequest.SerializeToString,
|
|
116
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.BuildModelResponse.FromString,
|
|
117
|
-
options, channel_credentials,
|
|
118
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
119
|
-
|
|
120
|
-
@staticmethod
|
|
121
|
-
def CancelBuildModel(request,
|
|
122
|
-
target,
|
|
123
|
-
options=(),
|
|
124
|
-
channel_credentials=None,
|
|
125
|
-
call_credentials=None,
|
|
126
|
-
insecure=False,
|
|
127
|
-
compression=None,
|
|
128
|
-
wait_for_ready=None,
|
|
129
|
-
timeout=None,
|
|
130
|
-
metadata=None):
|
|
131
|
-
return grpc.experimental.unary_unary(request, target, '/qwak.fitness.service.FitnessService/CancelBuildModel',
|
|
132
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.CancelBuildModelRequest.SerializeToString,
|
|
133
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.CancelBuildModelResponse.FromString,
|
|
134
|
-
options, channel_credentials,
|
|
135
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
136
|
-
|
|
137
|
-
@staticmethod
|
|
138
|
-
def GetRemoteBuildingStatus(request,
|
|
139
|
-
target,
|
|
140
|
-
options=(),
|
|
141
|
-
channel_credentials=None,
|
|
142
|
-
call_credentials=None,
|
|
143
|
-
insecure=False,
|
|
144
|
-
compression=None,
|
|
145
|
-
wait_for_ready=None,
|
|
146
|
-
timeout=None,
|
|
147
|
-
metadata=None):
|
|
148
|
-
return grpc.experimental.unary_unary(request, target, '/qwak.fitness.service.FitnessService/GetRemoteBuildingStatus',
|
|
149
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.GetRemoteBuildingStatusRequest.SerializeToString,
|
|
150
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.GetRemoteBuildingStatusResponse.FromString,
|
|
151
|
-
options, channel_credentials,
|
|
152
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
153
|
-
|
|
154
|
-
@staticmethod
|
|
155
|
-
def CleanRemoteBuildResources(request,
|
|
156
|
-
target,
|
|
157
|
-
options=(),
|
|
158
|
-
channel_credentials=None,
|
|
159
|
-
call_credentials=None,
|
|
160
|
-
insecure=False,
|
|
161
|
-
compression=None,
|
|
162
|
-
wait_for_ready=None,
|
|
163
|
-
timeout=None,
|
|
164
|
-
metadata=None):
|
|
165
|
-
return grpc.experimental.unary_unary(request, target, '/qwak.fitness.service.FitnessService/CleanRemoteBuildResources',
|
|
166
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.CleanRemoteBuildResourcesRequest.SerializeToString,
|
|
167
|
-
qwak_dot_fitness__service_dot_fitness__service__pb2.CleanRemoteBuildResourcesResponse.FromString,
|
|
168
|
-
options, channel_credentials,
|
|
169
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|