Skip to content

Commit e700444

Browse files
Update clients to latest platform release (3.2.4) (#22)
1 parent a3507d3 commit e700444

File tree

100 files changed

+2412
-1730
lines changed

Some content is hidden

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

100 files changed

+2412
-1730
lines changed

README.md

Lines changed: 11 additions & 6 deletions
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: 3.1.16
7+
- Package version: 3.2.4
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -105,6 +105,7 @@ Class | Method | HTTP request | Description
105105
*EXTERNALApi* | [**create_setup_payments_setup_checkout_post**](docs/EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
106106
*EXTERNALApi* | [**delete_api_key_credentials_api_key_id_delete**](docs/EXTERNALApi.md#delete_api_key_credentials_api_key_id_delete) | **DELETE** /credentials/api-key/{id} | Delete Api Key
107107
*EXTERNALApi* | [**delete_user_vault_item_endpoint_user_vault_delete**](docs/EXTERNALApi.md#delete_user_vault_item_endpoint_user_vault_delete) | **DELETE** /user_vault | Delete User Vault Item Endpoint
108+
*EXTERNALApi* | [**download_url_file_url_download_post**](docs/EXTERNALApi.md#download_url_file_url_download_post) | **POST** /file_url/download | Download Url
108109
*EXTERNALApi* | [**get_all_user_vault_items_endpoint_user_vault_get**](docs/EXTERNALApi.md#get_all_user_vault_items_endpoint_user_vault_get) | **GET** /user_vault | Get All User Vault Items Endpoint
109110
*EXTERNALApi* | [**get_api_keys_credentials_api_key_get**](docs/EXTERNALApi.md#get_api_keys_credentials_api_key_get) | **GET** /credentials/api-key | Get Api Keys
110111
*EXTERNALApi* | [**get_clusters_clusters_get**](docs/EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
@@ -124,8 +125,10 @@ Class | Method | HTTP request | Description
124125
*EXTERNALApi* | [**get_usage_daily_bills_get**](docs/EXTERNALApi.md#get_usage_daily_bills_get) | **GET** /daily_bills | Get Usage
125126
*EXTERNALApi* | [**get_usage_deployments_usage_deployment_id_get**](docs/EXTERNALApi.md#get_usage_deployments_usage_deployment_id_get) | **GET** /deployments/usage/{deployment_id} | Get Usage
126127
*EXTERNALApi* | [**setup_stripe_customer_payments_setup_post**](docs/EXTERNALApi.md#setup_stripe_customer_payments_setup_post) | **POST** /payments/setup | Setup Stripe Customer
128+
*EXTERNALApi* | [**update_autopay_preferences_autopay_put**](docs/EXTERNALApi.md#update_autopay_preferences_autopay_put) | **PUT** /preferences/autopay | Update Autopay
127129
*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
128130
*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
131+
*EXTERNALApi* | [**upload_url_file_url_upload_post**](docs/EXTERNALApi.md#upload_url_file_url_upload_post) | **POST** /file_url/upload | Upload Url
129132

130133

131134
## Documentation For Models
@@ -135,8 +138,7 @@ Class | Method | HTTP request | Description
135138
- [CServeRecipe](docs/CServeRecipe.md)
136139
- [CServeRecipePerf](docs/CServeRecipePerf.md)
137140
- [CServeRecipeResponse](docs/CServeRecipeResponse.md)
138-
- [CServeV2RecipeInput](docs/CServeV2RecipeInput.md)
139-
- [CServeV2RecipeOutput](docs/CServeV2RecipeOutput.md)
141+
- [CServeV2Recipe](docs/CServeV2Recipe.md)
140142
- [CreateCServeDeploymentRequest](docs/CreateCServeDeploymentRequest.md)
141143
- [CreateCServeDeploymentResponse](docs/CreateCServeDeploymentResponse.md)
142144
- [CreateCServeV2DeploymentRequest](docs/CreateCServeV2DeploymentRequest.md)
@@ -150,6 +152,8 @@ Class | Method | HTTP request | Description
150152
- [CreateRagDeploymentRequest](docs/CreateRagDeploymentRequest.md)
151153
- [CreateRagDeploymentResponse](docs/CreateRagDeploymentResponse.md)
152154
- [CreateSetupCheckoutRequest](docs/CreateSetupCheckoutRequest.md)
155+
- [CreateUrlRequest](docs/CreateUrlRequest.md)
156+
- [CreateUrlResponse](docs/CreateUrlResponse.md)
153157
- [CreditsResponse](docs/CreditsResponse.md)
154158
- [DailyBillResponse](docs/DailyBillResponse.md)
155159
- [DeploymentStatus](docs/DeploymentStatus.md)
@@ -165,7 +169,7 @@ Class | Method | HTTP request | Description
165169
- [GetDeploymentResponse](docs/GetDeploymentResponse.md)
166170
- [GetDeploymentUsageResponse](docs/GetDeploymentUsageResponse.md)
167171
- [GetInferenceDeploymentResponse](docs/GetInferenceDeploymentResponse.md)
168-
- [GetPaymentsResponse](docs/GetPaymentsResponse.md)
172+
- [GetPaymentResponse](docs/GetPaymentResponse.md)
169173
- [GetRagDeploymentResponse](docs/GetRagDeploymentResponse.md)
170174
- [HTTPValidationError](docs/HTTPValidationError.md)
171175
- [HardwareInstanceResponse](docs/HardwareInstanceResponse.md)
@@ -175,14 +179,15 @@ Class | Method | HTTP request | Description
175179
- [ListGetClusterResponse](docs/ListGetClusterResponse.md)
176180
- [ListGetDeploymentResponse](docs/ListGetDeploymentResponse.md)
177181
- [ListHardwareInstanceResponse](docs/ListHardwareInstanceResponse.md)
182+
- [ListPaymentsResponse](docs/ListPaymentsResponse.md)
178183
- [ListPrebuiltImageResponse](docs/ListPrebuiltImageResponse.md)
179184
- [ListUserVaultItemsResponse](docs/ListUserVaultItemsResponse.md)
180185
- [Metric](docs/Metric.md)
181186
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
182187
- [ServiceStatus](docs/ServiceStatus.md)
188+
- [UpdateAutopayRequest](docs/UpdateAutopayRequest.md)
183189
- [UserSupportEmailRequest](docs/UserSupportEmailRequest.md)
184-
- [UserVaultItemInput](docs/UserVaultItemInput.md)
185-
- [UserVaultItemOutput](docs/UserVaultItemOutput.md)
190+
- [UserVaultItem](docs/UserVaultItem.md)
186191
- [UserVaultType](docs/UserVaultType.md)
187192
- [ValidationError](docs/ValidationError.md)
188193
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)

docs/CServeRecipePerf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**recipe** | [**CServeV2RecipeOutput**](CServeV2RecipeOutput.md) | |
8+
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
99
**hardware_instance_id** | **int** | |
1010
**output_tp** | **List[List[object]]** | |
1111
**mean_ttft** | **List[List[object]]** | |

docs/CServeRecipeResponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**model** | **str** | |
9-
**cluster_id** | **int** | |
109
**fastest** | [**CServeRecipePerf**](CServeRecipePerf.md) | |
1110
**cheapest** | [**CServeRecipePerf**](CServeRecipePerf.md) | |
1211
**best_value** | [**CServeRecipePerf**](CServeRecipePerf.md) | |

docs/CServeV2Recipe.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,7 @@ Inputs to start deployment
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**model** | **str** | |
10-
**max_model_len** | **int** | |
11-
**is_embedding_model** | **bool** | | [default to False]
12-
**tokenizer** | **str** | |
13-
**tensor_parallel_size** | **int** | |
14-
**pipeline_parallel_size** | **int** | |
15-
**gpu_mem_util** | **float** | | [default to 0.95]
16-
**block_size** | **int** | | [default to 32]
17-
**swap_space** | **int** | | [default to 0]
18-
**quantization** | **str** | |
19-
**dtype** | **str** | | [default to 'auto']
20-
**cache_dtype** | **str** | | [default to 'auto']
21-
**max_num_seqs** | **int** | | [default to 256]
22-
**eager_execution** | **bool** | | [default to True]
23-
**use_flashinfer** | **bool** | | [default to False]
24-
**offloading_num** | **float** | | [default to 0]
25-
**spec_draft_model** | **str** | |
26-
**spec_tokens** | **int** | |
27-
**spec_prompt_lookup_max** | **int** | |
28-
**spec_prompt_lookup_min** | **int** | |
29-
**use_prefix_caching** | **bool** | | [default to False]
30-
**use_chunked_prefill** | **bool** | | [default to False]
31-
**chunked_prefill_size** | **int** | |
32-
**max_seq_len_to_capture** | **int** | | [default to 1024]
33-
**distributed_executor_backend** | **str** | | [default to 'ray']
34-
**spec_max_batch_size** | **int** | |
35-
**spec_max_seq_len** | **int** | |
36-
**num_scheduler_steps** | **int** | | [default to 1]
10+
**is_embedding_model** | **bool** | | [optional] [default to False]
3711

3812
## Example
3913

docs/CServeV2RecipeInput.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,7 @@ Inputs to start deployment
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**model** | **str** | |
10-
**max_model_len** | **int** | | [optional]
1110
**is_embedding_model** | **bool** | | [optional] [default to False]
12-
**tokenizer** | **str** | |
13-
**tensor_parallel_size** | **int** | |
14-
**pipeline_parallel_size** | **int** | |
15-
**gpu_mem_util** | **float** | | [optional] [default to 0.95]
16-
**block_size** | **int** | | [optional] [default to 16]
17-
**swap_space** | **int** | | [optional] [default to 0]
18-
**quantization** | **str** | | [optional]
19-
**dtype** | **str** | | [optional] [default to 'auto']
20-
**cache_dtype** | **str** | | [optional] [default to 'auto']
21-
**max_num_seqs** | **int** | | [optional] [default to 256]
22-
**eager_execution** | **bool** | | [optional] [default to True]
23-
**use_flashinfer** | **bool** | | [optional] [default to False]
24-
**offloading_num** | **float** | | [optional] [default to 0]
25-
**spec_draft_model** | **str** | | [optional]
26-
**spec_tokens** | **int** | | [optional]
27-
**spec_prompt_lookup_max** | **int** | | [optional]
28-
**spec_prompt_lookup_min** | **int** | | [optional]
29-
**use_prefix_caching** | **bool** | | [optional] [default to False]
30-
**use_chunked_prefill** | **bool** | | [optional] [default to False]
31-
**chunked_prefill_size** | **int** | | [optional]
32-
**max_seq_len_to_capture** | **int** | | [optional] [default to 8192]
33-
**distributed_executor_backend** | **str** | | [optional] [default to 'mp']
34-
**spec_max_batch_size** | **int** | | [optional]
35-
**spec_max_seq_len** | **int** | | [optional]
36-
**num_scheduler_steps** | **int** | | [optional] [default to 1]
3711

3812
## Example
3913

docs/CServeV2RecipeOutput.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,7 @@ Inputs to start deployment
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**model** | **str** | |
10-
**max_model_len** | **int** | |
1110
**is_embedding_model** | **bool** | | [default to False]
12-
**tokenizer** | **str** | |
13-
**tensor_parallel_size** | **int** | |
14-
**pipeline_parallel_size** | **int** | |
15-
**gpu_mem_util** | **float** | | [default to 0.95]
16-
**block_size** | **int** | | [default to 16]
17-
**swap_space** | **int** | | [default to 0]
18-
**quantization** | **str** | |
19-
**dtype** | **str** | | [default to 'auto']
20-
**cache_dtype** | **str** | | [default to 'auto']
21-
**max_num_seqs** | **int** | | [default to 256]
22-
**eager_execution** | **bool** | | [default to True]
23-
**use_flashinfer** | **bool** | | [default to False]
24-
**offloading_num** | **float** | | [default to 0]
25-
**spec_draft_model** | **str** | |
26-
**spec_tokens** | **int** | |
27-
**spec_prompt_lookup_max** | **int** | |
28-
**spec_prompt_lookup_min** | **int** | |
29-
**use_prefix_caching** | **bool** | | [default to False]
30-
**use_chunked_prefill** | **bool** | | [default to False]
31-
**chunked_prefill_size** | **int** | |
32-
**max_seq_len_to_capture** | **int** | | [default to 8192]
33-
**distributed_executor_backend** | **str** | | [default to 'mp']
34-
**spec_max_batch_size** | **int** | |
35-
**spec_max_seq_len** | **int** | |
36-
**num_scheduler_steps** | **int** | | [default to 1]
3711

3812
## Example
3913

docs/ClientSecretResponse.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/CreateCServeV2DeploymentRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**name** | **str** | |
99
**cluster_id** | **int** | |
1010
**hardware_instance_id** | **int** | |
11-
**recipe** | [**CServeV2RecipeInput**](CServeV2RecipeInput.md) | |
11+
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
1212
**hf_token** | **str** | | [optional]
1313
**endpoint_certificate_authority** | **str** | | [optional]
1414
**min_scale** | **int** | |

docs/CreateCheckoutResponse.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/CreateComputeDeploymentResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**created_at** | **datetime** | |
1010
**endpoint_url** | **str** | |
1111
**port** | **int** | |
12-
**jupyter_token** | **str** | |
12+
**jupyter_token** | **str** | | [optional]
1313

1414
## Example
1515

docs/CreateInferenceDeploymentRequest.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Name | Type | Description | Notes
1515
**concurrency** | **int** | | [optional]
1616
**healthcheck** | **str** | | [optional]
1717
**env_vars** | **Dict[str, str]** | | [optional]
18-
**command** | **List[str]** | | [optional]
19-
**command_args** | **List[str]** | | [optional]
18+
**command** | **str** | | [optional]
2019
**endpoint_certificate_authority** | **str** | | [optional]
2120

2221
## Example

docs/CreateRagDeploymentRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**name** | **str** | |
99
**cluster_id** | **int** | |
1010
**hardware_instance_id** | **int** | |
11-
**recipe** | [**CServeV2RecipeInput**](CServeV2RecipeInput.md) | |
11+
**recipe** | [**CServeV2Recipe**](CServeV2Recipe.md) | |
1212
**hf_token** | **str** | | [optional]
1313
**llm_model** | **str** | |
1414
**centml_api_key** | **str** | |

docs/CreateUrlRequest.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CreateUrlRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**filename** | **str** | |
9+
**extension** | **str** | |
10+
11+
## Example
12+
13+
```python
14+
from platform_api_python_client.models.create_url_request import CreateUrlRequest
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of CreateUrlRequest from a JSON string
19+
create_url_request_instance = CreateUrlRequest.from_json(json)
20+
# print the JSON string representation of the object
21+
print(CreateUrlRequest.to_json())
22+
23+
# convert the object into a dict
24+
create_url_request_dict = create_url_request_instance.to_dict()
25+
# create an instance of CreateUrlRequest from a dict
26+
create_url_request_from_dict = CreateUrlRequest.from_dict(create_url_request_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/CreateUrlResponse.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CreateUrlResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**url** | **str** | |
9+
10+
## Example
11+
12+
```python
13+
from platform_api_python_client.models.create_url_response import CreateUrlResponse
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of CreateUrlResponse from a JSON string
18+
create_url_response_instance = CreateUrlResponse.from_json(json)
19+
# print the JSON string representation of the object
20+
print(CreateUrlResponse.to_json())
21+
22+
# convert the object into a dict
23+
create_url_response_dict = create_url_response_instance.to_dict()
24+
# create an instance of CreateUrlResponse from a dict
25+
create_url_response_from_dict = CreateUrlResponse.from_dict(create_url_response_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/DeploymentStatusResponse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
88
**id** | **int** | |
99
**type** | [**DeploymentType**](DeploymentType.md) | |
1010
**status** | [**DeploymentStatus**](DeploymentStatus.md) | |
11-
**service_status** | [**ServiceStatus**](ServiceStatus.md) | |
12-
**error_message** | **str** | |
13-
**endpoint_url** | **str** | |
11+
**service_status** | [**ServiceStatus**](ServiceStatus.md) | | [optional]
12+
**error_message** | **str** | | [optional]
13+
**endpoint_url** | **str** | | [optional]
1414

1515
## Example
1616

0 commit comments

Comments
 (0)