Skip to content

[Client] Automatic update from platform release (4.0.3) #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.1.0
- Package version: 4.0.1
- Package version: 4.0.3
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down Expand Up @@ -76,15 +76,15 @@ configuration = platform_api_python_client.Configuration(
with platform_api_python_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = platform_api_python_client.EXTERNALApi(api_client)
user_support_email_request = platform_api_python_client.UserSupportEmailRequest() # UserSupportEmailRequest |
api_key_request = platform_api_python_client.APIKeyRequest() # APIKeyRequest |

try:
# Add User Request
api_response = api_instance.add_user_request_support_user_requests_post(user_support_email_request)
print("The response of EXTERNALApi->add_user_request_support_user_requests_post:\n")
# Create Api Key
api_response = api_instance.create_api_key_credentials_api_key_post(api_key_request)
print("The response of EXTERNALApi->create_api_key_credentials_api_key_post:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling EXTERNALApi->add_user_request_support_user_requests_post: %s\n" % e)
print("Exception when calling EXTERNALApi->create_api_key_credentials_api_key_post: %s\n" % e)

```

Expand All @@ -94,7 +94,6 @@ All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*EXTERNALApi* | [**add_user_request_support_user_requests_post**](docs/EXTERNALApi.md#add_user_request_support_user_requests_post) | **POST** /support/user-requests | Add User Request
*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
*EXTERNALApi* | [**create_checkout_payments_checkout_post**](docs/EXTERNALApi.md#create_checkout_payments_checkout_post) | **POST** /payments/checkout | Create Checkout
*EXTERNALApi* | [**create_compute_deployment_deployments_compute_post**](docs/EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
Expand All @@ -103,6 +102,7 @@ Class | Method | HTTP request | Description
*EXTERNALApi* | [**create_inference_deployment_deployments_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
*EXTERNALApi* | [**create_rag_deployment_deployments_rag_post**](docs/EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
*EXTERNALApi* | [**create_setup_payments_setup_checkout_post**](docs/EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
*EXTERNALApi* | [**create_support_ticket_support_post**](docs/EXTERNALApi.md#create_support_ticket_support_post) | **POST** /support | Create Support Ticket
*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
*EXTERNALApi* | [**delete_autocharge_preferences_autocharge_preferences_delete**](docs/EXTERNALApi.md#delete_autocharge_preferences_autocharge_preferences_delete) | **DELETE** /autocharge/preferences | Delete Autocharge Preferences
*EXTERNALApi* | [**delete_payment_method_payments_methods_delete**](docs/EXTERNALApi.md#delete_payment_method_payments_methods_delete) | **DELETE** /payments/methods | Delete Payment Method
Expand Down Expand Up @@ -196,9 +196,10 @@ Class | Method | HTTP request | Description
- [PodStatus](docs/PodStatus.md)
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
- [ServiceStatus](docs/ServiceStatus.md)
- [TicketCategory](docs/TicketCategory.md)
- [TicketPriority](docs/TicketPriority.md)
- [UpdateAutochargePreferencesRequest](docs/UpdateAutochargePreferencesRequest.md)
- [UpdateDeploymentResponse](docs/UpdateDeploymentResponse.md)
- [UserSupportEmailRequest](docs/UserSupportEmailRequest.md)
- [UserVaultItem](docs/UserVaultItem.md)
- [UserVaultType](docs/UserVaultType.md)
- [ValidationError](docs/ValidationError.md)
Expand Down
1 change: 1 addition & 0 deletions docs/CServeRecipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Base class for deployment planner
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**revision** | **str** | | [optional]
**is_embedding_model** | **bool** | | [optional] [default to False]
**tensor_parallel_size** | **int** | |
**pipeline_parallel_size** | **int** | |
Expand Down
1 change: 1 addition & 0 deletions docs/CServeV2Recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Inputs to start deployment
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**revision** | **str** | | [optional]
**is_embedding_model** | **bool** | | [optional] [default to False]

## Example
Expand Down
163 changes: 85 additions & 78 deletions docs/EXTERNALApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_user_request_support_user_requests_post**](EXTERNALApi.md#add_user_request_support_user_requests_post) | **POST** /support/user-requests | Add User Request
[**create_api_key_credentials_api_key_post**](EXTERNALApi.md#create_api_key_credentials_api_key_post) | **POST** /credentials/api-key | Create Api Key
[**create_checkout_payments_checkout_post**](EXTERNALApi.md#create_checkout_payments_checkout_post) | **POST** /payments/checkout | Create Checkout
[**create_compute_deployment_deployments_compute_post**](EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
Expand All @@ -13,6 +12,7 @@ Method | HTTP request | Description
[**create_inference_deployment_deployments_inference_post**](EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
[**create_rag_deployment_deployments_rag_post**](EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
[**create_setup_payments_setup_checkout_post**](EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
[**create_support_ticket_support_post**](EXTERNALApi.md#create_support_ticket_support_post) | **POST** /support | Create Support Ticket
[**delete_api_key_credentials_api_key_id_delete**](EXTERNALApi.md#delete_api_key_credentials_api_key_id_delete) | **DELETE** /credentials/api-key/{id} | Delete Api Key
[**delete_autocharge_preferences_autocharge_preferences_delete**](EXTERNALApi.md#delete_autocharge_preferences_autocharge_preferences_delete) | **DELETE** /autocharge/preferences | Delete Autocharge Preferences
[**delete_payment_method_payments_methods_delete**](EXTERNALApi.md#delete_payment_method_payments_methods_delete) | **DELETE** /payments/methods | Delete Payment Method
Expand Down Expand Up @@ -49,83 +49,6 @@ Method | HTTP request | Description
[**upload_url_file_url_upload_post**](EXTERNALApi.md#upload_url_file_url_upload_post) | **POST** /file_url/upload | Upload Url


# **add_user_request_support_user_requests_post**
> object add_user_request_support_user_requests_post(user_support_email_request)

Add User Request

### Example

* Bearer Authentication (HTTPBearer):

```python
import platform_api_python_client
from platform_api_python_client.models.user_support_email_request import UserSupportEmailRequest
from platform_api_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = platform_api_python_client.Configuration(
host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: HTTPBearer
configuration = platform_api_python_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with platform_api_python_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = platform_api_python_client.EXTERNALApi(api_client)
user_support_email_request = platform_api_python_client.UserSupportEmailRequest() # UserSupportEmailRequest |

try:
# Add User Request
api_response = api_instance.add_user_request_support_user_requests_post(user_support_email_request)
print("The response of EXTERNALApi->add_user_request_support_user_requests_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EXTERNALApi->add_user_request_support_user_requests_post: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user_support_email_request** | [**UserSupportEmailRequest**](UserSupportEmailRequest.md)| |

### Return type

**object**

### Authorization

[HTTPBearer](../README.md#HTTPBearer)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**422** | Validation Error | - |

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

# **create_api_key_credentials_api_key_post**
> APIKeyResponse create_api_key_credentials_api_key_post(api_key_request)

Expand Down Expand Up @@ -750,6 +673,90 @@ Name | Type | Description | Notes

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

# **create_support_ticket_support_post**
> object create_support_ticket_support_post(message, category, priority, upload_file=upload_file)

Create Support Ticket

### Example

* Bearer Authentication (HTTPBearer):

```python
import platform_api_python_client
from platform_api_python_client.models.ticket_category import TicketCategory
from platform_api_python_client.models.ticket_priority import TicketPriority
from platform_api_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = platform_api_python_client.Configuration(
host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: HTTPBearer
configuration = platform_api_python_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with platform_api_python_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = platform_api_python_client.EXTERNALApi(api_client)
message = 'message_example' # str |
category = platform_api_python_client.TicketCategory() # TicketCategory |
priority = platform_api_python_client.TicketPriority() # TicketPriority |
upload_file = None # bytearray | (optional)

try:
# Create Support Ticket
api_response = api_instance.create_support_ticket_support_post(message, category, priority, upload_file=upload_file)
print("The response of EXTERNALApi->create_support_ticket_support_post:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EXTERNALApi->create_support_ticket_support_post: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**message** | **str**| |
**category** | [**TicketCategory**](TicketCategory.md)| |
**priority** | [**TicketPriority**](TicketPriority.md)| |
**upload_file** | **bytearray**| | [optional]

### Return type

**object**

### Authorization

[HTTPBearer](../README.md#HTTPBearer)

### HTTP request headers

- **Content-Type**: multipart/form-data
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**422** | Validation Error | - |

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

# **delete_api_key_credentials_api_key_id_delete**
> object delete_api_key_credentials_api_key_id_delete(id)

Expand Down
1 change: 1 addition & 0 deletions docs/GetCServeDeploymentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**model** | **str** | |
**revision** | **str** | | [optional]
**is_embedding_model** | **bool** | | [optional] [default to False]
**tensor_parallel_size** | **int** | |
**pipeline_parallel_size** | **int** | |
Expand Down
8 changes: 8 additions & 0 deletions docs/Metric.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

* `GPU` (value: `'gpu'`)

* `HTTP_REQUESTS` (value: `'http_requests'`)

* `REQUEST_LATENCY_50_PERCENTILE` (value: `'request_latency_50_percentile'`)

* `REQUEST_LATENCY_90_PERCENTILE` (value: `'request_latency_90_percentile'`)

* `REQUEST_LATENCY_99_PERCENTILE` (value: `'request_latency_99_percentile'`)

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


24 changes: 24 additions & 0 deletions docs/TicketCategory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# TicketCategory


## Enum

* `GENERAL_QUESTIONS` (value: `'general_questions'`)

* `SALES_QUESTIONS` (value: `'sales_questions'`)

* `PERFORMANCE_QUESTIONS` (value: `'performance_questions'`)

* `BILLING_AND_FINANCE` (value: `'billing_and_finance'`)

* `DATA_PRIVACY_ACCOUNT_DELETION` (value: `'data_privacy_account_deletion'`)

* `ADD_A_NEW_CLUSTER` (value: `'add_a_new_cluster'`)

* `REQUEST_A_NEW_SERVERLESS_MODEL` (value: `'request_a_new_serverless_model'`)

* `OTHER` (value: `'other'`)

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


16 changes: 16 additions & 0 deletions docs/TicketPriority.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# TicketPriority


## Enum

* `URGENT` (value: `'urgent'`)

* `HIGH` (value: `'high'`)

* `NORMAL` (value: `'normal'`)

* `LOW` (value: `'low'`)

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


31 changes: 0 additions & 31 deletions docs/UserSupportEmailRequest.md

This file was deleted.

5 changes: 3 additions & 2 deletions platform_api_python_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "4.0.1"
__version__ = "4.0.3"

# import apis into sdk package
from platform_api_python_client.api.external_api import EXTERNALApi
Expand Down Expand Up @@ -86,9 +86,10 @@
from platform_api_python_client.models.pod_status import PodStatus
from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse
from platform_api_python_client.models.service_status import ServiceStatus
from platform_api_python_client.models.ticket_category import TicketCategory
from platform_api_python_client.models.ticket_priority import TicketPriority
from platform_api_python_client.models.update_autocharge_preferences_request import UpdateAutochargePreferencesRequest
from platform_api_python_client.models.update_deployment_response import UpdateDeploymentResponse
from platform_api_python_client.models.user_support_email_request import UserSupportEmailRequest
from platform_api_python_client.models.user_vault_item import UserVaultItem
from platform_api_python_client.models.user_vault_type import UserVaultType
from platform_api_python_client.models.validation_error import ValidationError
Expand Down
Loading