Skip to content

Commit 4528c7f

Browse files
Update clients to latest platform release (4.0.16) (#45)
1 parent 360b508 commit 4528c7f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4824
-1277
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 0.1.0
7-
- Package version: 4.0.15
7+
- Package version: 4.0.16
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -98,7 +98,9 @@ Class | Method | HTTP request | Description
9898
*EXTERNALApi* | [**create_checkout_payments_checkout_post**](docs/EXTERNALApi.md#create_checkout_payments_checkout_post) | **POST** /payments/checkout | Create Checkout
9999
*EXTERNALApi* | [**create_compute_deployment_deployments_compute_post**](docs/EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
100100
*EXTERNALApi* | [**create_cserve_v2_deployment_deployments_cserve_v2_post**](docs/EXTERNALApi.md#create_cserve_v2_deployment_deployments_cserve_v2_post) | **POST** /deployments/cserve_v2 | Create Cserve V2 Deployment
101+
*EXTERNALApi* | [**create_cserve_v3_deployment_deployments_cserve_v3_post**](docs/EXTERNALApi.md#create_cserve_v3_deployment_deployments_cserve_v3_post) | **POST** /deployments/cserve_v3 | Create Cserve V3 Deployment
101102
*EXTERNALApi* | [**create_inference_deployment_deployments_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
103+
*EXTERNALApi* | [**create_inference_v3_deployment_deployments_inference_v3_post**](docs/EXTERNALApi.md#create_inference_v3_deployment_deployments_inference_v3_post) | **POST** /deployments/inference_v3 | Create Inference V3 Deployment
102104
*EXTERNALApi* | [**create_new_organization_organizations_post**](docs/EXTERNALApi.md#create_new_organization_organizations_post) | **POST** /organizations | Create New Organization
103105
*EXTERNALApi* | [**create_rag_deployment_deployments_rag_post**](docs/EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
104106
*EXTERNALApi* | [**create_setup_payments_setup_checkout_post**](docs/EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
@@ -116,11 +118,13 @@ Class | Method | HTTP request | Description
116118
*EXTERNALApi* | [**get_credits_credits_get**](docs/EXTERNALApi.md#get_credits_credits_get) | **GET** /credits | Get Credits
117119
*EXTERNALApi* | [**get_cserve_recipe_deployments_cserve_recipes_get**](docs/EXTERNALApi.md#get_cserve_recipe_deployments_cserve_recipes_get) | **GET** /deployments/cserve/recipes | Get Cserve Recipe
118120
*EXTERNALApi* | [**get_cserve_v2_deployment_deployments_cserve_v2_deployment_id_get**](docs/EXTERNALApi.md#get_cserve_v2_deployment_deployments_cserve_v2_deployment_id_get) | **GET** /deployments/cserve_v2/{deployment_id} | Get Cserve V2 Deployment
121+
*EXTERNALApi* | [**get_cserve_v3_deployment_deployments_cserve_v3_deployment_id_get**](docs/EXTERNALApi.md#get_cserve_v3_deployment_deployments_cserve_v3_deployment_id_get) | **GET** /deployments/cserve_v3/{deployment_id} | Get Cserve V3 Deployment
119122
*EXTERNALApi* | [**get_deployment_logs_deployments_logs_deployment_id_get**](docs/EXTERNALApi.md#get_deployment_logs_deployments_logs_deployment_id_get) | **GET** /deployments/logs/{deployment_id} | Get Deployment Logs
120123
*EXTERNALApi* | [**get_deployment_status_deployments_status_deployment_id_get**](docs/EXTERNALApi.md#get_deployment_status_deployments_status_deployment_id_get) | **GET** /deployments/status/{deployment_id} | Get Deployment Status
121124
*EXTERNALApi* | [**get_deployments_deployments_get**](docs/EXTERNALApi.md#get_deployments_deployments_get) | **GET** /deployments | Get Deployments
122125
*EXTERNALApi* | [**get_hardware_instances_hardware_instances_get**](docs/EXTERNALApi.md#get_hardware_instances_hardware_instances_get) | **GET** /hardware-instances | Get Hardware Instances
123126
*EXTERNALApi* | [**get_inference_deployment_deployments_inference_deployment_id_get**](docs/EXTERNALApi.md#get_inference_deployment_deployments_inference_deployment_id_get) | **GET** /deployments/inference/{deployment_id} | Get Inference Deployment
127+
*EXTERNALApi* | [**get_inference_v3_deployment_deployments_inference_v3_deployment_id_get**](docs/EXTERNALApi.md#get_inference_v3_deployment_deployments_inference_v3_deployment_id_get) | **GET** /deployments/inference_v3/{deployment_id} | Get Inference V3 Deployment
124128
*EXTERNALApi* | [**get_payment_method_payments_methods_get**](docs/EXTERNALApi.md#get_payment_method_payments_methods_get) | **GET** /payments/methods | Get Payment Method
125129
*EXTERNALApi* | [**get_payments_payments_get**](docs/EXTERNALApi.md#get_payments_payments_get) | **GET** /payments | Get Payments
126130
*EXTERNALApi* | [**get_prebuilt_images_prebuilt_images_get**](docs/EXTERNALApi.md#get_prebuilt_images_prebuilt_images_get) | **GET** /prebuilt-images | Get Prebuilt Images
@@ -131,8 +135,10 @@ Class | Method | HTTP request | Description
131135
*EXTERNALApi* | [**update_autocharge_preferences_autocharge_preferences_put**](docs/EXTERNALApi.md#update_autocharge_preferences_autocharge_preferences_put) | **PUT** /autocharge/preferences | Update Autocharge Preferences
132136
*EXTERNALApi* | [**update_compute_deployment_deployments_compute_put**](docs/EXTERNALApi.md#update_compute_deployment_deployments_compute_put) | **PUT** /deployments/compute | Update Compute Deployment
133137
*EXTERNALApi* | [**update_cserve_v2_deployment_deployments_cserve_v2_put**](docs/EXTERNALApi.md#update_cserve_v2_deployment_deployments_cserve_v2_put) | **PUT** /deployments/cserve_v2 | Update Cserve V2 Deployment
138+
*EXTERNALApi* | [**update_cserve_v3_deployment_deployments_cserve_v3_put**](docs/EXTERNALApi.md#update_cserve_v3_deployment_deployments_cserve_v3_put) | **PUT** /deployments/cserve_v3 | Update Cserve V3 Deployment
134139
*EXTERNALApi* | [**update_deployment_status_deployments_status_deployment_id_put**](docs/EXTERNALApi.md#update_deployment_status_deployments_status_deployment_id_put) | **PUT** /deployments/status/{deployment_id} | Update Deployment Status
135140
*EXTERNALApi* | [**update_inference_deployment_deployments_inference_put**](docs/EXTERNALApi.md#update_inference_deployment_deployments_inference_put) | **PUT** /deployments/inference | Update Inference Deployment
141+
*EXTERNALApi* | [**update_inference_v3_deployment_deployments_inference_v3_put**](docs/EXTERNALApi.md#update_inference_v3_deployment_deployments_inference_v3_put) | **PUT** /deployments/inference_v3 | Update Inference V3 Deployment
136142
*EXTERNALApi* | [**update_rag_deployment_deployments_rag_put**](docs/EXTERNALApi.md#update_rag_deployment_deployments_rag_put) | **PUT** /deployments/rag | Update Rag Deployment
137143
*EXTERNALApi* | [**update_user_vault_item_endpoint_user_vault_put**](docs/EXTERNALApi.md#update_user_vault_item_endpoint_user_vault_put) | **PUT** /user_vault | Update User Vault Item Endpoint
138144
*EXTERNALApi* | [**upload_url_file_url_upload_post**](docs/EXTERNALApi.md#upload_url_file_url_upload_post) | **POST** /file_url/upload | Upload Url
@@ -147,12 +153,15 @@ Class | Method | HTTP request | Description
147153
- [CServeV2Recipe](docs/CServeV2Recipe.md)
148154
- [CreateCServeV2DeploymentRequest](docs/CreateCServeV2DeploymentRequest.md)
149155
- [CreateCServeV2DeploymentResponse](docs/CreateCServeV2DeploymentResponse.md)
156+
- [CreateCServeV3DeploymentRequest](docs/CreateCServeV3DeploymentRequest.md)
157+
- [CreateCServeV3DeploymentResponse](docs/CreateCServeV3DeploymentResponse.md)
150158
- [CreateCheckoutRequest](docs/CreateCheckoutRequest.md)
151159
- [CreateCheckoutSessionResponse](docs/CreateCheckoutSessionResponse.md)
152160
- [CreateComputeDeploymentRequest](docs/CreateComputeDeploymentRequest.md)
153161
- [CreateComputeDeploymentResponse](docs/CreateComputeDeploymentResponse.md)
154162
- [CreateInferenceDeploymentRequest](docs/CreateInferenceDeploymentRequest.md)
155163
- [CreateInferenceDeploymentResponse](docs/CreateInferenceDeploymentResponse.md)
164+
- [CreateInferenceV3DeploymentRequest](docs/CreateInferenceV3DeploymentRequest.md)
156165
- [CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
157166
- [CreateOrganizationResponse](docs/CreateOrganizationResponse.md)
158167
- [CreateRagDeploymentRequest](docs/CreateRagDeploymentRequest.md)
@@ -170,12 +179,14 @@ Class | Method | HTTP request | Description
170179
- [DeploymentUsageValue](docs/DeploymentUsageValue.md)
171180
- [GetAutochargePreferencesResponse](docs/GetAutochargePreferencesResponse.md)
172181
- [GetCServeV2DeploymentResponse](docs/GetCServeV2DeploymentResponse.md)
182+
- [GetCServeV3DeploymentResponse](docs/GetCServeV3DeploymentResponse.md)
173183
- [GetClusterResponse](docs/GetClusterResponse.md)
174184
- [GetComputeDeploymentResponse](docs/GetComputeDeploymentResponse.md)
175185
- [GetDeploymentLogResponse](docs/GetDeploymentLogResponse.md)
176186
- [GetDeploymentResponse](docs/GetDeploymentResponse.md)
177187
- [GetDeploymentUsageResponse](docs/GetDeploymentUsageResponse.md)
178188
- [GetInferenceDeploymentResponse](docs/GetInferenceDeploymentResponse.md)
189+
- [GetInferenceV3DeploymentResponse](docs/GetInferenceV3DeploymentResponse.md)
179190
- [GetPaymentResponse](docs/GetPaymentResponse.md)
180191
- [GetRagDeploymentResponse](docs/GetRagDeploymentResponse.md)
181192
- [HTTPValidationError](docs/HTTPValidationError.md)
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# CreateCServeV3DeploymentRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**cluster_id** | **int** | |
10+
**hardware_instance_id** | **int** | |
11+
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
12+
**cserve_version** | **str** | | [optional]
13+
**hf_token** | **str** | | [optional]
14+
**endpoint_bearer_token** | **str** | | [optional]
15+
**endpoint_certificate_authority** | **str** | | [optional]
16+
**min_replicas** | **int** | |
17+
**max_replicas** | **int** | |
18+
**initial_replicas** | **int** | | [optional]
19+
**concurrency** | **int** | | [optional]
20+
**env_vars** | **Dict[str, str]** | | [optional]
21+
22+
## Example
23+
24+
```python
25+
from platform_api_python_client.models.create_c_serve_v3_deployment_request import CreateCServeV3DeploymentRequest
26+
27+
# TODO update the JSON string below
28+
json = "{}"
29+
# create an instance of CreateCServeV3DeploymentRequest from a JSON string
30+
create_c_serve_v3_deployment_request_instance = CreateCServeV3DeploymentRequest.from_json(json)
31+
# print the JSON string representation of the object
32+
print(CreateCServeV3DeploymentRequest.to_json())
33+
34+
# convert the object into a dict
35+
create_c_serve_v3_deployment_request_dict = create_c_serve_v3_deployment_request_instance.to_dict()
36+
# create an instance of CreateCServeV3DeploymentRequest from a dict
37+
create_c_serve_v3_deployment_request_from_dict = CreateCServeV3DeploymentRequest.from_dict(create_c_serve_v3_deployment_request_dict)
38+
```
39+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
40+
41+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CreateCServeV3DeploymentResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**id** | **int** | |
9+
**created_at** | **datetime** | |
10+
**endpoint_url** | **str** | |
11+
12+
## Example
13+
14+
```python
15+
from platform_api_python_client.models.create_c_serve_v3_deployment_response import CreateCServeV3DeploymentResponse
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of CreateCServeV3DeploymentResponse from a JSON string
20+
create_c_serve_v3_deployment_response_instance = CreateCServeV3DeploymentResponse.from_json(json)
21+
# print the JSON string representation of the object
22+
print(CreateCServeV3DeploymentResponse.to_json())
23+
24+
# convert the object into a dict
25+
create_c_serve_v3_deployment_response_dict = create_c_serve_v3_deployment_response_instance.to_dict()
26+
# create an instance of CreateCServeV3DeploymentResponse from a dict
27+
create_c_serve_v3_deployment_response_from_dict = CreateCServeV3DeploymentResponse.from_dict(create_c_serve_v3_deployment_response_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# CreateInferenceV3DeploymentRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
**cluster_id** | **int** | |
10+
**hardware_instance_id** | **int** | |
11+
**image_url** | **str** | |
12+
**port** | **int** | |
13+
**min_replicas** | **int** | |
14+
**max_replicas** | **int** | |
15+
**initial_replicas** | **int** | | [optional]
16+
**concurrency** | **int** | | [optional]
17+
**healthcheck** | **str** | | [optional]
18+
**env_vars** | **Dict[str, str]** | | [optional]
19+
**command** | **str** | | [optional]
20+
**endpoint_bearer_token** | **str** | | [optional]
21+
**endpoint_certificate_authority** | **str** | | [optional]
22+
23+
## Example
24+
25+
```python
26+
from platform_api_python_client.models.create_inference_v3_deployment_request import CreateInferenceV3DeploymentRequest
27+
28+
# TODO update the JSON string below
29+
json = "{}"
30+
# create an instance of CreateInferenceV3DeploymentRequest from a JSON string
31+
create_inference_v3_deployment_request_instance = CreateInferenceV3DeploymentRequest.from_json(json)
32+
# print the JSON string representation of the object
33+
print(CreateInferenceV3DeploymentRequest.to_json())
34+
35+
# convert the object into a dict
36+
create_inference_v3_deployment_request_dict = create_inference_v3_deployment_request_instance.to_dict()
37+
# create an instance of CreateInferenceV3DeploymentRequest from a dict
38+
create_inference_v3_deployment_request_from_dict = CreateInferenceV3DeploymentRequest.from_dict(create_inference_v3_deployment_request_dict)
39+
```
40+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
41+
42+

docs/DeploymentType.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@
1313

1414
* `INFERENCE_V2` (value: `'inference_v2'`)
1515

16+
* `INFERENCE_V3` (value: `'inference_v3'`)
17+
1618
* `COMPUTE_V2` (value: `'compute_v2'`)
1719

1820
* `CSERVE` (value: `'cserve'`)
1921

2022
* `CSERVE_V2` (value: `'cserve_v2'`)
2123

24+
* `CSERVE_V3` (value: `'cserve_v3'`)
25+
2226
* `DEPLOYMENT` (value: `'deployment'`)
2327

2428
* `RAG` (value: `'rag'`)

0 commit comments

Comments
 (0)