shaped 2.0.8__py3-none-any.whl → 2.0.10__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.
- shaped/autogen/configuration.py +1 -1
- shaped/autogen/models/requests_per_second_scaling_policy.py +2 -2
- shaped/autogen/models/setup_engine_response.py +1 -1
- {shaped-2.0.8.dist-info → shaped-2.0.10.dist-info}/METADATA +1 -1
- {shaped-2.0.8.dist-info → shaped-2.0.10.dist-info}/RECORD +9 -9
- {shaped-2.0.8.dist-info → shaped-2.0.10.dist-info}/WHEEL +0 -0
- {shaped-2.0.8.dist-info → shaped-2.0.10.dist-info}/entry_points.txt +0 -0
- {shaped-2.0.8.dist-info → shaped-2.0.10.dist-info}/top_level.txt +0 -0
- {shaped-2.0.8.dist-info → shaped-2.0.10.dist-info}/zip-safe +0 -0
shaped/autogen/configuration.py
CHANGED
|
@@ -504,7 +504,7 @@ class Configuration:
|
|
|
504
504
|
return "Python SDK Debug Report:\n"\
|
|
505
505
|
"OS: {env}\n"\
|
|
506
506
|
"Python Version: {pyversion}\n"\
|
|
507
|
-
"Version of the API: 2.0.
|
|
507
|
+
"Version of the API: 2.0.10\n"\
|
|
508
508
|
"SDK Package Version: 1.0.0".\
|
|
509
509
|
format(env=sys.platform, pyversion=sys.version)
|
|
510
510
|
|
|
@@ -26,7 +26,7 @@ class RequestsPerSecondScalingPolicy(BaseModel):
|
|
|
26
26
|
RequestsPerSecondScalingPolicy
|
|
27
27
|
""" # noqa: E501
|
|
28
28
|
type: Optional[StrictStr] = Field(default='requests_per_second', description="Scaling policy type discriminator.")
|
|
29
|
-
target_requests: Optional[Union[StrictFloat, StrictInt]] = Field(default=
|
|
29
|
+
target_requests: Optional[Union[StrictFloat, StrictInt]] = Field(default=1.0, description="Target requests per second per replica for scaling.")
|
|
30
30
|
additional_properties: Dict[str, Any] = {}
|
|
31
31
|
__properties: ClassVar[List[str]] = ["type", "target_requests"]
|
|
32
32
|
|
|
@@ -99,7 +99,7 @@ class RequestsPerSecondScalingPolicy(BaseModel):
|
|
|
99
99
|
|
|
100
100
|
_obj = cls.model_validate({
|
|
101
101
|
"type": obj.get("type") if obj.get("type") is not None else 'requests_per_second',
|
|
102
|
-
"target_requests": obj.get("target_requests") if obj.get("target_requests") is not None else
|
|
102
|
+
"target_requests": obj.get("target_requests") if obj.get("target_requests") is not None else 1.0
|
|
103
103
|
})
|
|
104
104
|
# store additional fields in additional_properties
|
|
105
105
|
for _key in obj.keys():
|
|
@@ -25,7 +25,7 @@ class SetupEngineResponse(BaseModel):
|
|
|
25
25
|
"""
|
|
26
26
|
SetupEngineResponse
|
|
27
27
|
""" # noqa: E501
|
|
28
|
-
engine_url: StrictStr = Field(description="URL to
|
|
28
|
+
engine_url: StrictStr = Field(description="URL to the console run-health monitor for the engine.")
|
|
29
29
|
__properties: ClassVar[List[str]] = ["engine_url"]
|
|
30
30
|
|
|
31
31
|
model_config = ConfigDict(
|
|
@@ -5,7 +5,7 @@ shaped/query_builder.py,sha256=44X58tb9msOZsyx19eknSriHyxADiantdX9Qs8-AdPo,24206
|
|
|
5
5
|
shaped/autogen/__init__.py,sha256=VUyPSF0qDNhLpz9koR3IShO5BwxLxrYeUVIKmxGj2hc,33157
|
|
6
6
|
shaped/autogen/api_client.py,sha256=-tW1rGCEA-Kp_Lh6EIOK-g08l1zm9_Kif75yciFaQ94,28576
|
|
7
7
|
shaped/autogen/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
8
|
-
shaped/autogen/configuration.py,sha256=
|
|
8
|
+
shaped/autogen/configuration.py,sha256=Ol2F9Qbd3HKy6yr7jNUGRM65cV5p_8IifvW037_VJKQ,19008
|
|
9
9
|
shaped/autogen/exceptions.py,sha256=4lNtdqGV1jjRyY567a7-_RLREwHQtZ44ut8nbqFoGgk,7325
|
|
10
10
|
shaped/autogen/rest.py,sha256=YWfNOI5JIZcB-L3ZBUs_J2mccDFqSlxWM97RCQQp2Po,10442
|
|
11
11
|
shaped/autogen/api/__init__.py,sha256=4Likv3Dq2be4kg4uoXtWHb9KqtKNisLBmKVox8MvNbM,248
|
|
@@ -180,7 +180,7 @@ shaped/autogen/models/reorder_inner.py,sha256=CUddR6JFFqHEyDrt2W6t0YVZw6hi_fTbE2
|
|
|
180
180
|
shaped/autogen/models/reorder_step_explanation.py,sha256=aucAsw_Ulhw9nW3WYUpCtWAY0QRqy1vj_S9gp4YXnSU,10047
|
|
181
181
|
shaped/autogen/models/request.py,sha256=vlFQ-a2VpHuTg140VzoJdxjURP2Xs2hh_pB6mkJ5HqA,20574
|
|
182
182
|
shaped/autogen/models/request1.py,sha256=izawNv6-MWsQJVTT_4ynhPCVrypDmPcvNNekLMZ3yc4,6237
|
|
183
|
-
shaped/autogen/models/requests_per_second_scaling_policy.py,sha256=
|
|
183
|
+
shaped/autogen/models/requests_per_second_scaling_policy.py,sha256=cFbaAmc77d2GelRG0jekmCX79UmyQUv7jNq4svTLFnc,4731
|
|
184
184
|
shaped/autogen/models/resource_config.py,sha256=O1nwrQ-l9Red0faavmP0JG7ULRbsKgg-TJNPLoBsgPs,4275
|
|
185
185
|
shaped/autogen/models/response_get_view_details_views_view_name_get.py,sha256=RnMWszR8WAC43g-l9O8TB72ZUW6RlFTyUi_ZR2HHIZs,5836
|
|
186
186
|
shaped/autogen/models/result.py,sha256=H_CxvdR6nTrpA7Z7iEnwGpZI1FlKyBwXF3FNJWrN2Pk,5843
|
|
@@ -204,7 +204,7 @@ shaped/autogen/models/search_config.py,sha256=h2JDaHcDYp0cDCQVXU8p_jxvLtM0E9jcH2
|
|
|
204
204
|
shaped/autogen/models/segment_table_config.py,sha256=nbm2lgu286MW-RDyuTwLJYwn5kCipbX55vVDVUathRI,4261
|
|
205
205
|
shaped/autogen/models/sequence_length.py,sha256=_24b8xnKrZH9fPL3X9N713VOGG3WbhbRzf7C_dIaVDQ,5793
|
|
206
206
|
shaped/autogen/models/server_config.py,sha256=Oa5Pl5Ko0jvFXiDb0TlEJFM-2h1GXflLP7pmQ5qBAXg,4076
|
|
207
|
-
shaped/autogen/models/setup_engine_response.py,sha256=
|
|
207
|
+
shaped/autogen/models/setup_engine_response.py,sha256=KdY2Wum3OKtmZD3btb6VE7ebovEPLYJ2B--JSyO7e9k,3387
|
|
208
208
|
shaped/autogen/models/shaped_internal_recsys_policies_als_model_policy_als_model_policy_config.py,sha256=89Z9QIWvHBdeJ81veTu5auasxQZ46cB7YGcoJTUX8DA,8001
|
|
209
209
|
shaped/autogen/models/shaped_internal_recsys_policies_beeformer_model_policy_beeformer_model_policy_beeformer_model_policy_config.py,sha256=YJr_yJQwv8_QGsUrwgrvPJf2TB3NLsceEI8X98V2YFg,9127
|
|
210
210
|
shaped/autogen/models/shaped_internal_recsys_policies_bert_model_policy_bert_model_policy_bert_model_policy_config.py,sha256=cvpgEP-wjxCoI2oZcMGPqWHrTUXfQzXktrYRLkjySAw,12749
|
|
@@ -265,9 +265,9 @@ shaped/autogen/models/whitespace_tokenizer.py,sha256=RmYrVsagfJnYIrY_AYTjd1q9WEA
|
|
|
265
265
|
shaped/autogen/models/window_size.py,sha256=PV0jImHGEsrSLREU0O6osmMCQh8TBC6KpldwHf-5-a8,5627
|
|
266
266
|
shaped/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
267
267
|
shaped/cli/shaped_cli.py,sha256=foTU4wUNvXz9Ux7dL4M_HE0mYmTRpUV8Ru9Hb_IIOZU,25845
|
|
268
|
-
shaped-2.0.
|
|
269
|
-
shaped-2.0.
|
|
270
|
-
shaped-2.0.
|
|
271
|
-
shaped-2.0.
|
|
272
|
-
shaped-2.0.
|
|
273
|
-
shaped-2.0.
|
|
268
|
+
shaped-2.0.10.dist-info/METADATA,sha256=eWHJrmKB2uV3fvojy45PpB7bErcgMGuCDPf0zXWSZ1U,8005
|
|
269
|
+
shaped-2.0.10.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
270
|
+
shaped-2.0.10.dist-info/entry_points.txt,sha256=Wa7tSHF7q4vSrM2UR5E-e3dVdSb59EOKQrA-6PAvyZI,54
|
|
271
|
+
shaped-2.0.10.dist-info/top_level.txt,sha256=w-lDaoadQVYpze9N9gZyK9qngb7fZCJ-KCdHLGvt0SU,7
|
|
272
|
+
shaped-2.0.10.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
273
|
+
shaped-2.0.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|