frogml 1.2.32__py3-none-any.whl → 1.2.35__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 CHANGED
@@ -1,5 +1,5 @@
1
1
  __author__ = "jfrog"
2
- __version__ = "1.2.32"
2
+ __version__ = "1.2.35"
3
3
 
4
4
  from frogml.sdk.model.decorators.api import api_decorator as api
5
5
  from frogml.sdk.model_loggers.model_logger import load_model, log_model
@@ -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\x1a%qwak/fitness_service/constructs.proto\"\xca\x04\n\tBuildSpec\x12?\n\x10\x62uild_properties\x18\x01 \x01(\x0b\x32%.qwak.fitness.service.BuildProperties\x12\x31\n\tbuild_env\x18\x02 \x01(\x0b\x32\x1e.qwak.fitness.service.BuildEnv\x12;\n\rcpu_resources\x18\x03 \x01(\x0b\x32\".qwak.fitness.service.CpuResourcesH\x00\x12;\n\rgpu_resources\x18\x07 \x01(\x0b\x32\".qwak.fitness.service.GpuResourcesH\x00\x12\x0f\n\x07verbose\x18\x04 \x01(\x05\x12\x14\n\x0c\x62uild_config\x18\x05 \x01(\t\x12\x15\n\rbuild_v1_flag\x18\x06 \x01(\x08\x12\x44\n\x13\x62uild_properties_v1\x18\x08 \x01(\x0b\x32\'.qwak.fitness.service.BuildPropertiesV1\x12=\n\x0fpurchase_option\x18\t \x01(\x0e\x32$.qwak.fitness.service.PurchaseOption\x12\x1c\n\x14\x62uild_destined_image\x18\n \x01(\t\x12\"\n\x1aprovision_instance_timeout\x18\x0b \x01(\x05\x12\x1f\n\x17\x61rtifactory_project_key\x18\x0c \x01(\t\x12\x1c\n\x14\x61rtifactory_base_url\x18\r \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*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')
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=793
27
- _globals['_PURCHASEOPTION']._serialized_end=894
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\x1a\x1egoogle/protobuf/wrappers.proto\"\xf3\x01\n\x14RemoteBuildingStatus\x12S\n\x1bremote_building_status_code\x18\x01 \x01(\x0e\x32..qwak.fitness.service.RemoteBuildingStatusCode\x12Q\n\x0f\x66\x61ilure_details\x18\x02 \x01(\x0b\x32\x38.qwak.fitness.service.RemoteBuildingFailureReasonDetails\x12\x33\n\npod_status\x18\x03 \x01(\x0b\x32\x1f.qwak.fitness.service.PodStatus\"\x8c\x01\n\"RemoteBuildingFailureReasonDetails\x12K\n\x0c\x66\x61ilure_code\x18\x01 \x01(\x0e\x32\x35.qwak.fitness.service.RemoteBuildingFailureReasonCode\x12\x19\n\x11technical_details\x18\x02 \x01(\t\"\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(\t*\x98\x01\n\x18RemoteBuildingStatusCode\x12\x12\n\x0eINVALID_STATUS\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\x0e\n\nSUCCESSFUL\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\r\n\tTIMED_OUT\x10\x06\x12\x0b\n\x07UNKNOWN\x10\x07*\x98\x01\n\x1fRemoteBuildingFailureReasonCode\x12\x10\n\x0cINVALID_CODE\x10\x00\x12\x12\n\x0eUNKNOWN_REASON\x10\x01\x12\x1a\n\x16INSUFFICIENT_RESOURCES\x10\x02\x12\x18\n\x14MISSING_DOCKER_IMAGE\x10\x03\x12\x19\n\x15MEMORY_LIMIT_EXCEEDED\x10\x04\x42#\n\x1f\x63om.qwak.ai.fitness.service.apiP\x01\x62\x06proto3')
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['_REMOTEBUILDINGSTATUSCODE']._serialized_start=1343
27
- _globals['_REMOTEBUILDINGSTATUSCODE']._serialized_end=1495
28
- _globals['_REMOTEBUILDINGFAILUREREASONCODE']._serialized_start=1498
29
- _globals['_REMOTEBUILDINGFAILUREREASONCODE']._serialized_end=1650
30
- _globals['_REMOTEBUILDINGSTATUS']._serialized_start=92
31
- _globals['_REMOTEBUILDINGSTATUS']._serialized_end=335
32
- _globals['_REMOTEBUILDINGFAILUREREASONDETAILS']._serialized_start=338
33
- _globals['_REMOTEBUILDINGFAILUREREASONDETAILS']._serialized_end=478
34
- _globals['_PODSTATUS']._serialized_start=481
35
- _globals['_PODSTATUS']._serialized_end=643
36
- _globals['_CONTAINERSTATUS']._serialized_start=646
37
- _globals['_CONTAINERSTATUS']._serialized_end=803
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
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dqwak/logging/log_source.proto\x12\x14qwak.logging.service\"\xca\x04\n\tLogSource\x12\x41\n\rmodel_runtime\x18\x01 \x01(\x0b\x32(.qwak.logging.service.ModelRuntimeSourceH\x00\x12?\n\x0cremote_build\x18\x02 \x01(\x0b\x32\'.qwak.logging.service.RemoteBuildSourceH\x00\x12M\n\x13inference_execution\x18\x03 \x01(\x0b\x32..qwak.logging.service.InferenceExecutionSourceH\x00\x12P\n\x15streaming_feature_set\x18\x04 \x01(\x0b\x32/.qwak.logging.service.StreamingFeatureSetSourceH\x00\x12g\n!streaming_aggregation_feature_set\x18\x05 \x01(\x0b\x32:.qwak.logging.service.StreamingAggregationFeatureSetSourceH\x00\x12H\n\x11\x62\x61tch_feature_set\x18\x06 \x01(\x0b\x32+.qwak.logging.service.BatchFeatureSetSourceH\x00\x12[\n\x1breal_time_feature_extractor\x18\x07 \x01(\x0b\x32\x34.qwak.logging.service.RealTimeFeatureExtractorSourceH\x00\x42\x08\n\x06source\"8\n\x11RemoteBuildSource\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x11\n\tphase_ids\x18\x02 \x03(\t\"N\n\x12ModelRuntimeSource\x12\x17\n\rdeployment_id\x18\x01 \x01(\tH\x00\x12\x12\n\x08\x62uild_id\x18\x02 \x01(\tH\x00\x42\x0b\n\tsearch_by\"`\n\x18InferenceExecutionSource\x12\x1a\n\x10inference_job_id\x18\x01 \x01(\tH\x00\x12\x1b\n\x11inference_task_id\x18\x02 \x01(\tH\x00\x42\x0b\n\tsearch_by\"\xbf\x01\n\x19StreamingFeatureSetSource\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12\x34\n\x07offline\x18\x03 \x01(\x0b\x32!.qwak.logging.service.OfflineTypeH\x00\x12\x32\n\x06online\x18\x04 \x01(\x0b\x32 .qwak.logging.service.OnlineTypeH\x00\x42\x06\n\x04type\"W\n\x15\x42\x61tchFeatureSetSource\x12\x15\n\rfeatureset_id\x18\x01 \x01(\t\x12\x17\n\x0f\x66\x65\x61tureset_name\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"\xdb\x01\n$StreamingAggregationFeatureSetSource\x12\x37\n\trow_level\x18\x01 \x01(\x0b\x32\".qwak.logging.service.RowLevelTypeH\x00\x12:\n\ncompaction\x18\x02 \x01(\x0b\x32$.qwak.logging.service.CompactionTypeH\x00\x12\x36\n\x08\x62\x61\x63kfill\x18\x03 \x01(\x0b\x32\".qwak.logging.service.BackfillTypeH\x00\x42\x06\n\x04type\">\n\nOnlineType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\"O\n\x0bOfflineType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"@\n\x0cRowLevelType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\"R\n\x0e\x43ompactionType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"@\n\x0c\x42\x61\x63kfillType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\"H\n\x1eRealTimeFeatureExtractorSource\x12&\n\x1ereal_time_feature_extractor_id\x18\x01 \x01(\tB\"\n\x1e\x63om.qwak.ai.logging.reader.apiP\x01\x62\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dqwak/logging/log_source.proto\x12\x14qwak.logging.service\"\xca\x04\n\tLogSource\x12\x41\n\rmodel_runtime\x18\x01 \x01(\x0b\x32(.qwak.logging.service.ModelRuntimeSourceH\x00\x12?\n\x0cremote_build\x18\x02 \x01(\x0b\x32\'.qwak.logging.service.RemoteBuildSourceH\x00\x12M\n\x13inference_execution\x18\x03 \x01(\x0b\x32..qwak.logging.service.InferenceExecutionSourceH\x00\x12P\n\x15streaming_feature_set\x18\x04 \x01(\x0b\x32/.qwak.logging.service.StreamingFeatureSetSourceH\x00\x12g\n!streaming_aggregation_feature_set\x18\x05 \x01(\x0b\x32:.qwak.logging.service.StreamingAggregationFeatureSetSourceH\x00\x12H\n\x11\x62\x61tch_feature_set\x18\x06 \x01(\x0b\x32+.qwak.logging.service.BatchFeatureSetSourceH\x00\x12[\n\x1breal_time_feature_extractor\x18\x07 \x01(\x0b\x32\x34.qwak.logging.service.RealTimeFeatureExtractorSourceH\x00\x42\x08\n\x06source\"f\n\x11RemoteBuildSource\x12\x18\n\x10model_group_name\x18\x03 \x01(\t\x12\x12\n\nmodel_name\x18\x04 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x11\n\tphase_ids\x18\x02 \x03(\t\"|\n\x12ModelRuntimeSource\x12\x18\n\x10model_group_name\x18\x03 \x01(\t\x12\x12\n\nmodel_name\x18\x04 \x01(\t\x12\x17\n\rdeployment_id\x18\x01 \x01(\tH\x00\x12\x12\n\x08\x62uild_id\x18\x02 \x01(\tH\x00\x42\x0b\n\tsearch_by\"\x8e\x01\n\x18InferenceExecutionSource\x12\x18\n\x10model_group_name\x18\x03 \x01(\t\x12\x12\n\nmodel_name\x18\x04 \x01(\t\x12\x1a\n\x10inference_job_id\x18\x01 \x01(\tH\x00\x12\x1b\n\x11inference_task_id\x18\x02 \x01(\tH\x00\x42\x0b\n\tsearch_by\"\xe4\x01\n\x19StreamingFeatureSetSource\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x05 \x01(\t\x12\x34\n\x07offline\x18\x03 \x01(\x0b\x32!.qwak.logging.service.OfflineTypeH\x00\x12\x32\n\x06online\x18\x04 \x01(\x0b\x32 .qwak.logging.service.OnlineTypeH\x00\x42\x06\n\x04type\"\xa0\x01\n\x15\x42\x61tchFeatureSetSource\x12\x15\n\rfeatureset_id\x18\x01 \x01(\t\x12\x17\n\x0f\x66\x65\x61tureset_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x04 \x01(\t\x12\"\n\x1a\x66ilter_by_feature_set_name\x18\x05 \x01(\x08\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"\xdb\x01\n$StreamingAggregationFeatureSetSource\x12\x37\n\trow_level\x18\x01 \x01(\x0b\x32\".qwak.logging.service.RowLevelTypeH\x00\x12:\n\ncompaction\x18\x02 \x01(\x0b\x32$.qwak.logging.service.CompactionTypeH\x00\x12\x36\n\x08\x62\x61\x63kfill\x18\x03 \x01(\x0b\x32\".qwak.logging.service.BackfillTypeH\x00\x42\x06\n\x04type\"c\n\nOnlineType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x03 \x01(\t\"t\n\x0bOfflineType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x04 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"e\n\x0cRowLevelType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x03 \x01(\t\"w\n\x0e\x43ompactionType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x04 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"e\n\x0c\x42\x61\x63kfillType\x12\x16\n\x0e\x66\x65\x61ture_set_id\x18\x01 \x01(\t\x12\x18\n\x10\x66\x65\x61ture_set_name\x18\x02 \x01(\t\x12#\n\x1b\x66\x65\x61ture_set_repository_name\x18\x03 \x01(\t\"H\n\x1eRealTimeFeatureExtractorSource\x12&\n\x1ereal_time_feature_extractor_id\x18\x01 \x01(\tB\"\n\x1e\x63om.qwak.ai.logging.reader.apiP\x01\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -25,27 +25,27 @@ if _descriptor._USE_C_DESCRIPTORS == False:
25
25
  _globals['_LOGSOURCE']._serialized_start=56
26
26
  _globals['_LOGSOURCE']._serialized_end=642
27
27
  _globals['_REMOTEBUILDSOURCE']._serialized_start=644
28
- _globals['_REMOTEBUILDSOURCE']._serialized_end=700
29
- _globals['_MODELRUNTIMESOURCE']._serialized_start=702
30
- _globals['_MODELRUNTIMESOURCE']._serialized_end=780
31
- _globals['_INFERENCEEXECUTIONSOURCE']._serialized_start=782
32
- _globals['_INFERENCEEXECUTIONSOURCE']._serialized_end=878
33
- _globals['_STREAMINGFEATURESETSOURCE']._serialized_start=881
34
- _globals['_STREAMINGFEATURESETSOURCE']._serialized_end=1072
35
- _globals['_BATCHFEATURESETSOURCE']._serialized_start=1074
36
- _globals['_BATCHFEATURESETSOURCE']._serialized_end=1161
37
- _globals['_STREAMINGAGGREGATIONFEATURESETSOURCE']._serialized_start=1164
38
- _globals['_STREAMINGAGGREGATIONFEATURESETSOURCE']._serialized_end=1383
39
- _globals['_ONLINETYPE']._serialized_start=1385
40
- _globals['_ONLINETYPE']._serialized_end=1447
41
- _globals['_OFFLINETYPE']._serialized_start=1449
42
- _globals['_OFFLINETYPE']._serialized_end=1528
43
- _globals['_ROWLEVELTYPE']._serialized_start=1530
44
- _globals['_ROWLEVELTYPE']._serialized_end=1594
45
- _globals['_COMPACTIONTYPE']._serialized_start=1596
46
- _globals['_COMPACTIONTYPE']._serialized_end=1678
47
- _globals['_BACKFILLTYPE']._serialized_start=1680
48
- _globals['_BACKFILLTYPE']._serialized_end=1744
49
- _globals['_REALTIMEFEATUREEXTRACTORSOURCE']._serialized_start=1746
50
- _globals['_REALTIMEFEATUREEXTRACTORSOURCE']._serialized_end=1818
28
+ _globals['_REMOTEBUILDSOURCE']._serialized_end=746
29
+ _globals['_MODELRUNTIMESOURCE']._serialized_start=748
30
+ _globals['_MODELRUNTIMESOURCE']._serialized_end=872
31
+ _globals['_INFERENCEEXECUTIONSOURCE']._serialized_start=875
32
+ _globals['_INFERENCEEXECUTIONSOURCE']._serialized_end=1017
33
+ _globals['_STREAMINGFEATURESETSOURCE']._serialized_start=1020
34
+ _globals['_STREAMINGFEATURESETSOURCE']._serialized_end=1248
35
+ _globals['_BATCHFEATURESETSOURCE']._serialized_start=1251
36
+ _globals['_BATCHFEATURESETSOURCE']._serialized_end=1411
37
+ _globals['_STREAMINGAGGREGATIONFEATURESETSOURCE']._serialized_start=1414
38
+ _globals['_STREAMINGAGGREGATIONFEATURESETSOURCE']._serialized_end=1633
39
+ _globals['_ONLINETYPE']._serialized_start=1635
40
+ _globals['_ONLINETYPE']._serialized_end=1734
41
+ _globals['_OFFLINETYPE']._serialized_start=1736
42
+ _globals['_OFFLINETYPE']._serialized_end=1852
43
+ _globals['_ROWLEVELTYPE']._serialized_start=1854
44
+ _globals['_ROWLEVELTYPE']._serialized_end=1955
45
+ _globals['_COMPACTIONTYPE']._serialized_start=1957
46
+ _globals['_COMPACTIONTYPE']._serialized_end=2076
47
+ _globals['_BACKFILLTYPE']._serialized_start=2078
48
+ _globals['_BACKFILLTYPE']._serialized_end=2179
49
+ _globals['_REALTIMEFEATUREEXTRACTORSOURCE']._serialized_start=2181
50
+ _globals['_REALTIMEFEATUREEXTRACTORSOURCE']._serialized_end=2253
51
51
  # @@protoc_insertion_point(module_scope)
@@ -62,8 +62,18 @@ class RemoteBuildSource(google.protobuf.message.Message):
62
62
 
63
63
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
64
64
 
65
+ MODEL_GROUP_NAME_FIELD_NUMBER: builtins.int
66
+ MODEL_NAME_FIELD_NUMBER: builtins.int
65
67
  BUILD_ID_FIELD_NUMBER: builtins.int
66
68
  PHASE_IDS_FIELD_NUMBER: builtins.int
69
+ model_group_name: builtins.str
70
+ """Model group name - for verifying user permissions
71
+ This field is mandatory
72
+ """
73
+ model_name: builtins.str
74
+ """Model name - for verifying user permissions
75
+ This field is mandatory
76
+ """
67
77
  build_id: builtins.str
68
78
  """Filter by build id"""
69
79
  @property
@@ -73,10 +83,12 @@ class RemoteBuildSource(google.protobuf.message.Message):
73
83
  def __init__(
74
84
  self,
75
85
  *,
86
+ model_group_name: builtins.str = ...,
87
+ model_name: builtins.str = ...,
76
88
  build_id: builtins.str = ...,
77
89
  phase_ids: collections.abc.Iterable[builtins.str] | None = ...,
78
90
  ) -> None: ...
79
- def ClearField(self, field_name: typing.Literal["build_id", b"build_id", "phase_ids", b"phase_ids"]) -> None: ...
91
+ def ClearField(self, field_name: typing.Literal["build_id", b"build_id", "model_group_name", b"model_group_name", "model_name", b"model_name", "phase_ids", b"phase_ids"]) -> None: ...
80
92
 
81
93
  global___RemoteBuildSource = RemoteBuildSource
82
94
 
@@ -86,8 +98,18 @@ class ModelRuntimeSource(google.protobuf.message.Message):
86
98
 
87
99
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
88
100
 
101
+ MODEL_GROUP_NAME_FIELD_NUMBER: builtins.int
102
+ MODEL_NAME_FIELD_NUMBER: builtins.int
89
103
  DEPLOYMENT_ID_FIELD_NUMBER: builtins.int
90
104
  BUILD_ID_FIELD_NUMBER: builtins.int
105
+ model_group_name: builtins.str
106
+ """Model group name - for verifying user permissions
107
+ This field is mandatory
108
+ """
109
+ model_name: builtins.str
110
+ """Model name - for verifying user permissions
111
+ This field is mandatory
112
+ """
91
113
  deployment_id: builtins.str
92
114
  """Filter by deployment id"""
93
115
  build_id: builtins.str
@@ -95,11 +117,13 @@ class ModelRuntimeSource(google.protobuf.message.Message):
95
117
  def __init__(
96
118
  self,
97
119
  *,
120
+ model_group_name: builtins.str = ...,
121
+ model_name: builtins.str = ...,
98
122
  deployment_id: builtins.str = ...,
99
123
  build_id: builtins.str = ...,
100
124
  ) -> None: ...
101
125
  def HasField(self, field_name: typing.Literal["build_id", b"build_id", "deployment_id", b"deployment_id", "search_by", b"search_by"]) -> builtins.bool: ...
102
- def ClearField(self, field_name: typing.Literal["build_id", b"build_id", "deployment_id", b"deployment_id", "search_by", b"search_by"]) -> None: ...
126
+ def ClearField(self, field_name: typing.Literal["build_id", b"build_id", "deployment_id", b"deployment_id", "model_group_name", b"model_group_name", "model_name", b"model_name", "search_by", b"search_by"]) -> None: ...
103
127
  def WhichOneof(self, oneof_group: typing.Literal["search_by", b"search_by"]) -> typing.Literal["deployment_id", "build_id"] | None: ...
104
128
 
105
129
  global___ModelRuntimeSource = ModelRuntimeSource
@@ -108,8 +132,18 @@ global___ModelRuntimeSource = ModelRuntimeSource
108
132
  class InferenceExecutionSource(google.protobuf.message.Message):
109
133
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
110
134
 
135
+ MODEL_GROUP_NAME_FIELD_NUMBER: builtins.int
136
+ MODEL_NAME_FIELD_NUMBER: builtins.int
111
137
  INFERENCE_JOB_ID_FIELD_NUMBER: builtins.int
112
138
  INFERENCE_TASK_ID_FIELD_NUMBER: builtins.int
139
+ model_group_name: builtins.str
140
+ """Model group name - for verifying user permissions
141
+ This field is mandatory
142
+ """
143
+ model_name: builtins.str
144
+ """Model name - for verifying user permissions
145
+ This field is mandatory
146
+ """
113
147
  inference_job_id: builtins.str
114
148
  """Filter by deployment id"""
115
149
  inference_task_id: builtins.str
@@ -117,11 +151,13 @@ class InferenceExecutionSource(google.protobuf.message.Message):
117
151
  def __init__(
118
152
  self,
119
153
  *,
154
+ model_group_name: builtins.str = ...,
155
+ model_name: builtins.str = ...,
120
156
  inference_job_id: builtins.str = ...,
121
157
  inference_task_id: builtins.str = ...,
122
158
  ) -> None: ...
123
159
  def HasField(self, field_name: typing.Literal["inference_job_id", b"inference_job_id", "inference_task_id", b"inference_task_id", "search_by", b"search_by"]) -> builtins.bool: ...
124
- def ClearField(self, field_name: typing.Literal["inference_job_id", b"inference_job_id", "inference_task_id", b"inference_task_id", "search_by", b"search_by"]) -> None: ...
160
+ def ClearField(self, field_name: typing.Literal["inference_job_id", b"inference_job_id", "inference_task_id", b"inference_task_id", "model_group_name", b"model_group_name", "model_name", b"model_name", "search_by", b"search_by"]) -> None: ...
125
161
  def WhichOneof(self, oneof_group: typing.Literal["search_by", b"search_by"]) -> typing.Literal["inference_job_id", "inference_task_id"] | None: ...
126
162
 
127
163
  global___InferenceExecutionSource = InferenceExecutionSource
@@ -132,12 +168,19 @@ class StreamingFeatureSetSource(google.protobuf.message.Message):
132
168
 
133
169
  FEATURE_SET_ID_FIELD_NUMBER: builtins.int
134
170
  FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
171
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
135
172
  OFFLINE_FIELD_NUMBER: builtins.int
136
173
  ONLINE_FIELD_NUMBER: builtins.int
137
174
  feature_set_id: builtins.str
138
175
  """Filter by feature set id"""
139
176
  feature_set_name: builtins.str
140
- """Filter by feature set name"""
177
+ """Filter by feature set name, as well as for verifying user permissions
178
+ This field is mandatory
179
+ """
180
+ feature_set_repository_name: builtins.str
181
+ """Feature set repository name - for verifying user permissions
182
+ This field is mandatory
183
+ """
141
184
  @property
142
185
  def offline(self) -> global___OfflineType: ...
143
186
  @property
@@ -147,11 +190,12 @@ class StreamingFeatureSetSource(google.protobuf.message.Message):
147
190
  *,
148
191
  feature_set_id: builtins.str = ...,
149
192
  feature_set_name: builtins.str = ...,
193
+ feature_set_repository_name: builtins.str = ...,
150
194
  offline: global___OfflineType | None = ...,
151
195
  online: global___OnlineType | None = ...,
152
196
  ) -> None: ...
153
197
  def HasField(self, field_name: typing.Literal["offline", b"offline", "online", b"online", "type", b"type"]) -> builtins.bool: ...
154
- def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "offline", b"offline", "online", b"online", "type", b"type"]) -> None: ...
198
+ def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "feature_set_repository_name", b"feature_set_repository_name", "offline", b"offline", "online", b"online", "type", b"type"]) -> None: ...
155
199
  def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["offline", "online"] | None: ...
156
200
 
157
201
  global___StreamingFeatureSetSource = StreamingFeatureSetSource
@@ -162,11 +206,21 @@ class BatchFeatureSetSource(google.protobuf.message.Message):
162
206
 
163
207
  FEATURESET_ID_FIELD_NUMBER: builtins.int
164
208
  FEATURESET_NAME_FIELD_NUMBER: builtins.int
209
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
210
+ FILTER_BY_FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
165
211
  RUN_ID_FIELD_NUMBER: builtins.int
166
212
  featureset_id: builtins.str
167
213
  """Filter by feature set id"""
168
214
  featureset_name: builtins.str
169
- """Filter by feature set name"""
215
+ """Filter by feature set name, as well as for verification of user permissions
216
+ This field is mandatory
217
+ """
218
+ feature_set_repository_name: builtins.str
219
+ """Feature set repository name - for verifying user permissions
220
+ This field is mandatory
221
+ """
222
+ filter_by_feature_set_name: builtins.bool
223
+ """Optionally filter by feature set name"""
170
224
  run_id: builtins.str
171
225
  """Filter by run id"""
172
226
  def __init__(
@@ -174,9 +228,11 @@ class BatchFeatureSetSource(google.protobuf.message.Message):
174
228
  *,
175
229
  featureset_id: builtins.str = ...,
176
230
  featureset_name: builtins.str = ...,
231
+ feature_set_repository_name: builtins.str = ...,
232
+ filter_by_feature_set_name: builtins.bool = ...,
177
233
  run_id: builtins.str = ...,
178
234
  ) -> None: ...
179
- def ClearField(self, field_name: typing.Literal["featureset_id", b"featureset_id", "featureset_name", b"featureset_name", "run_id", b"run_id"]) -> None: ...
235
+ def ClearField(self, field_name: typing.Literal["feature_set_repository_name", b"feature_set_repository_name", "featureset_id", b"featureset_id", "featureset_name", b"featureset_name", "filter_by_feature_set_name", b"filter_by_feature_set_name", "run_id", b"run_id"]) -> None: ...
180
236
 
181
237
  global___BatchFeatureSetSource = BatchFeatureSetSource
182
238
 
@@ -212,17 +268,25 @@ class OnlineType(google.protobuf.message.Message):
212
268
 
213
269
  FEATURE_SET_ID_FIELD_NUMBER: builtins.int
214
270
  FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
271
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
215
272
  feature_set_id: builtins.str
216
273
  """Filter by feature set id"""
217
274
  feature_set_name: builtins.str
218
- """Filter by feature set name"""
275
+ """Filter by feature set name, as well as for verification of user permissions
276
+ This field is mandatory
277
+ """
278
+ feature_set_repository_name: builtins.str
279
+ """Feature set repository name - for verifying user permissions
280
+ This field is mandatory
281
+ """
219
282
  def __init__(
220
283
  self,
221
284
  *,
222
285
  feature_set_id: builtins.str = ...,
223
286
  feature_set_name: builtins.str = ...,
287
+ feature_set_repository_name: builtins.str = ...,
224
288
  ) -> None: ...
225
- def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name"]) -> None: ...
289
+ def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "feature_set_repository_name", b"feature_set_repository_name"]) -> None: ...
226
290
 
227
291
  global___OnlineType = OnlineType
228
292
 
@@ -232,11 +296,18 @@ class OfflineType(google.protobuf.message.Message):
232
296
 
233
297
  FEATURE_SET_ID_FIELD_NUMBER: builtins.int
234
298
  FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
299
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
235
300
  RUN_ID_FIELD_NUMBER: builtins.int
236
301
  feature_set_id: builtins.str
237
302
  """Filter by feature set id"""
238
303
  feature_set_name: builtins.str
239
- """Filter by feature set name"""
304
+ """Filter by feature set name, as well as for verification of user permissions
305
+ This field is mandatory
306
+ """
307
+ feature_set_repository_name: builtins.str
308
+ """Feature set repository name - for verifying user permissions
309
+ This field is mandatory
310
+ """
240
311
  run_id: builtins.str
241
312
  """Filter by run id"""
242
313
  def __init__(
@@ -244,9 +315,10 @@ class OfflineType(google.protobuf.message.Message):
244
315
  *,
245
316
  feature_set_id: builtins.str = ...,
246
317
  feature_set_name: builtins.str = ...,
318
+ feature_set_repository_name: builtins.str = ...,
247
319
  run_id: builtins.str = ...,
248
320
  ) -> None: ...
249
- def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "run_id", b"run_id"]) -> None: ...
321
+ def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "feature_set_repository_name", b"feature_set_repository_name", "run_id", b"run_id"]) -> None: ...
250
322
 
251
323
  global___OfflineType = OfflineType
252
324
 
@@ -256,17 +328,25 @@ class RowLevelType(google.protobuf.message.Message):
256
328
 
257
329
  FEATURE_SET_ID_FIELD_NUMBER: builtins.int
258
330
  FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
331
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
259
332
  feature_set_id: builtins.str
260
333
  """Filter by feature set id"""
261
334
  feature_set_name: builtins.str
262
- """Filter by feature set name"""
335
+ """Filter by feature set name
336
+ This field is mandatory
337
+ """
338
+ feature_set_repository_name: builtins.str
339
+ """Feature set repository name - for verifying user permissions
340
+ This field is mandatory
341
+ """
263
342
  def __init__(
264
343
  self,
265
344
  *,
266
345
  feature_set_id: builtins.str = ...,
267
346
  feature_set_name: builtins.str = ...,
347
+ feature_set_repository_name: builtins.str = ...,
268
348
  ) -> None: ...
269
- def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name"]) -> None: ...
349
+ def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "feature_set_repository_name", b"feature_set_repository_name"]) -> None: ...
270
350
 
271
351
  global___RowLevelType = RowLevelType
272
352
 
@@ -276,11 +356,18 @@ class CompactionType(google.protobuf.message.Message):
276
356
 
277
357
  FEATURE_SET_ID_FIELD_NUMBER: builtins.int
278
358
  FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
359
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
279
360
  RUN_ID_FIELD_NUMBER: builtins.int
280
361
  feature_set_id: builtins.str
281
362
  """Filter by feature set id"""
282
363
  feature_set_name: builtins.str
283
- """Filter by feature set name"""
364
+ """Filter by feature set name, as well as for verification of user permissions
365
+ This field is mandatory
366
+ """
367
+ feature_set_repository_name: builtins.str
368
+ """Feature set repository name - for verifying user permissions
369
+ This field is mandatory
370
+ """
284
371
  run_id: builtins.str
285
372
  """Filter by run id"""
286
373
  def __init__(
@@ -288,9 +375,10 @@ class CompactionType(google.protobuf.message.Message):
288
375
  *,
289
376
  feature_set_id: builtins.str = ...,
290
377
  feature_set_name: builtins.str = ...,
378
+ feature_set_repository_name: builtins.str = ...,
291
379
  run_id: builtins.str = ...,
292
380
  ) -> None: ...
293
- def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "run_id", b"run_id"]) -> None: ...
381
+ def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "feature_set_repository_name", b"feature_set_repository_name", "run_id", b"run_id"]) -> None: ...
294
382
 
295
383
  global___CompactionType = CompactionType
296
384
 
@@ -300,17 +388,25 @@ class BackfillType(google.protobuf.message.Message):
300
388
 
301
389
  FEATURE_SET_ID_FIELD_NUMBER: builtins.int
302
390
  FEATURE_SET_NAME_FIELD_NUMBER: builtins.int
391
+ FEATURE_SET_REPOSITORY_NAME_FIELD_NUMBER: builtins.int
303
392
  feature_set_id: builtins.str
304
393
  """Filter by feature set id"""
305
394
  feature_set_name: builtins.str
306
- """Filter by feature set name"""
395
+ """Filter by feature set name, as well as for verification of user permissions
396
+ This field is mandatory
397
+ """
398
+ feature_set_repository_name: builtins.str
399
+ """Feature set repository name - for verifying user permissions
400
+ This field is mandatory
401
+ """
307
402
  def __init__(
308
403
  self,
309
404
  *,
310
405
  feature_set_id: builtins.str = ...,
311
406
  feature_set_name: builtins.str = ...,
407
+ feature_set_repository_name: builtins.str = ...,
312
408
  ) -> None: ...
313
- def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name"]) -> None: ...
409
+ def ClearField(self, field_name: typing.Literal["feature_set_id", b"feature_set_id", "feature_set_name", b"feature_set_name", "feature_set_repository_name", b"feature_set_repository_name"]) -> None: ...
314
410
 
315
411
  global___BackfillType = BackfillType
316
412
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: frogml
3
- Version: 1.2.32
3
+ Version: 1.2.35
4
4
  Summary: frogml contains the necessary objects and communication tools for using the JFrog ml Platform
5
5
  License: Apache-2.0
6
6
  Keywords: mlops,ml,deployment,serving,model
@@ -1,4 +1,4 @@
1
- frogml/__init__.py,sha256=qrG2nV4tRysRYgdzOsSSki21fd93wkeyW3zu7fPv_Eo,741
1
+ frogml/__init__.py,sha256=qCiP-lN6Bb32rwIiGrzBPQVv6qPplDfH17uU5IH8bIU,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
@@ -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=5QU0uUHmgrLl3F_wcNpFuRkg51tOxraUHXIw8JnUHC0,2812
462
- frogml/_proto/qwak/fitness_service/fitness_pb2.pyi,sha256=HTl_CKjXaiXbjHJxfclllokZtNG5D5V7irGrVN4LYGg,6282
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/fitness_service_pb2.py,sha256=rNjdXRwDRqq-kJPBNjAwa4sReiwgK0dNDf68uNbNUXk,3732
465
- frogml/_proto/qwak/fitness_service/fitness_service_pb2.pyi,sha256=Fsyo1TlwBC5g-HuvUTNi_K-JIS8GS9pMBzZnBzStZ4c,3999
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
@@ -533,8 +530,8 @@ frogml/_proto/qwak/logging/log_line_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHD
533
530
  frogml/_proto/qwak/logging/log_reader_service_pb2.py,sha256=mGzDgASTP_oJlVcPkId5JxjhpUbh7O_CQ9xbcQRUOXI,2561
534
531
  frogml/_proto/qwak/logging/log_reader_service_pb2.pyi,sha256=KdIIgfFCw0I-51d2dEMZy3zVgkGw4tZNF26WcR5yNz4,3451
535
532
  frogml/_proto/qwak/logging/log_reader_service_pb2_grpc.py,sha256=5iwiKKEWLCgNl6KyUanuUFpsg-159HgiF6ugMvGgW9k,2833
536
- frogml/_proto/qwak/logging/log_source_pb2.py,sha256=1N01PMBvrLAOc7Niv6q6ZVo-YO5l1w2kFxXXlrx1Myg,5402
537
- frogml/_proto/qwak/logging/log_source_pb2.pyi,sha256=nj8wblEcfcNmDt3BrhCWnRi54-vp46D2VMP_wxX49J4,14110
533
+ frogml/_proto/qwak/logging/log_source_pb2.py,sha256=KfVCEihMIVtJ2vVMR0jdiFCUsdY9RDJ7YDBVyzps-fk,6170
534
+ frogml/_proto/qwak/logging/log_source_pb2.pyi,sha256=YJ3xGWEgG4dF9CvsF_X1dBITgHMxs7IdkGsWQ4G0uNg,18672
538
535
  frogml/_proto/qwak/logging/log_source_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
539
536
  frogml/_proto/qwak/model_descriptor/open_ai_descriptor_pb2.py,sha256=-4tcS6KSdpUK3knQ9YUyQTsMcHFaPTQ3A8kHPOLVPSQ,4203
540
537
  frogml/_proto/qwak/model_descriptor/open_ai_descriptor_pb2.pyi,sha256=7ZaPgYKgRhZvq9LMaj7jWlQxKhQ9fRUDK86SaJvMuu0,11801
@@ -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.32.dist-info/METADATA,sha256=1XpoDER4fTGUCSlbHUqmArJZUlcWoxIin7wbU9SEsd0,5599
1154
- frogml-1.2.32.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1155
- frogml-1.2.32.dist-info/RECORD,,
1150
+ frogml-1.2.35.dist-info/METADATA,sha256=VJC2cI-AIqs8Ut2FSG7oQQBYQsWpEWl39_C57crPn80,5599
1151
+ frogml-1.2.35.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1152
+ frogml-1.2.35.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)