qwak-core 0.4.257__py3-none-any.whl → 0.4.258__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.
- _qwak_proto/qwak/automation/v1/auto_scaling_pb2.py +8 -5
- _qwak_proto/qwak/automation/v1/auto_scaling_pb2.pyi +6 -0
- qwak/__init__.py +1 -1
- {qwak_core-0.4.257.dist-info → qwak_core-0.4.258.dist-info}/METADATA +1 -1
- {qwak_core-0.4.257.dist-info → qwak_core-0.4.258.dist-info}/RECORD +6 -6
- {qwak_core-0.4.257.dist-info → qwak_core-0.4.258.dist-info}/WHEEL +0 -0
@@ -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
|
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=
|
84
|
-
_AUTOSCALINGMETRICTYPE._serialized_end=
|
85
|
-
_AUTOSCALINGAGGREGATIONTYPE._serialized_start=
|
86
|
-
_AUTOSCALINGAGGREGATIONTYPE._serialized_end=
|
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:
|
qwak/__init__.py
CHANGED
@@ -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=
|
145
|
-
_qwak_proto/qwak/automation/v1/auto_scaling_pb2.pyi,sha256=
|
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
|
@@ -591,7 +591,7 @@ _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=
|
594
|
+
qwak/__init__.py,sha256=H-5s4S8xNSvFUpQOdQ2kULoCzMydMKxHE5DVmGcbDq8,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
|
@@ -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.
|
1069
|
-
qwak_core-0.4.
|
1070
|
-
qwak_core-0.4.
|
1068
|
+
qwak_core-0.4.258.dist-info/METADATA,sha256=7_njgoyzgtup5DFWwor7uJG1WTiKtkTsWy18uI6SAp8,2549
|
1069
|
+
qwak_core-0.4.258.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
1070
|
+
qwak_core-0.4.258.dist-info/RECORD,,
|
File without changes
|