Skip to content

Commit 6bb2be2

Browse files
Update clients to latest platform release (3.2.7) (#25)
1 parent 8382e9d commit 6bb2be2

13 files changed

+1748
-38
lines changed

README.md

Lines changed: 6 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: 3.2.5
7+
- Package version: 3.2.7
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -130,7 +130,11 @@ Class | Method | HTTP request | Description
130130
*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
131131
*EXTERNALApi* | [**setup_stripe_customer_payments_setup_post**](docs/EXTERNALApi.md#setup_stripe_customer_payments_setup_post) | **POST** /payments/setup | Setup Stripe Customer
132132
*EXTERNALApi* | [**update_autocharge_preferences_autocharge_preferences_put**](docs/EXTERNALApi.md#update_autocharge_preferences_autocharge_preferences_put) | **PUT** /autocharge/preferences | Update Autocharge Preferences
133+
*EXTERNALApi* | [**update_compute_deployment_deployments_compute_put**](docs/EXTERNALApi.md#update_compute_deployment_deployments_compute_put) | **PUT** /deployments/compute | Update Compute Deployment
134+
*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
133135
*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
136+
*EXTERNALApi* | [**update_inference_deployment_deployments_inference_put**](docs/EXTERNALApi.md#update_inference_deployment_deployments_inference_put) | **PUT** /deployments/inference | Update Inference Deployment
137+
*EXTERNALApi* | [**update_rag_deployment_deployments_rag_put**](docs/EXTERNALApi.md#update_rag_deployment_deployments_rag_put) | **PUT** /deployments/rag | Update Rag Deployment
134138
*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
135139
*EXTERNALApi* | [**upload_url_file_url_upload_post**](docs/EXTERNALApi.md#upload_url_file_url_upload_post) | **POST** /file_url/upload | Upload Url
136140

@@ -192,6 +196,7 @@ Class | Method | HTTP request | Description
192196
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
193197
- [ServiceStatus](docs/ServiceStatus.md)
194198
- [UpdateAutochargePreferencesRequest](docs/UpdateAutochargePreferencesRequest.md)
199+
- [UpdateDeploymentResponse](docs/UpdateDeploymentResponse.md)
195200
- [UserSupportEmailRequest](docs/UserSupportEmailRequest.md)
196201
- [UserVaultItem](docs/UserVaultItem.md)
197202
- [UserVaultType](docs/UserVaultType.md)

docs/EXTERNALApi.md

Lines changed: 324 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ Method | HTTP request | Description
4040
[**get_usage_deployments_usage_deployment_id_get**](EXTERNALApi.md#get_usage_deployments_usage_deployment_id_get) | **GET** /deployments/usage/{deployment_id} | Get Usage
4141
[**setup_stripe_customer_payments_setup_post**](EXTERNALApi.md#setup_stripe_customer_payments_setup_post) | **POST** /payments/setup | Setup Stripe Customer
4242
[**update_autocharge_preferences_autocharge_preferences_put**](EXTERNALApi.md#update_autocharge_preferences_autocharge_preferences_put) | **PUT** /autocharge/preferences | Update Autocharge Preferences
43+
[**update_compute_deployment_deployments_compute_put**](EXTERNALApi.md#update_compute_deployment_deployments_compute_put) | **PUT** /deployments/compute | Update Compute Deployment
44+
[**update_cserve_v2_deployment_deployments_cserve_v2_put**](EXTERNALApi.md#update_cserve_v2_deployment_deployments_cserve_v2_put) | **PUT** /deployments/cserve_v2 | Update Cserve V2 Deployment
4345
[**update_deployment_status_deployments_status_deployment_id_put**](EXTERNALApi.md#update_deployment_status_deployments_status_deployment_id_put) | **PUT** /deployments/status/{deployment_id} | Update Deployment Status
46+
[**update_inference_deployment_deployments_inference_put**](EXTERNALApi.md#update_inference_deployment_deployments_inference_put) | **PUT** /deployments/inference | Update Inference Deployment
47+
[**update_rag_deployment_deployments_rag_put**](EXTERNALApi.md#update_rag_deployment_deployments_rag_put) | **PUT** /deployments/rag | Update Rag Deployment
4448
[**update_user_vault_item_endpoint_user_vault_put**](EXTERNALApi.md#update_user_vault_item_endpoint_user_vault_put) | **PUT** /user_vault | Update User Vault Item Endpoint
4549
[**upload_url_file_url_upload_post**](EXTERNALApi.md#upload_url_file_url_upload_post) | **POST** /file_url/upload | Upload Url
4650

@@ -2815,6 +2819,166 @@ Name | Type | Description | Notes
28152819

28162820
[[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)
28172821

2822+
# **update_compute_deployment_deployments_compute_put**
2823+
> UpdateDeploymentResponse update_compute_deployment_deployments_compute_put(deployment_id, create_compute_deployment_request)
2824+
2825+
Update Compute Deployment
2826+
2827+
### Example
2828+
2829+
* Bearer Authentication (HTTPBearer):
2830+
2831+
```python
2832+
import platform_api_python_client
2833+
from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest
2834+
from platform_api_python_client.models.update_deployment_response import UpdateDeploymentResponse
2835+
from platform_api_python_client.rest import ApiException
2836+
from pprint import pprint
2837+
2838+
# Defining the host is optional and defaults to http://localhost
2839+
# See configuration.py for a list of all supported configuration parameters.
2840+
configuration = platform_api_python_client.Configuration(
2841+
host = "http://localhost"
2842+
)
2843+
2844+
# The client must configure the authentication and authorization parameters
2845+
# in accordance with the API server security policy.
2846+
# Examples for each auth method are provided below, use the example that
2847+
# satisfies your auth use case.
2848+
2849+
# Configure Bearer authorization: HTTPBearer
2850+
configuration = platform_api_python_client.Configuration(
2851+
access_token = os.environ["BEARER_TOKEN"]
2852+
)
2853+
2854+
# Enter a context with an instance of the API client
2855+
with platform_api_python_client.ApiClient(configuration) as api_client:
2856+
# Create an instance of the API class
2857+
api_instance = platform_api_python_client.EXTERNALApi(api_client)
2858+
deployment_id = 56 # int |
2859+
create_compute_deployment_request = platform_api_python_client.CreateComputeDeploymentRequest() # CreateComputeDeploymentRequest |
2860+
2861+
try:
2862+
# Update Compute Deployment
2863+
api_response = api_instance.update_compute_deployment_deployments_compute_put(deployment_id, create_compute_deployment_request)
2864+
print("The response of EXTERNALApi->update_compute_deployment_deployments_compute_put:\n")
2865+
pprint(api_response)
2866+
except Exception as e:
2867+
print("Exception when calling EXTERNALApi->update_compute_deployment_deployments_compute_put: %s\n" % e)
2868+
```
2869+
2870+
2871+
2872+
### Parameters
2873+
2874+
2875+
Name | Type | Description | Notes
2876+
------------- | ------------- | ------------- | -------------
2877+
**deployment_id** | **int**| |
2878+
**create_compute_deployment_request** | [**CreateComputeDeploymentRequest**](CreateComputeDeploymentRequest.md)| |
2879+
2880+
### Return type
2881+
2882+
[**UpdateDeploymentResponse**](UpdateDeploymentResponse.md)
2883+
2884+
### Authorization
2885+
2886+
[HTTPBearer](../README.md#HTTPBearer)
2887+
2888+
### HTTP request headers
2889+
2890+
- **Content-Type**: application/json
2891+
- **Accept**: application/json
2892+
2893+
### HTTP response details
2894+
2895+
| Status code | Description | Response headers |
2896+
|-------------|-------------|------------------|
2897+
**200** | Successful Response | - |
2898+
**422** | Validation Error | - |
2899+
2900+
[[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)
2901+
2902+
# **update_cserve_v2_deployment_deployments_cserve_v2_put**
2903+
> UpdateDeploymentResponse update_cserve_v2_deployment_deployments_cserve_v2_put(deployment_id, create_c_serve_v2_deployment_request)
2904+
2905+
Update Cserve V2 Deployment
2906+
2907+
### Example
2908+
2909+
* Bearer Authentication (HTTPBearer):
2910+
2911+
```python
2912+
import platform_api_python_client
2913+
from platform_api_python_client.models.create_c_serve_v2_deployment_request import CreateCServeV2DeploymentRequest
2914+
from platform_api_python_client.models.update_deployment_response import UpdateDeploymentResponse
2915+
from platform_api_python_client.rest import ApiException
2916+
from pprint import pprint
2917+
2918+
# Defining the host is optional and defaults to http://localhost
2919+
# See configuration.py for a list of all supported configuration parameters.
2920+
configuration = platform_api_python_client.Configuration(
2921+
host = "http://localhost"
2922+
)
2923+
2924+
# The client must configure the authentication and authorization parameters
2925+
# in accordance with the API server security policy.
2926+
# Examples for each auth method are provided below, use the example that
2927+
# satisfies your auth use case.
2928+
2929+
# Configure Bearer authorization: HTTPBearer
2930+
configuration = platform_api_python_client.Configuration(
2931+
access_token = os.environ["BEARER_TOKEN"]
2932+
)
2933+
2934+
# Enter a context with an instance of the API client
2935+
with platform_api_python_client.ApiClient(configuration) as api_client:
2936+
# Create an instance of the API class
2937+
api_instance = platform_api_python_client.EXTERNALApi(api_client)
2938+
deployment_id = 56 # int |
2939+
create_c_serve_v2_deployment_request = platform_api_python_client.CreateCServeV2DeploymentRequest() # CreateCServeV2DeploymentRequest |
2940+
2941+
try:
2942+
# Update Cserve V2 Deployment
2943+
api_response = api_instance.update_cserve_v2_deployment_deployments_cserve_v2_put(deployment_id, create_c_serve_v2_deployment_request)
2944+
print("The response of EXTERNALApi->update_cserve_v2_deployment_deployments_cserve_v2_put:\n")
2945+
pprint(api_response)
2946+
except Exception as e:
2947+
print("Exception when calling EXTERNALApi->update_cserve_v2_deployment_deployments_cserve_v2_put: %s\n" % e)
2948+
```
2949+
2950+
2951+
2952+
### Parameters
2953+
2954+
2955+
Name | Type | Description | Notes
2956+
------------- | ------------- | ------------- | -------------
2957+
**deployment_id** | **int**| |
2958+
**create_c_serve_v2_deployment_request** | [**CreateCServeV2DeploymentRequest**](CreateCServeV2DeploymentRequest.md)| |
2959+
2960+
### Return type
2961+
2962+
[**UpdateDeploymentResponse**](UpdateDeploymentResponse.md)
2963+
2964+
### Authorization
2965+
2966+
[HTTPBearer](../README.md#HTTPBearer)
2967+
2968+
### HTTP request headers
2969+
2970+
- **Content-Type**: application/json
2971+
- **Accept**: application/json
2972+
2973+
### HTTP response details
2974+
2975+
| Status code | Description | Response headers |
2976+
|-------------|-------------|------------------|
2977+
**200** | Successful Response | - |
2978+
**422** | Validation Error | - |
2979+
2980+
[[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)
2981+
28182982
# **update_deployment_status_deployments_status_deployment_id_put**
28192983
> DeploymentStatusResponse update_deployment_status_deployments_status_deployment_id_put(deployment_id, deployment_status_request)
28202984
@@ -2895,6 +3059,166 @@ Name | Type | Description | Notes
28953059

28963060
[[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)
28973061

3062+
# **update_inference_deployment_deployments_inference_put**
3063+
> UpdateDeploymentResponse update_inference_deployment_deployments_inference_put(deployment_id, create_inference_deployment_request)
3064+
3065+
Update Inference Deployment
3066+
3067+
### Example
3068+
3069+
* Bearer Authentication (HTTPBearer):
3070+
3071+
```python
3072+
import platform_api_python_client
3073+
from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest
3074+
from platform_api_python_client.models.update_deployment_response import UpdateDeploymentResponse
3075+
from platform_api_python_client.rest import ApiException
3076+
from pprint import pprint
3077+
3078+
# Defining the host is optional and defaults to http://localhost
3079+
# See configuration.py for a list of all supported configuration parameters.
3080+
configuration = platform_api_python_client.Configuration(
3081+
host = "http://localhost"
3082+
)
3083+
3084+
# The client must configure the authentication and authorization parameters
3085+
# in accordance with the API server security policy.
3086+
# Examples for each auth method are provided below, use the example that
3087+
# satisfies your auth use case.
3088+
3089+
# Configure Bearer authorization: HTTPBearer
3090+
configuration = platform_api_python_client.Configuration(
3091+
access_token = os.environ["BEARER_TOKEN"]
3092+
)
3093+
3094+
# Enter a context with an instance of the API client
3095+
with platform_api_python_client.ApiClient(configuration) as api_client:
3096+
# Create an instance of the API class
3097+
api_instance = platform_api_python_client.EXTERNALApi(api_client)
3098+
deployment_id = 56 # int |
3099+
create_inference_deployment_request = platform_api_python_client.CreateInferenceDeploymentRequest() # CreateInferenceDeploymentRequest |
3100+
3101+
try:
3102+
# Update Inference Deployment
3103+
api_response = api_instance.update_inference_deployment_deployments_inference_put(deployment_id, create_inference_deployment_request)
3104+
print("The response of EXTERNALApi->update_inference_deployment_deployments_inference_put:\n")
3105+
pprint(api_response)
3106+
except Exception as e:
3107+
print("Exception when calling EXTERNALApi->update_inference_deployment_deployments_inference_put: %s\n" % e)
3108+
```
3109+
3110+
3111+
3112+
### Parameters
3113+
3114+
3115+
Name | Type | Description | Notes
3116+
------------- | ------------- | ------------- | -------------
3117+
**deployment_id** | **int**| |
3118+
**create_inference_deployment_request** | [**CreateInferenceDeploymentRequest**](CreateInferenceDeploymentRequest.md)| |
3119+
3120+
### Return type
3121+
3122+
[**UpdateDeploymentResponse**](UpdateDeploymentResponse.md)
3123+
3124+
### Authorization
3125+
3126+
[HTTPBearer](../README.md#HTTPBearer)
3127+
3128+
### HTTP request headers
3129+
3130+
- **Content-Type**: application/json
3131+
- **Accept**: application/json
3132+
3133+
### HTTP response details
3134+
3135+
| Status code | Description | Response headers |
3136+
|-------------|-------------|------------------|
3137+
**200** | Successful Response | - |
3138+
**422** | Validation Error | - |
3139+
3140+
[[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)
3141+
3142+
# **update_rag_deployment_deployments_rag_put**
3143+
> UpdateDeploymentResponse update_rag_deployment_deployments_rag_put(deployment_id, create_rag_deployment_request)
3144+
3145+
Update Rag Deployment
3146+
3147+
### Example
3148+
3149+
* Bearer Authentication (HTTPBearer):
3150+
3151+
```python
3152+
import platform_api_python_client
3153+
from platform_api_python_client.models.create_rag_deployment_request import CreateRagDeploymentRequest
3154+
from platform_api_python_client.models.update_deployment_response import UpdateDeploymentResponse
3155+
from platform_api_python_client.rest import ApiException
3156+
from pprint import pprint
3157+
3158+
# Defining the host is optional and defaults to http://localhost
3159+
# See configuration.py for a list of all supported configuration parameters.
3160+
configuration = platform_api_python_client.Configuration(
3161+
host = "http://localhost"
3162+
)
3163+
3164+
# The client must configure the authentication and authorization parameters
3165+
# in accordance with the API server security policy.
3166+
# Examples for each auth method are provided below, use the example that
3167+
# satisfies your auth use case.
3168+
3169+
# Configure Bearer authorization: HTTPBearer
3170+
configuration = platform_api_python_client.Configuration(
3171+
access_token = os.environ["BEARER_TOKEN"]
3172+
)
3173+
3174+
# Enter a context with an instance of the API client
3175+
with platform_api_python_client.ApiClient(configuration) as api_client:
3176+
# Create an instance of the API class
3177+
api_instance = platform_api_python_client.EXTERNALApi(api_client)
3178+
deployment_id = 56 # int |
3179+
create_rag_deployment_request = platform_api_python_client.CreateRagDeploymentRequest() # CreateRagDeploymentRequest |
3180+
3181+
try:
3182+
# Update Rag Deployment
3183+
api_response = api_instance.update_rag_deployment_deployments_rag_put(deployment_id, create_rag_deployment_request)
3184+
print("The response of EXTERNALApi->update_rag_deployment_deployments_rag_put:\n")
3185+
pprint(api_response)
3186+
except Exception as e:
3187+
print("Exception when calling EXTERNALApi->update_rag_deployment_deployments_rag_put: %s\n" % e)
3188+
```
3189+
3190+
3191+
3192+
### Parameters
3193+
3194+
3195+
Name | Type | Description | Notes
3196+
------------- | ------------- | ------------- | -------------
3197+
**deployment_id** | **int**| |
3198+
**create_rag_deployment_request** | [**CreateRagDeploymentRequest**](CreateRagDeploymentRequest.md)| |
3199+
3200+
### Return type
3201+
3202+
[**UpdateDeploymentResponse**](UpdateDeploymentResponse.md)
3203+
3204+
### Authorization
3205+
3206+
[HTTPBearer](../README.md#HTTPBearer)
3207+
3208+
### HTTP request headers
3209+
3210+
- **Content-Type**: application/json
3211+
- **Accept**: application/json
3212+
3213+
### HTTP response details
3214+
3215+
| Status code | Description | Response headers |
3216+
|-------------|-------------|------------------|
3217+
**200** | Successful Response | - |
3218+
**422** | Validation Error | - |
3219+
3220+
[[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)
3221+
28983222
# **update_user_vault_item_endpoint_user_vault_put**
28993223
> object update_user_vault_item_endpoint_user_vault_put(user_vault_item)
29003224

0 commit comments

Comments
 (0)