Skip to content

Commit 5b2da5a

Browse files
Update clients to latest platform release (4.0.10) (#39)
1 parent 05e8689 commit 5b2da5a

22 files changed

+6
-2007
lines changed

README.md

Lines changed: 1 addition & 7 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: 4.0.9
7+
- Package version: 4.0.10
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -97,7 +97,6 @@ Class | Method | HTTP request | Description
9797
*EXTERNALApi* | [**create_api_key_credentials_api_key_post**](docs/EXTERNALApi.md#create_api_key_credentials_api_key_post) | **POST** /credentials/api-key | Create Api Key
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
100-
*EXTERNALApi* | [**create_cserve_deployment_deployments_cserve_post**](docs/EXTERNALApi.md#create_cserve_deployment_deployments_cserve_post) | **POST** /deployments/cserve | Create Cserve Deployment
101100
*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
102101
*EXTERNALApi* | [**create_inference_deployment_deployments_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
103102
*EXTERNALApi* | [**create_rag_deployment_deployments_rag_post**](docs/EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
@@ -114,7 +113,6 @@ Class | Method | HTTP request | Description
114113
*EXTERNALApi* | [**get_clusters_clusters_get**](docs/EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
115114
*EXTERNALApi* | [**get_compute_deployment_deployments_compute_deployment_id_get**](docs/EXTERNALApi.md#get_compute_deployment_deployments_compute_deployment_id_get) | **GET** /deployments/compute/{deployment_id} | Get Compute Deployment
116115
*EXTERNALApi* | [**get_credits_credits_get**](docs/EXTERNALApi.md#get_credits_credits_get) | **GET** /credits | Get Credits
117-
*EXTERNALApi* | [**get_cserve_deployment_deployments_cserve_deployment_id_get**](docs/EXTERNALApi.md#get_cserve_deployment_deployments_cserve_deployment_id_get) | **GET** /deployments/cserve/{deployment_id} | Get Cserve Deployment
118116
*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
119117
*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
120118
*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
@@ -143,12 +141,9 @@ Class | Method | HTTP request | Description
143141

144142
- [APIKeyRequest](docs/APIKeyRequest.md)
145143
- [APIKeyResponse](docs/APIKeyResponse.md)
146-
- [CServeRecipe](docs/CServeRecipe.md)
147144
- [CServeRecipePerf](docs/CServeRecipePerf.md)
148145
- [CServeRecipeResponse](docs/CServeRecipeResponse.md)
149146
- [CServeV2Recipe](docs/CServeV2Recipe.md)
150-
- [CreateCServeDeploymentRequest](docs/CreateCServeDeploymentRequest.md)
151-
- [CreateCServeDeploymentResponse](docs/CreateCServeDeploymentResponse.md)
152147
- [CreateCServeV2DeploymentRequest](docs/CreateCServeV2DeploymentRequest.md)
153148
- [CreateCServeV2DeploymentResponse](docs/CreateCServeV2DeploymentResponse.md)
154149
- [CreateCheckoutRequest](docs/CreateCheckoutRequest.md)
@@ -170,7 +165,6 @@ Class | Method | HTTP request | Description
170165
- [DeploymentType](docs/DeploymentType.md)
171166
- [DeploymentUsageValue](docs/DeploymentUsageValue.md)
172167
- [GetAutochargePreferencesResponse](docs/GetAutochargePreferencesResponse.md)
173-
- [GetCServeDeploymentResponse](docs/GetCServeDeploymentResponse.md)
174168
- [GetCServeV2DeploymentResponse](docs/GetCServeV2DeploymentResponse.md)
175169
- [GetClusterResponse](docs/GetClusterResponse.md)
176170
- [GetComputeDeploymentResponse](docs/GetComputeDeploymentResponse.md)

docs/CServeRecipe.md

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

docs/CreateCServeDeploymentRequest.md

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

docs/CreateCServeDeploymentResponse.md

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

docs/EXTERNALApi.md

Lines changed: 0 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Method | HTTP request | Description
77
[**create_api_key_credentials_api_key_post**](EXTERNALApi.md#create_api_key_credentials_api_key_post) | **POST** /credentials/api-key | Create Api Key
88
[**create_checkout_payments_checkout_post**](EXTERNALApi.md#create_checkout_payments_checkout_post) | **POST** /payments/checkout | Create Checkout
99
[**create_compute_deployment_deployments_compute_post**](EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
10-
[**create_cserve_deployment_deployments_cserve_post**](EXTERNALApi.md#create_cserve_deployment_deployments_cserve_post) | **POST** /deployments/cserve | Create Cserve Deployment
1110
[**create_cserve_v2_deployment_deployments_cserve_v2_post**](EXTERNALApi.md#create_cserve_v2_deployment_deployments_cserve_v2_post) | **POST** /deployments/cserve_v2 | Create Cserve V2 Deployment
1211
[**create_inference_deployment_deployments_inference_post**](EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
1312
[**create_rag_deployment_deployments_rag_post**](EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
@@ -24,7 +23,6 @@ Method | HTTP request | Description
2423
[**get_clusters_clusters_get**](EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
2524
[**get_compute_deployment_deployments_compute_deployment_id_get**](EXTERNALApi.md#get_compute_deployment_deployments_compute_deployment_id_get) | **GET** /deployments/compute/{deployment_id} | Get Compute Deployment
2625
[**get_credits_credits_get**](EXTERNALApi.md#get_credits_credits_get) | **GET** /credits | Get Credits
27-
[**get_cserve_deployment_deployments_cserve_deployment_id_get**](EXTERNALApi.md#get_cserve_deployment_deployments_cserve_deployment_id_get) | **GET** /deployments/cserve/{deployment_id} | Get Cserve Deployment
2826
[**get_cserve_recipe_deployments_cserve_recipes_get**](EXTERNALApi.md#get_cserve_recipe_deployments_cserve_recipes_get) | **GET** /deployments/cserve/recipes | Get Cserve Recipe
2927
[**get_cserve_v2_deployment_deployments_cserve_v2_deployment_id_get**](EXTERNALApi.md#get_cserve_v2_deployment_deployments_cserve_v2_deployment_id_get) | **GET** /deployments/cserve_v2/{deployment_id} | Get Cserve V2 Deployment
3028
[**get_deployment_logs_deployments_logs_deployment_id_get**](EXTERNALApi.md#get_deployment_logs_deployments_logs_deployment_id_get) | **GET** /deployments/logs/{deployment_id} | Get Deployment Logs
@@ -283,84 +281,6 @@ Name | Type | Description | Notes
283281

284282
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
285283

286-
# **create_cserve_deployment_deployments_cserve_post**
287-
> CreateCServeDeploymentResponse create_cserve_deployment_deployments_cserve_post(create_c_serve_deployment_request)
288-
289-
Create Cserve Deployment
290-
291-
### Example
292-
293-
* Bearer Authentication (HTTPBearer):
294-
295-
```python
296-
import platform_api_python_client
297-
from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest
298-
from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse
299-
from platform_api_python_client.rest import ApiException
300-
from pprint import pprint
301-
302-
# Defining the host is optional and defaults to http://localhost
303-
# See configuration.py for a list of all supported configuration parameters.
304-
configuration = platform_api_python_client.Configuration(
305-
host = "http://localhost"
306-
)
307-
308-
# The client must configure the authentication and authorization parameters
309-
# in accordance with the API server security policy.
310-
# Examples for each auth method are provided below, use the example that
311-
# satisfies your auth use case.
312-
313-
# Configure Bearer authorization: HTTPBearer
314-
configuration = platform_api_python_client.Configuration(
315-
access_token = os.environ["BEARER_TOKEN"]
316-
)
317-
318-
# Enter a context with an instance of the API client
319-
with platform_api_python_client.ApiClient(configuration) as api_client:
320-
# Create an instance of the API class
321-
api_instance = platform_api_python_client.EXTERNALApi(api_client)
322-
create_c_serve_deployment_request = platform_api_python_client.CreateCServeDeploymentRequest() # CreateCServeDeploymentRequest |
323-
324-
try:
325-
# Create Cserve Deployment
326-
api_response = api_instance.create_cserve_deployment_deployments_cserve_post(create_c_serve_deployment_request)
327-
print("The response of EXTERNALApi->create_cserve_deployment_deployments_cserve_post:\n")
328-
pprint(api_response)
329-
except Exception as e:
330-
print("Exception when calling EXTERNALApi->create_cserve_deployment_deployments_cserve_post: %s\n" % e)
331-
```
332-
333-
334-
335-
### Parameters
336-
337-
338-
Name | Type | Description | Notes
339-
------------- | ------------- | ------------- | -------------
340-
**create_c_serve_deployment_request** | [**CreateCServeDeploymentRequest**](CreateCServeDeploymentRequest.md)| |
341-
342-
### Return type
343-
344-
[**CreateCServeDeploymentResponse**](CreateCServeDeploymentResponse.md)
345-
346-
### Authorization
347-
348-
[HTTPBearer](../README.md#HTTPBearer)
349-
350-
### HTTP request headers
351-
352-
- **Content-Type**: application/json
353-
- **Accept**: application/json
354-
355-
### HTTP response details
356-
357-
| Status code | Description | Response headers |
358-
|-------------|-------------|------------------|
359-
**200** | Successful Response | - |
360-
**422** | Validation Error | - |
361-
362-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
363-
364284
# **create_cserve_v2_deployment_deployments_cserve_v2_post**
365285
> CreateCServeV2DeploymentResponse create_cserve_v2_deployment_deployments_cserve_v2_post(create_c_serve_v2_deployment_request)
366286
@@ -1579,83 +1499,6 @@ This endpoint does not need any parameter.
15791499

15801500
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
15811501

1582-
# **get_cserve_deployment_deployments_cserve_deployment_id_get**
1583-
> GetCServeDeploymentResponse get_cserve_deployment_deployments_cserve_deployment_id_get(deployment_id)
1584-
1585-
Get Cserve Deployment
1586-
1587-
### Example
1588-
1589-
* Bearer Authentication (HTTPBearer):
1590-
1591-
```python
1592-
import platform_api_python_client
1593-
from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse
1594-
from platform_api_python_client.rest import ApiException
1595-
from pprint import pprint
1596-
1597-
# Defining the host is optional and defaults to http://localhost
1598-
# See configuration.py for a list of all supported configuration parameters.
1599-
configuration = platform_api_python_client.Configuration(
1600-
host = "http://localhost"
1601-
)
1602-
1603-
# The client must configure the authentication and authorization parameters
1604-
# in accordance with the API server security policy.
1605-
# Examples for each auth method are provided below, use the example that
1606-
# satisfies your auth use case.
1607-
1608-
# Configure Bearer authorization: HTTPBearer
1609-
configuration = platform_api_python_client.Configuration(
1610-
access_token = os.environ["BEARER_TOKEN"]
1611-
)
1612-
1613-
# Enter a context with an instance of the API client
1614-
with platform_api_python_client.ApiClient(configuration) as api_client:
1615-
# Create an instance of the API class
1616-
api_instance = platform_api_python_client.EXTERNALApi(api_client)
1617-
deployment_id = 56 # int |
1618-
1619-
try:
1620-
# Get Cserve Deployment
1621-
api_response = api_instance.get_cserve_deployment_deployments_cserve_deployment_id_get(deployment_id)
1622-
print("The response of EXTERNALApi->get_cserve_deployment_deployments_cserve_deployment_id_get:\n")
1623-
pprint(api_response)
1624-
except Exception as e:
1625-
print("Exception when calling EXTERNALApi->get_cserve_deployment_deployments_cserve_deployment_id_get: %s\n" % e)
1626-
```
1627-
1628-
1629-
1630-
### Parameters
1631-
1632-
1633-
Name | Type | Description | Notes
1634-
------------- | ------------- | ------------- | -------------
1635-
**deployment_id** | **int**| |
1636-
1637-
### Return type
1638-
1639-
[**GetCServeDeploymentResponse**](GetCServeDeploymentResponse.md)
1640-
1641-
### Authorization
1642-
1643-
[HTTPBearer](../README.md#HTTPBearer)
1644-
1645-
### HTTP request headers
1646-
1647-
- **Content-Type**: Not defined
1648-
- **Accept**: application/json
1649-
1650-
### HTTP response details
1651-
1652-
| Status code | Description | Response headers |
1653-
|-------------|-------------|------------------|
1654-
**200** | Successful Response | - |
1655-
**422** | Validation Error | - |
1656-
1657-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1658-
16591502
# **get_cserve_recipe_deployments_cserve_recipes_get**
16601503
> ListCServeRecipeResponse get_cserve_recipe_deployments_cserve_recipes_get(model=model, hf_token=hf_token)
16611504

0 commit comments

Comments
 (0)