qwak-core 0.4.256__py3-none-any.whl → 0.4.260__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.
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
15
15
 
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%qwak/automation/v1/auto_scaling.proto\x12\x12qwak.automation.v1\"\xad\x01\n\x11\x41utoScalingConfig\x12\x19\n\x11min_replica_count\x18\x01 \x01(\x05\x12\x19\n\x11max_replica_count\x18\x02 \x01(\x05\x12\x18\n\x10polling_interval\x18\x03 \x01(\x05\x12\x18\n\x10\x63ool_down_period\x18\x04 \x01(\x05\x12.\n\x08triggers\x18\x05 \x01(\x0b\x32\x1c.qwak.automation.v1.Triggers\">\n\x08Triggers\x12\x32\n\x08triggers\x18\x01 \x03(\x0b\x32 .qwak.automation.v1.ScaleTrigger\"n\n\x0cScaleTrigger\x12N\n\x12prometheus_trigger\x18\x01 \x01(\x0b\x32\x30.qwak.automation.v1.AutoScalingPrometheusTriggerH\x00\x42\x0e\n\x0ctrigger_type\"d\n\x1c\x41utoScalingPrometheusTrigger\x12\x31\n\nquery_spec\x18\x01 \x01(\x0b\x32\x1d.qwak.automation.v1.QuerySpec\x12\x11\n\tthreshold\x18\x02 \x01(\x05\"\xaa\x01\n\tQuerySpec\x12>\n\x0bmetric_type\x18\x01 \x01(\x0e\x32).qwak.automation.v1.AutoScalingMetricType\x12H\n\x10\x61ggregation_type\x18\x02 \x01(\x0e\x32..qwak.automation.v1.AutoScalingAggregationType\x12\x13\n\x0btime_period\x18\x03 \x01(\x05*x\n\x15\x41utoScalingMetricType\x12\x19\n\x15METRIC_TYPE_NOT_VALID\x10\x00\x12\x13\n\x0fMETRIC_TYPE_CPU\x10\x01\x12\x16\n\x12METRIC_TYPE_MEMORY\x10\x02\x12\x17\n\x13METRIC_TYPE_LATENCY\x10\x03*\x90\x02\n\x1a\x41utoScalingAggregationType\x12\x1e\n\x1a\x41GGREGATION_TYPE_NOT_VALID\x10\x00\x12\x18\n\x14\x41GGREGATION_TYPE_MIN\x10\x01\x12\x18\n\x14\x41GGREGATION_TYPE_MAX\x10\x02\x12\x1c\n\x18\x41GGREGATION_TYPE_AVERAGE\x10\x03\x12\x18\n\x14\x41GGREGATION_TYPE_SUM\x10\x04\x12\x18\n\x14\x41GGREGATION_TYPE_P50\x10\x05\x12\x18\n\x14\x41GGREGATION_TYPE_P90\x10\x06\x12\x18\n\x14\x41GGREGATION_TYPE_P95\x10\x07\x12\x18\n\x14\x41GGREGATION_TYPE_P99\x10\x08\x42!\n\x1d\x63om.qwak.ai.automation.api.v1P\x01\x62\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%qwak/automation/v1/auto_scaling.proto\x12\x12qwak.automation.v1\"\xad\x01\n\x11\x41utoScalingConfig\x12\x19\n\x11min_replica_count\x18\x01 \x01(\x05\x12\x19\n\x11max_replica_count\x18\x02 \x01(\x05\x12\x18\n\x10polling_interval\x18\x03 \x01(\x05\x12\x18\n\x10\x63ool_down_period\x18\x04 \x01(\x05\x12.\n\x08triggers\x18\x05 \x01(\x0b\x32\x1c.qwak.automation.v1.Triggers\">\n\x08Triggers\x12\x32\n\x08triggers\x18\x01 \x03(\x0b\x32 .qwak.automation.v1.ScaleTrigger\"n\n\x0cScaleTrigger\x12N\n\x12prometheus_trigger\x18\x01 \x01(\x0b\x32\x30.qwak.automation.v1.AutoScalingPrometheusTriggerH\x00\x42\x0e\n\x0ctrigger_type\"d\n\x1c\x41utoScalingPrometheusTrigger\x12\x31\n\nquery_spec\x18\x01 \x01(\x0b\x32\x1d.qwak.automation.v1.QuerySpec\x12\x11\n\tthreshold\x18\x02 \x01(\x05\"\xaa\x01\n\tQuerySpec\x12>\n\x0bmetric_type\x18\x01 \x01(\x0e\x32).qwak.automation.v1.AutoScalingMetricType\x12H\n\x10\x61ggregation_type\x18\x02 \x01(\x0e\x32..qwak.automation.v1.AutoScalingAggregationType\x12\x13\n\x0btime_period\x18\x03 \x01(\x05*\xc5\x01\n\x15\x41utoScalingMetricType\x12\x19\n\x15METRIC_TYPE_NOT_VALID\x10\x00\x12\x13\n\x0fMETRIC_TYPE_CPU\x10\x01\x12\x16\n\x12METRIC_TYPE_MEMORY\x10\x02\x12\x17\n\x13METRIC_TYPE_LATENCY\x10\x03\x12\x13\n\x0fMETRIC_TYPE_GPU\x10\x04\x12\x1a\n\x16METRIC_TYPE_ERROR_RATE\x10\x05\x12\x1a\n\x16METRIC_TYPE_THROUGHPUT\x10\x06*\x90\x02\n\x1a\x41utoScalingAggregationType\x12\x1e\n\x1a\x41GGREGATION_TYPE_NOT_VALID\x10\x00\x12\x18\n\x14\x41GGREGATION_TYPE_MIN\x10\x01\x12\x18\n\x14\x41GGREGATION_TYPE_MAX\x10\x02\x12\x1c\n\x18\x41GGREGATION_TYPE_AVERAGE\x10\x03\x12\x18\n\x14\x41GGREGATION_TYPE_SUM\x10\x04\x12\x18\n\x14\x41GGREGATION_TYPE_P50\x10\x05\x12\x18\n\x14\x41GGREGATION_TYPE_P90\x10\x06\x12\x18\n\x14\x41GGREGATION_TYPE_P95\x10\x07\x12\x18\n\x14\x41GGREGATION_TYPE_P99\x10\x08\x42!\n\x1d\x63om.qwak.ai.automation.api.v1P\x01\x62\x06proto3')
19
19
 
20
20
  _AUTOSCALINGMETRICTYPE = DESCRIPTOR.enum_types_by_name['AutoScalingMetricType']
21
21
  AutoScalingMetricType = enum_type_wrapper.EnumTypeWrapper(_AUTOSCALINGMETRICTYPE)
@@ -25,6 +25,9 @@ METRIC_TYPE_NOT_VALID = 0
25
25
  METRIC_TYPE_CPU = 1
26
26
  METRIC_TYPE_MEMORY = 2
27
27
  METRIC_TYPE_LATENCY = 3
28
+ METRIC_TYPE_GPU = 4
29
+ METRIC_TYPE_ERROR_RATE = 5
30
+ METRIC_TYPE_THROUGHPUT = 6
28
31
  AGGREGATION_TYPE_NOT_VALID = 0
29
32
  AGGREGATION_TYPE_MIN = 1
30
33
  AGGREGATION_TYPE_MAX = 2
@@ -80,10 +83,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
80
83
 
81
84
  DESCRIPTOR._options = None
82
85
  DESCRIPTOR._serialized_options = b'\n\035com.qwak.ai.automation.api.v1P\001'
83
- _AUTOSCALINGMETRICTYPE._serialized_start=688
84
- _AUTOSCALINGMETRICTYPE._serialized_end=808
85
- _AUTOSCALINGAGGREGATIONTYPE._serialized_start=811
86
- _AUTOSCALINGAGGREGATIONTYPE._serialized_end=1083
86
+ _AUTOSCALINGMETRICTYPE._serialized_start=689
87
+ _AUTOSCALINGMETRICTYPE._serialized_end=886
88
+ _AUTOSCALINGAGGREGATIONTYPE._serialized_start=889
89
+ _AUTOSCALINGAGGREGATIONTYPE._serialized_end=1161
87
90
  _AUTOSCALINGCONFIG._serialized_start=62
88
91
  _AUTOSCALINGCONFIG._serialized_end=235
89
92
  _TRIGGERS._serialized_start=237
@@ -28,6 +28,9 @@ class _AutoScalingMetricTypeEnumTypeWrapper(google.protobuf.internal.enum_type_w
28
28
  METRIC_TYPE_CPU: _AutoScalingMetricType.ValueType # 1
29
29
  METRIC_TYPE_MEMORY: _AutoScalingMetricType.ValueType # 2
30
30
  METRIC_TYPE_LATENCY: _AutoScalingMetricType.ValueType # 3
31
+ METRIC_TYPE_GPU: _AutoScalingMetricType.ValueType # 4
32
+ METRIC_TYPE_ERROR_RATE: _AutoScalingMetricType.ValueType # 5
33
+ METRIC_TYPE_THROUGHPUT: _AutoScalingMetricType.ValueType # 6
31
34
 
32
35
  class AutoScalingMetricType(_AutoScalingMetricType, metaclass=_AutoScalingMetricTypeEnumTypeWrapper): ...
33
36
 
@@ -35,6 +38,9 @@ METRIC_TYPE_NOT_VALID: AutoScalingMetricType.ValueType # 0
35
38
  METRIC_TYPE_CPU: AutoScalingMetricType.ValueType # 1
36
39
  METRIC_TYPE_MEMORY: AutoScalingMetricType.ValueType # 2
37
40
  METRIC_TYPE_LATENCY: AutoScalingMetricType.ValueType # 3
41
+ METRIC_TYPE_GPU: AutoScalingMetricType.ValueType # 4
42
+ METRIC_TYPE_ERROR_RATE: AutoScalingMetricType.ValueType # 5
43
+ METRIC_TYPE_THROUGHPUT: AutoScalingMetricType.ValueType # 6
38
44
  global___AutoScalingMetricType = AutoScalingMetricType
39
45
 
40
46
  class _AutoScalingAggregationType:
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact.proto\x12+qwak.feature.store.v1.common.jfrog_artifact\"/\n\rJfrogArtifact\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x10\n\x08\x63hecksum\x18\x02 \x01(\tBp\n2com.qwak.ai.feature.store.v1.common.jfrog_artifactP\x01Z8qwak/featurestore/v1/common/jfrog_artifact;jfrogartifactb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact.proto\x12+qwak.feature.store.v1.common.jfrog_artifact\"\x1d\n\rJfrogArtifact\x12\x0c\n\x04path\x18\x01 \x01(\tBp\n2com.qwak.ai.feature.store.v1.common.jfrog_artifactP\x01Z8qwak/featurestore/v1/common/jfrog_artifact;jfrogartifactb\x06proto3')
18
18
 
19
19
 
20
20
 
@@ -31,5 +31,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
31
31
  DESCRIPTOR._options = None
32
32
  DESCRIPTOR._serialized_options = b'\n2com.qwak.ai.feature.store.v1.common.jfrog_artifactP\001Z8qwak/featurestore/v1/common/jfrog_artifact;jfrogartifact'
33
33
  _JFROGARTIFACT._serialized_start=113
34
- _JFROGARTIFACT._serialized_end=160
34
+ _JFROGARTIFACT._serialized_end=142
35
35
  # @@protoc_insertion_point(module_scope)
@@ -18,17 +18,13 @@ class JfrogArtifact(google.protobuf.message.Message):
18
18
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
19
 
20
20
  PATH_FIELD_NUMBER: builtins.int
21
- CHECKSUM_FIELD_NUMBER: builtins.int
22
21
  path: builtins.str
23
22
  """artifact path"""
24
- checksum: builtins.str
25
- """artifact checksum"""
26
23
  def __init__(
27
24
  self,
28
25
  *,
29
26
  path: builtins.str = ...,
30
- checksum: builtins.str = ...,
31
27
  ) -> None: ...
32
- def ClearField(self, field_name: typing_extensions.Literal["checksum", b"checksum", "path", b"path"]) -> None: ...
28
+ def ClearField(self, field_name: typing_extensions.Literal["path", b"path"]) -> None: ...
33
29
 
34
30
  global___JfrogArtifact = JfrogArtifact
@@ -19,7 +19,7 @@ from _qwak_proto.qwak.administration.account.v1 import jfrog_tenant_details_pb2
19
19
  from _qwak_proto.qwak.administration.v0.environments import configuration_pb2 as qwak_dot_administration_dot_v0_dot_environments_dot_configuration__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1qwak/self_service/account/v0/account_status.proto\x12\x1cqwak.self_service.account.v0\x1a\x30qwak/administration/account/v1/preferences.proto\x1a*qwak/administration/account/v1/terms.proto\x1a,qwak/administration/account/v1/account.proto\x1a\x39qwak/administration/account/v1/jfrog_tenant_details.proto\x1a\x37qwak/administration/v0/environments/configuration.proto\"\x91\x02\n\rAccountStatus\x12_\n\x1c\x61\x63\x63ount_creation_in_progress\x18\x01 \x01(\x0b\x32\x37.qwak.self_service.account.v0.AccountCreationInProgressH\x00\x12\x43\n\raccount_ready\x18\x02 \x01(\x0b\x32*.qwak.self_service.account.v0.AccountReadyH\x00\x12P\n\x14\x61\x63\x63ount_doesnt_exist\x18\x03 \x01(\x0b\x32\x30.qwak.self_service.account.v0.AccountDoesntExistH\x00\x42\x08\n\x06status\"\x1b\n\x19\x41\x63\x63ountCreationInProgress\"\xfa\x04\n\x0c\x41\x63\x63ountReady\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x14\n\x0c\x61\x63\x63ount_name\x18\x02 \x01(\t\x12\x44\n\x0bpreferences\x18\x03 \x01(\x0b\x32/.qwak.administration.account.AccountPreferences\x12\x1e\n\x16\x64\x65\x66\x61ult_environment_id\x18\x04 \x01(\t\x12\\\n\x12\x65nvironments_by_id\x18\x05 \x03(\x0b\x32@.qwak.self_service.account.v0.AccountReady.EnvironmentsByIdEntry\x12\x39\n\x04type\x18\x06 \x01(\x0e\x32+.qwak.administration.account.v1.AccountType\x12\x39\n\x04tier\x18\x07 \x01(\x0e\x32+.qwak.administration.account.v1.AccountTier\x12P\n\x14jfrog_tenant_details\x18\x08 \x01(\x0b\x32\x32.qwak.administration.account.v1.JfrogTenantDetails\x12I\n\x0e\x61\x63\x63\x65pted_terms\x18\t \x01(\x0b\x32\x31.qwak.administration.account.AccountAcceptedTerms\x1ai\n\x15\x45nvironmentsByIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.qwak.self_service.account.v0.EnvironmentDetails:\x02\x38\x01\"\\\n\x12\x41\x63\x63ountDoesntExist\x12\x1f\n\x17is_entitled_to_jfrog_ml\x18\x01 \x01(\x08\x12%\n\x1dhas_create_account_permission\x18\x02 \x01(\x08\"\x84\x01\n\x12\x45nvironmentDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12T\n\rconfiguration\x18\x03 \x01(\x0b\x32=.qwak.administration.environment.QwakEnvironmentConfigurationB\xb9\x01\n#com.qwak.ai.self_service.account.v0P\x01Z\x8f\x01github.com/qwak-ai/qwak-platform/services/core/java/user-management/user-management-api/pb/qwak/self_service/account/v0;self_service_account_v0b\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1qwak/self_service/account/v0/account_status.proto\x12\x1cqwak.self_service.account.v0\x1a\x30qwak/administration/account/v1/preferences.proto\x1a*qwak/administration/account/v1/terms.proto\x1a,qwak/administration/account/v1/account.proto\x1a\x39qwak/administration/account/v1/jfrog_tenant_details.proto\x1a\x37qwak/administration/v0/environments/configuration.proto\"\x91\x02\n\rAccountStatus\x12_\n\x1c\x61\x63\x63ount_creation_in_progress\x18\x01 \x01(\x0b\x32\x37.qwak.self_service.account.v0.AccountCreationInProgressH\x00\x12\x43\n\raccount_ready\x18\x02 \x01(\x0b\x32*.qwak.self_service.account.v0.AccountReadyH\x00\x12P\n\x14\x61\x63\x63ount_doesnt_exist\x18\x03 \x01(\x0b\x32\x30.qwak.self_service.account.v0.AccountDoesntExistH\x00\x42\x08\n\x06status\"\x1b\n\x19\x41\x63\x63ountCreationInProgress\"\xfa\x04\n\x0c\x41\x63\x63ountReady\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x14\n\x0c\x61\x63\x63ount_name\x18\x02 \x01(\t\x12\x44\n\x0bpreferences\x18\x03 \x01(\x0b\x32/.qwak.administration.account.AccountPreferences\x12\x1e\n\x16\x64\x65\x66\x61ult_environment_id\x18\x04 \x01(\t\x12\\\n\x12\x65nvironments_by_id\x18\x05 \x03(\x0b\x32@.qwak.self_service.account.v0.AccountReady.EnvironmentsByIdEntry\x12\x39\n\x04type\x18\x06 \x01(\x0e\x32+.qwak.administration.account.v1.AccountType\x12\x39\n\x04tier\x18\x07 \x01(\x0e\x32+.qwak.administration.account.v1.AccountTier\x12P\n\x14jfrog_tenant_details\x18\x08 \x01(\x0b\x32\x32.qwak.administration.account.v1.JfrogTenantDetails\x12I\n\x0e\x61\x63\x63\x65pted_terms\x18\t \x01(\x0b\x32\x31.qwak.administration.account.AccountAcceptedTerms\x1ai\n\x15\x45nvironmentsByIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.qwak.self_service.account.v0.EnvironmentDetails:\x02\x38\x01\"\\\n\x12\x41\x63\x63ountDoesntExist\x12\x1f\n\x17is_entitled_to_jfrog_ml\x18\x01 \x01(\x08\x12%\n\x1dhas_create_account_permission\x18\x02 \x01(\x08\"\x98\x01\n\x12\x45nvironmentDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12T\n\rconfiguration\x18\x03 \x01(\x0b\x32=.qwak.administration.environment.QwakEnvironmentConfiguration\x12\x12\n\ncluster_id\x18\x04 \x01(\tB\xb9\x01\n#com.qwak.ai.self_service.account.v0P\x01Z\x8f\x01github.com/qwak-ai/qwak-platform/services/core/java/user-management/user-management-api/pb/qwak/self_service/account/v0;self_service_account_v0b\x06proto3')
23
23
 
24
24
 
25
25
 
@@ -89,5 +89,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
89
89
  _ACCOUNTDOESNTEXIST._serialized_start=1281
90
90
  _ACCOUNTDOESNTEXIST._serialized_end=1373
91
91
  _ENVIRONMENTDETAILS._serialized_start=1376
92
- _ENVIRONMENTDETAILS._serialized_end=1508
92
+ _ENVIRONMENTDETAILS._serialized_end=1528
93
93
  # @@protoc_insertion_point(module_scope)
@@ -149,6 +149,7 @@ class EnvironmentDetails(google.protobuf.message.Message):
149
149
  ID_FIELD_NUMBER: builtins.int
150
150
  NAME_FIELD_NUMBER: builtins.int
151
151
  CONFIGURATION_FIELD_NUMBER: builtins.int
152
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
152
153
  id: builtins.str
153
154
  """Environment id"""
154
155
  name: builtins.str
@@ -156,14 +157,16 @@ class EnvironmentDetails(google.protobuf.message.Message):
156
157
  @property
157
158
  def configuration(self) -> qwak.administration.v0.environments.configuration_pb2.QwakEnvironmentConfiguration:
158
159
  """Environment configuration"""
160
+ cluster_id: builtins.str
159
161
  def __init__(
160
162
  self,
161
163
  *,
162
164
  id: builtins.str = ...,
163
165
  name: builtins.str = ...,
164
166
  configuration: qwak.administration.v0.environments.configuration_pb2.QwakEnvironmentConfiguration | None = ...,
167
+ cluster_id: builtins.str = ...,
165
168
  ) -> None: ...
166
169
  def HasField(self, field_name: typing_extensions.Literal["configuration", b"configuration"]) -> builtins.bool: ...
167
- def ClearField(self, field_name: typing_extensions.Literal["configuration", b"configuration", "id", b"id", "name", b"name"]) -> None: ...
170
+ def ClearField(self, field_name: typing_extensions.Literal["cluster_id", b"cluster_id", "configuration", b"configuration", "id", b"id", "name", b"name"]) -> None: ...
168
171
 
169
172
  global___EnvironmentDetails = EnvironmentDetails
qwak/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """Top-level package for qwak-core."""
2
2
 
3
3
  __author__ = "Qwak.ai"
4
- __version__ = "0.4.256"
4
+ __version__ = "0.4.260"
5
5
 
6
6
  from qwak.inner.di_configuration import wire_dependencies
7
7
  from qwak.model.experiment_tracking import log_metric, log_param
@@ -32,6 +32,9 @@ from _qwak_proto.qwak.automation.v1.auto_scaling_pb2 import (
32
32
  METRIC_TYPE_CPU,
33
33
  METRIC_TYPE_LATENCY,
34
34
  METRIC_TYPE_MEMORY,
35
+ METRIC_TYPE_ERROR_RATE,
36
+ METRIC_TYPE_THROUGHPUT,
37
+ METRIC_TYPE_GPU,
35
38
  AutoScalingConfig as AutoScalingConfigProto,
36
39
  AutoScalingPrometheusTrigger as AutoScalingPrometheusTriggerProto,
37
40
  QuerySpec,
@@ -427,6 +430,9 @@ class MetricType(Enum):
427
430
  cpu = METRIC_TYPE_CPU
428
431
  latency = METRIC_TYPE_LATENCY
429
432
  memory = METRIC_TYPE_MEMORY
433
+ error_rate = METRIC_TYPE_ERROR_RATE
434
+ throughput = METRIC_TYPE_THROUGHPUT
435
+ gpu = METRIC_TYPE_GPU
430
436
 
431
437
 
432
438
  class AggregationType(Enum):
@@ -725,10 +731,11 @@ class AutoScaleQuerySpec:
725
731
  time_period: int = field(default=None)
726
732
 
727
733
  def to_proto(self):
734
+ aggregation_type_lower: str = self.aggregation_type.lower()
728
735
  return QuerySpec(
729
736
  time_period=self.time_period,
730
737
  metric_type=MetricType[self.metric_type.lower()].value,
731
- aggregation_type=AggregationType[self.aggregation_type.lower()].value,
738
+ aggregation_type=AggregationType[aggregation_type_lower].value,
732
739
  )
733
740
 
734
741
  @staticmethod
@@ -792,6 +799,9 @@ def map_auto_scaling_metric_type_proto_to_name(metric_type):
792
799
  METRIC_TYPE_CPU: "cpu",
793
800
  METRIC_TYPE_LATENCY: "latency",
794
801
  METRIC_TYPE_MEMORY: "memory",
802
+ METRIC_TYPE_ERROR_RATE: "error_rate",
803
+ METRIC_TYPE_THROUGHPUT: "throughput",
804
+ METRIC_TYPE_GPU: "gpu",
795
805
  }
796
806
  return mapping.get(metric_type)
797
807
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: qwak-core
3
- Version: 0.4.256
3
+ Version: 0.4.260
4
4
  Summary: Qwak Core contains the necessary objects and communication tools for using the Qwak Platform
5
5
  License: Apache-2.0
6
6
  Keywords: mlops,ml,deployment,serving,model
@@ -141,8 +141,8 @@ _qwak_proto/qwak/auto_scaling/v1/auto_scaling_service_pb2_grpc.py,sha256=ZoSiJl4
141
141
  _qwak_proto/qwak/automation/v1/action_pb2.py,sha256=HCO3QIkzPd-SZ1oL3yUPQ83MeX0LyYquxzIEipG_S_A,15551
142
142
  _qwak_proto/qwak/automation/v1/action_pb2.pyi,sha256=-hxFRA3W3IvGS5IQ17qcbXZm7p87eHDV4aLn7BAONJo,24021
143
143
  _qwak_proto/qwak/automation/v1/action_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
144
- _qwak_proto/qwak/automation/v1/auto_scaling_pb2.py,sha256=m_5lrMxN5gqs4NiM1uoUWfciR4ML4D09f6vAH00ZAdo,5775
145
- _qwak_proto/qwak/automation/v1/auto_scaling_pb2.pyi,sha256=1FEyVniyvThNB310NXXW0U5FGUNqnVDn9k8L9ilmbY0,8308
144
+ _qwak_proto/qwak/automation/v1/auto_scaling_pb2.py,sha256=p8bpypvNmPuedRxYr5-9jenvs788VPQJQAq74hrv3mE,5981
145
+ _qwak_proto/qwak/automation/v1/auto_scaling_pb2.pyi,sha256=yNbnp_7V1qOCCgRuquFPEczo_MMfpISag_aHvU5gIiQ,8675
146
146
  _qwak_proto/qwak/automation/v1/auto_scaling_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
147
147
  _qwak_proto/qwak/automation/v1/automation_execution_pb2.py,sha256=2j-fYwsWGNcYK0mBRMo0NM7Om061LUfbfC6cb5h1bxc,3954
148
148
  _qwak_proto/qwak/automation/v1/automation_execution_pb2.pyi,sha256=Ed-N6PChJkWypLSpFCwxdhn-lGkM0KHSSQY0-eEZWyU,5309
@@ -372,8 +372,8 @@ _qwak_proto/qwak/feature_store/sources/data_source_service_pb2_grpc.py,sha256=8m
372
372
  _qwak_proto/qwak/feature_store/sources/streaming_pb2.py,sha256=cWE3CW8YLFEsL1CKWyxZjk0USaRQDeNWDlhNvsC9o9s,11049
373
373
  _qwak_proto/qwak/feature_store/sources/streaming_pb2.pyi,sha256=Gl9XE_awS5aLpFEW9m-sxwWxvcI3l_6EIq8OjBRzqnU,15942
374
374
  _qwak_proto/qwak/feature_store/sources/streaming_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
375
- _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2.py,sha256=8f6bz2XPD2FQRWqealq6VNYZsxLKfpZ-ZjYW9iqKBN0,1733
376
- _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2.pyi,sha256=HpqD0UT8PLOOCPUldO1K3SxXTetx5jLyvhAgcU_bVKY,910
375
+ _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2.py,sha256=ff5QhhgJTTCFQ6ZAAnATd3SvWYZVPdibRPx_qHKcx7I,1695
376
+ _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2.pyi,sha256=S6F_Ugmy7LGP0eMrUpFQv3h-yaVAgTqEhIgGHNu_CP4,752
377
377
  _qwak_proto/qwak/feature_store/v1/common/jfrog_artifact/jfrog_artifact_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
378
378
  _qwak_proto/qwak/feature_store/v1/common/source_code/source_code_pb2.py,sha256=VvFwMYPTSg9Z8z6IF5xiVN00sgn7pJyHsRabJrqbXgY,3377
379
379
  _qwak_proto/qwak/feature_store/v1/common/source_code/source_code_pb2.pyi,sha256=14B-93EPNZyPONl-8bW4oXBUg2bg0mrWtW3b9cjPkhY,3261
@@ -531,8 +531,8 @@ _qwak_proto/qwak/self_service/account/v0/account_membership_pb2_grpc.py,sha256=1
531
531
  _qwak_proto/qwak/self_service/account/v0/account_membership_service_pb2.py,sha256=rh18Q6GGb9PbG22DlZK-vV9E6y9l2jwoE1iZbH-LctI,19751
532
532
  _qwak_proto/qwak/self_service/account/v0/account_membership_service_pb2.pyi,sha256=hbn0dc5sTw33he62lRDQo7URTUF9Tn0_coa-4v-fbUI,13467
533
533
  _qwak_proto/qwak/self_service/account/v0/account_membership_service_pb2_grpc.py,sha256=C5YVAdmnF8MA1pOoAnqj2q15-Cdsxuxg8hPy-uw-TOY,24352
534
- _qwak_proto/qwak/self_service/account/v0/account_status_pb2.py,sha256=EuGVJ4wcpvNFstTmMqxlRiUigC9vosmKrkPPY95YN0Y,7311
535
- _qwak_proto/qwak/self_service/account/v0/account_status_pb2.pyi,sha256=bcVAcXwSrzX6jdNQZq3OH-c9eeHUiFOJ2ghQS1kmWn8,8068
534
+ _qwak_proto/qwak/self_service/account/v0/account_status_pb2.py,sha256=xbI0fxF0-0mryj7QJh9vrcq72RC9k3nN0gotB7Qv6D0,7349
535
+ _qwak_proto/qwak/self_service/account/v0/account_status_pb2.pyi,sha256=MsfrMGuXVqFtXeDkfecHQWyU0u0rbIAbF76pM-hkHok,8208
536
536
  _qwak_proto/qwak/self_service/account/v0/account_status_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
537
537
  _qwak_proto/qwak/self_service/account/v0/managing_account_pb2.py,sha256=WEPYNy-WTP9LWZWf2XSRnNDgS56xqJmL0ZxN2vReliU,10863
538
538
  _qwak_proto/qwak/self_service/account/v0/managing_account_pb2.pyi,sha256=BHH4kyqZnwsDUScIVs-5mNaoPA6xA3GnGq9Eu7WE8Vw,11661
@@ -591,12 +591,12 @@ _qwak_proto/qwak/workspace/workspace_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXH
591
591
  _qwak_proto/qwak/workspace/workspace_service_pb2.py,sha256=AB3C9S_AbOD7Nx1Ni4j1rW6PNtYTV1zjiqFQk-goQ74,21429
592
592
  _qwak_proto/qwak/workspace/workspace_service_pb2.pyi,sha256=nKKCHwnovZhsy8TSVmdz-Vtl0nviOOoX56HD-41Xo08,13726
593
593
  _qwak_proto/qwak/workspace/workspace_service_pb2_grpc.py,sha256=yKGuexxTBza99Ihe0DSTniV2ZSd_AG47inHenqfi890,27193
594
- qwak/__init__.py,sha256=UcJax5rs9mVTBW5Wlf37bYqxiGdRgXLVpTytmIsyxh0,587
594
+ qwak/__init__.py,sha256=TdbfJqcs3Rn-hsSP8Cfc-vmyPQE5jk0fdx5NhDRkwKo,587
595
595
  qwak/automations/__init__.py,sha256=qFZRvCxUUn8gcxkJR0v19ulHW2oJ0x6-Rif7HiheDP4,1522
596
596
  qwak/automations/automation_executions.py,sha256=5MeH_epYYWb8NKXgAozwT_jPyyUDednBHG7izloi7RY,3228
597
597
  qwak/automations/automations.py,sha256=3yx8e2v0uSKDnXbqyknasyEoQ5vxGni6K40Hbi1_zkk,12599
598
598
  qwak/automations/batch_execution_action.py,sha256=I5US-ZZwaDVoOjkndNr1_xpLSKdZqgToe5tyJcbO6RQ,12907
599
- qwak/automations/build_and_deploy_action.py,sha256=kTQ0xbuFmGTIzgvW6qTuGTop-mciGJQMxwU01J5Rbxw,30477
599
+ qwak/automations/build_and_deploy_action.py,sha256=K3Vp0RR-5_C6HpkLXid9bltljwylVxMmsGlyxDuoBqU,30845
600
600
  qwak/automations/common.py,sha256=tVUBYnmYBBj47B_iwwhSOirArH62XQUoA_42KOxSIA8,2695
601
601
  qwak/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
602
602
  qwak/clients/_inner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1065,6 +1065,6 @@ qwak_services_mock/mocks/workspace_manager_service_mock.py,sha256=O9ZSwln4T4kHVk
1065
1065
  qwak_services_mock/services_mock.py,sha256=zXtHcX8a_acz7ynxuCBxxVpHpde7aAGjIn6Uw52LY1s,19593
1066
1066
  qwak_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1067
1067
  qwak_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
1068
- qwak_core-0.4.256.dist-info/METADATA,sha256=F7eU1nqnmqO5PHnfV39Zt_P6tCoZKhxzoNY881QbiQg,2549
1069
- qwak_core-0.4.256.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1070
- qwak_core-0.4.256.dist-info/RECORD,,
1068
+ qwak_core-0.4.260.dist-info/METADATA,sha256=6U1idiibzSho4_C7EQEku3oUySUvJJy-hWBNkJumk-g,2549
1069
+ qwak_core-0.4.260.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1070
+ qwak_core-0.4.260.dist-info/RECORD,,