2525from .finetuning .types .list_finetuned_models_response import ListFinetunedModelsResponse
2626from .finetuning .types .list_training_step_metrics_response import ListTrainingStepMetricsResponse
2727from .finetuning .types .settings import Settings
28- from .finetuning .types .status import Status
2928from .finetuning .types .update_finetuned_model_response import UpdateFinetunedModelResponse
3029from pydantic import ValidationError
3130
@@ -501,13 +500,7 @@ def delete_finetuned_model(
501500 raise ApiError (status_code = _response .status_code , headers = dict (_response .headers ), body = _response_json )
502501
503502 def update_finetuned_model (
504- self ,
505- id : str ,
506- * ,
507- name : str ,
508- settings : Settings ,
509- status : typing .Optional [Status ] = OMIT ,
510- request_options : typing .Optional [RequestOptions ] = None ,
503+ self , id : str , * , name : str , settings : Settings , request_options : typing .Optional [RequestOptions ] = None
511504 ) -> HttpResponse [UpdateFinetunedModelResponse ]:
512505 """
513506 Updates the fine-tuned model with the given ID. The model will be updated with the new settings and name provided in the request body.
@@ -523,9 +516,6 @@ def update_finetuned_model(
523516 settings : Settings
524517 FinetunedModel settings such as dataset, hyperparameters...
525518
526- status : typing.Optional[Status]
527- Current stage in the life-cycle of the fine-tuned model.
528-
529519 request_options : typing.Optional[RequestOptions]
530520 Request-specific configuration.
531521
@@ -542,7 +532,6 @@ def update_finetuned_model(
542532 "settings" : convert_and_respect_annotation_metadata (
543533 object_ = settings , annotation = Settings , direction = "write"
544534 ),
545- "status" : status ,
546535 },
547536 headers = {
548537 "content-type" : "application/json" ,
@@ -1368,13 +1357,7 @@ async def delete_finetuned_model(
13681357 raise ApiError (status_code = _response .status_code , headers = dict (_response .headers ), body = _response_json )
13691358
13701359 async def update_finetuned_model (
1371- self ,
1372- id : str ,
1373- * ,
1374- name : str ,
1375- settings : Settings ,
1376- status : typing .Optional [Status ] = OMIT ,
1377- request_options : typing .Optional [RequestOptions ] = None ,
1360+ self , id : str , * , name : str , settings : Settings , request_options : typing .Optional [RequestOptions ] = None
13781361 ) -> AsyncHttpResponse [UpdateFinetunedModelResponse ]:
13791362 """
13801363 Updates the fine-tuned model with the given ID. The model will be updated with the new settings and name provided in the request body.
@@ -1390,9 +1373,6 @@ async def update_finetuned_model(
13901373 settings : Settings
13911374 FinetunedModel settings such as dataset, hyperparameters...
13921375
1393- status : typing.Optional[Status]
1394- Current stage in the life-cycle of the fine-tuned model.
1395-
13961376 request_options : typing.Optional[RequestOptions]
13971377 Request-specific configuration.
13981378
@@ -1409,7 +1389,6 @@ async def update_finetuned_model(
14091389 "settings" : convert_and_respect_annotation_metadata (
14101390 object_ = settings , annotation = Settings , direction = "write"
14111391 ),
1412- "status" : status ,
14131392 },
14141393 headers = {
14151394 "content-type" : "application/json" ,
0 commit comments