platform-api-python-client 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- platform_api_python_client-0.1.0/PKG-INFO +16 -0
- platform_api_python_client-0.1.0/README.md +190 -0
- platform_api_python_client-0.1.0/platform_api_python_client/__init__.py +78 -0
- platform_api_python_client-0.1.0/platform_api_python_client/api/__init__.py +5 -0
- platform_api_python_client-0.1.0/platform_api_python_client/api/external_api.py +7341 -0
- platform_api_python_client-0.1.0/platform_api_python_client/api_client.py +797 -0
- platform_api_python_client-0.1.0/platform_api_python_client/api_response.py +21 -0
- platform_api_python_client-0.1.0/platform_api_python_client/configuration.py +458 -0
- platform_api_python_client-0.1.0/platform_api_python_client/exceptions.py +199 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/__init__.py +61 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/add_hardware_request.py +87 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/api_key_request.py +87 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/api_key_response.py +92 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/c_serve_recipe_input.py +166 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/c_serve_recipe_output.py +166 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/c_serve_recipe_perf.py +98 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/c_serve_recipe_response.py +105 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/client_secret_response.py +87 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_c_serve_deployment_request.py +117 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_c_serve_deployment_response.py +92 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_compute_deployment_response.py +94 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_compute_deployment_v2_request.py +107 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_inference_deployment_response.py +92 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_inference_deployment_v2_request.py +141 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_payment_request.py +89 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/credits_response.py +87 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/daily_bill_response.py +90 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/deployment_status.py +38 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/deployment_status_request.py +88 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/deployment_status_response_v2.py +115 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/deployment_type.py +43 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/deployment_usage_value.py +89 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/feedback_request.py +91 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_c_serve_deployment_response.py +210 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_cluster_response.py +89 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_compute_v2_deployment_response.py +134 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_deployment_log_response.py +94 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_deployment_usage_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_deployment_v2_response.py +111 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_inference_v2_deployment_response.py +145 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/hardware_instance_response.py +99 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/health_status.py +40 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/http_validation_error.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_api_key_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_c_serve_recipe_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_daily_bill_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_get_cluster_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_get_deployment_v2_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_hardware_instance_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_payment_method_response.py +87 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_prebuilt_image_response.py +95 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/metric.py +38 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/prebuilt_image_response.py +94 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/validation_error.py +99 -0
- platform_api_python_client-0.1.0/platform_api_python_client/models/validation_error_loc_inner.py +138 -0
- platform_api_python_client-0.1.0/platform_api_python_client/py.typed +0 -0
- platform_api_python_client-0.1.0/platform_api_python_client/rest.py +257 -0
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/PKG-INFO +16 -0
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/SOURCES.txt +110 -0
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/dependency_links.txt +1 -0
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/requires.txt +4 -0
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/top_level.txt +1 -0
- platform_api_python_client-0.1.0/pyproject.toml +72 -0
- platform_api_python_client-0.1.0/setup.cfg +7 -0
- platform_api_python_client-0.1.0/setup.py +49 -0
- platform_api_python_client-0.1.0/test/test_add_hardware_request.py +52 -0
- platform_api_python_client-0.1.0/test/test_api_key_request.py +52 -0
- platform_api_python_client-0.1.0/test/test_api_key_response.py +56 -0
- platform_api_python_client-0.1.0/test/test_c_serve_recipe_input.py +73 -0
- platform_api_python_client-0.1.0/test/test_c_serve_recipe_output.py +90 -0
- platform_api_python_client-0.1.0/test/test_c_serve_recipe_perf.py +114 -0
- platform_api_python_client-0.1.0/test/test_c_serve_recipe_response.py +252 -0
- platform_api_python_client-0.1.0/test/test_client_secret_response.py +52 -0
- platform_api_python_client-0.1.0/test/test_create_c_serve_deployment_request.py +106 -0
- platform_api_python_client-0.1.0/test/test_create_c_serve_deployment_response.py +56 -0
- platform_api_python_client-0.1.0/test/test_create_compute_deployment_response.py +58 -0
- platform_api_python_client-0.1.0/test/test_create_compute_deployment_v2_request.py +60 -0
- platform_api_python_client-0.1.0/test/test_create_inference_deployment_response.py +56 -0
- platform_api_python_client-0.1.0/test/test_create_inference_deployment_v2_request.py +76 -0
- platform_api_python_client-0.1.0/test/test_create_payment_request.py +54 -0
- platform_api_python_client-0.1.0/test/test_credits_response.py +52 -0
- platform_api_python_client-0.1.0/test/test_daily_bill_response.py +54 -0
- platform_api_python_client-0.1.0/test/test_deployment_status.py +33 -0
- platform_api_python_client-0.1.0/test/test_deployment_status_request.py +52 -0
- platform_api_python_client-0.1.0/test/test_deployment_status_response_v2.py +62 -0
- platform_api_python_client-0.1.0/test/test_deployment_type.py +33 -0
- platform_api_python_client-0.1.0/test/test_deployment_usage_value.py +54 -0
- platform_api_python_client-0.1.0/test/test_external_api.py +220 -0
- platform_api_python_client-0.1.0/test/test_feedback_request.py +56 -0
- platform_api_python_client-0.1.0/test/test_get_c_serve_deployment_response.py +116 -0
- platform_api_python_client-0.1.0/test/test_get_cluster_response.py +54 -0
- platform_api_python_client-0.1.0/test/test_get_compute_v2_deployment_response.py +80 -0
- platform_api_python_client-0.1.0/test/test_get_deployment_log_response.py +58 -0
- platform_api_python_client-0.1.0/test/test_get_deployment_usage_response.py +60 -0
- platform_api_python_client-0.1.0/test/test_get_deployment_v2_response.py +68 -0
- platform_api_python_client-0.1.0/test/test_get_inference_v2_deployment_response.py +86 -0
- platform_api_python_client-0.1.0/test/test_hardware_instance_response.py +64 -0
- platform_api_python_client-0.1.0/test/test_health_status.py +33 -0
- platform_api_python_client-0.1.0/test/test_http_validation_error.py +58 -0
- platform_api_python_client-0.1.0/test/test_list_api_key_response.py +62 -0
- platform_api_python_client-0.1.0/test/test_list_c_serve_recipe_response.py +194 -0
- platform_api_python_client-0.1.0/test/test_list_daily_bill_response.py +60 -0
- platform_api_python_client-0.1.0/test/test_list_get_cluster_response.py +60 -0
- platform_api_python_client-0.1.0/test/test_list_get_deployment_v2_response.py +74 -0
- platform_api_python_client-0.1.0/test/test_list_hardware_instance_response.py +70 -0
- platform_api_python_client-0.1.0/test/test_list_payment_method_response.py +56 -0
- platform_api_python_client-0.1.0/test/test_list_prebuilt_image_response.py +68 -0
- platform_api_python_client-0.1.0/test/test_metric.py +33 -0
- platform_api_python_client-0.1.0/test/test_prebuilt_image_response.py +62 -0
- platform_api_python_client-0.1.0/test/test_validation_error.py +60 -0
- platform_api_python_client-0.1.0/test/test_validation_error_loc_inner.py +50 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: platform-api-python-client
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Platform External API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: team@openapitools.org
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,Platform External API
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
11
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
12
|
+
Requires-Dist: pydantic>=2
|
|
13
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
14
|
+
|
|
15
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
16
|
+
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# platform-api-python-client
|
|
2
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: 0.1.0
|
|
7
|
+
- Package version: 0.1.0
|
|
8
|
+
- Generator version: 7.9.0
|
|
9
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
|
+
|
|
11
|
+
## Requirements.
|
|
12
|
+
|
|
13
|
+
Python 3.7+
|
|
14
|
+
|
|
15
|
+
## Installation & Usage
|
|
16
|
+
### pip install
|
|
17
|
+
|
|
18
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pip install git+https://github.com/centml/platform/client.git
|
|
22
|
+
```
|
|
23
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/centml/platform/client.git`)
|
|
24
|
+
|
|
25
|
+
Then import the package:
|
|
26
|
+
```python
|
|
27
|
+
import platform_api_python_client
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Setuptools
|
|
31
|
+
|
|
32
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
python setup.py install --user
|
|
36
|
+
```
|
|
37
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
38
|
+
|
|
39
|
+
Then import the package:
|
|
40
|
+
```python
|
|
41
|
+
import platform_api_python_client
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Tests
|
|
45
|
+
|
|
46
|
+
Execute `pytest` to run the tests.
|
|
47
|
+
|
|
48
|
+
## Getting Started
|
|
49
|
+
|
|
50
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
|
|
54
|
+
import platform_api_python_client
|
|
55
|
+
from platform_api_python_client.rest import ApiException
|
|
56
|
+
from pprint import pprint
|
|
57
|
+
|
|
58
|
+
# Defining the host is optional and defaults to http://localhost
|
|
59
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
60
|
+
configuration = platform_api_python_client.Configuration(
|
|
61
|
+
host = "http://localhost"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# The client must configure the authentication and authorization parameters
|
|
65
|
+
# in accordance with the API server security policy.
|
|
66
|
+
# Examples for each auth method are provided below, use the example that
|
|
67
|
+
# satisfies your auth use case.
|
|
68
|
+
|
|
69
|
+
# Configure Bearer authorization: HTTPBearer
|
|
70
|
+
configuration = platform_api_python_client.Configuration(
|
|
71
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Enter a context with an instance of the API client
|
|
76
|
+
with platform_api_python_client.ApiClient(configuration) as api_client:
|
|
77
|
+
# Create an instance of the API class
|
|
78
|
+
api_instance = platform_api_python_client.EXTERNALApi(api_client)
|
|
79
|
+
feedback_request = platform_api_python_client.FeedbackRequest() # FeedbackRequest |
|
|
80
|
+
|
|
81
|
+
try:
|
|
82
|
+
# Add Feedback Request
|
|
83
|
+
api_response = api_instance.add_feedback_request_support_feedback_post(feedback_request)
|
|
84
|
+
print("The response of EXTERNALApi->add_feedback_request_support_feedback_post:\n")
|
|
85
|
+
pprint(api_response)
|
|
86
|
+
except ApiException as e:
|
|
87
|
+
print("Exception when calling EXTERNALApi->add_feedback_request_support_feedback_post: %s\n" % e)
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Documentation for API Endpoints
|
|
92
|
+
|
|
93
|
+
All URIs are relative to *http://localhost*
|
|
94
|
+
|
|
95
|
+
Class | Method | HTTP request | Description
|
|
96
|
+
------------ | ------------- | ------------- | -------------
|
|
97
|
+
*EXTERNALApi* | [**add_feedback_request_support_feedback_post**](docs/EXTERNALApi.md#add_feedback_request_support_feedback_post) | **POST** /support/feedback | Add Feedback Request
|
|
98
|
+
*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
|
|
99
|
+
*EXTERNALApi* | [**create_compute_deployment_deployments_v2_compute_post**](docs/EXTERNALApi.md#create_compute_deployment_deployments_v2_compute_post) | **POST** /deployments/v2/compute | Create Compute Deployment
|
|
100
|
+
*EXTERNALApi* | [**create_cserve_deployment_deployments_v2_cserve_post**](docs/EXTERNALApi.md#create_cserve_deployment_deployments_v2_cserve_post) | **POST** /deployments/v2/cserve | Create Cserve Deployment
|
|
101
|
+
*EXTERNALApi* | [**create_hardware_request_support_hardware_request_post**](docs/EXTERNALApi.md#create_hardware_request_support_hardware_request_post) | **POST** /support/hardware-request | Create Hardware Request
|
|
102
|
+
*EXTERNALApi* | [**create_inference_deployment_deployments_v2_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_v2_inference_post) | **POST** /deployments/v2/inference | Create Inference Deployment
|
|
103
|
+
*EXTERNALApi* | [**create_payment_payments_post**](docs/EXTERNALApi.md#create_payment_payments_post) | **POST** /payments | Create Payment
|
|
104
|
+
*EXTERNALApi* | [**create_payment_setup_payments_setup_post**](docs/EXTERNALApi.md#create_payment_setup_payments_setup_post) | **POST** /payments/setup | Create Payment Setup
|
|
105
|
+
*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
|
|
106
|
+
*EXTERNALApi* | [**delete_payment_method_payments_methods_payment_method_delete**](docs/EXTERNALApi.md#delete_payment_method_payments_methods_payment_method_delete) | **DELETE** /payments/methods/{payment_method} | Delete Payment Method
|
|
107
|
+
*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
|
|
108
|
+
*EXTERNALApi* | [**get_clusters_clusters_get**](docs/EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
|
|
109
|
+
*EXTERNALApi* | [**get_compute_deployment_deployments_v2_compute_deployment_id_get**](docs/EXTERNALApi.md#get_compute_deployment_deployments_v2_compute_deployment_id_get) | **GET** /deployments/v2/compute/{deployment_id} | Get Compute Deployment
|
|
110
|
+
*EXTERNALApi* | [**get_credits_credits_get**](docs/EXTERNALApi.md#get_credits_credits_get) | **GET** /credits | Get Credits
|
|
111
|
+
*EXTERNALApi* | [**get_cserve_deployment_deployments_v2_cserve_deployment_id_get**](docs/EXTERNALApi.md#get_cserve_deployment_deployments_v2_cserve_deployment_id_get) | **GET** /deployments/v2/cserve/{deployment_id} | Get Cserve Deployment
|
|
112
|
+
*EXTERNALApi* | [**get_cserve_recipe_deployments_v2_cserve_recipes_get**](docs/EXTERNALApi.md#get_cserve_recipe_deployments_v2_cserve_recipes_get) | **GET** /deployments/v2/cserve/recipes | Get Cserve Recipe
|
|
113
|
+
*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
|
|
114
|
+
*EXTERNALApi* | [**get_deployment_status_deployments_v2_status_deployment_id_get**](docs/EXTERNALApi.md#get_deployment_status_deployments_v2_status_deployment_id_get) | **GET** /deployments/v2/status/{deployment_id} | Get Deployment Status
|
|
115
|
+
*EXTERNALApi* | [**get_deployments_deployments_v2_get**](docs/EXTERNALApi.md#get_deployments_deployments_v2_get) | **GET** /deployments/v2 | Get Deployments
|
|
116
|
+
*EXTERNALApi* | [**get_hardware_instances_hardware_instances_get**](docs/EXTERNALApi.md#get_hardware_instances_hardware_instances_get) | **GET** /hardware-instances | Get Hardware Instances
|
|
117
|
+
*EXTERNALApi* | [**get_hardware_instances_hardware_instances_v2_get**](docs/EXTERNALApi.md#get_hardware_instances_hardware_instances_v2_get) | **GET** /hardware-instances/v2 | Get Hardware Instances
|
|
118
|
+
*EXTERNALApi* | [**get_inference_deployment_deployments_v2_inference_deployment_id_get**](docs/EXTERNALApi.md#get_inference_deployment_deployments_v2_inference_deployment_id_get) | **GET** /deployments/v2/inference/{deployment_id} | Get Inference Deployment
|
|
119
|
+
*EXTERNALApi* | [**get_payment_methods_payments_methods_get**](docs/EXTERNALApi.md#get_payment_methods_payments_methods_get) | **GET** /payments/methods | Get Payment Methods
|
|
120
|
+
*EXTERNALApi* | [**get_prebuilt_images_prebuilt_images_get**](docs/EXTERNALApi.md#get_prebuilt_images_prebuilt_images_get) | **GET** /prebuilt-images | Get Prebuilt Images
|
|
121
|
+
*EXTERNALApi* | [**get_usage_daily_bills_get**](docs/EXTERNALApi.md#get_usage_daily_bills_get) | **GET** /daily_bills | Get Usage
|
|
122
|
+
*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
|
|
123
|
+
*EXTERNALApi* | [**update_deployment_status_deployments_v2_status_deployment_id_put**](docs/EXTERNALApi.md#update_deployment_status_deployments_v2_status_deployment_id_put) | **PUT** /deployments/v2/status/{deployment_id} | Update Deployment Status
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## Documentation For Models
|
|
127
|
+
|
|
128
|
+
- [APIKeyRequest](docs/APIKeyRequest.md)
|
|
129
|
+
- [APIKeyResponse](docs/APIKeyResponse.md)
|
|
130
|
+
- [AddHardwareRequest](docs/AddHardwareRequest.md)
|
|
131
|
+
- [CServeRecipeInput](docs/CServeRecipeInput.md)
|
|
132
|
+
- [CServeRecipeOutput](docs/CServeRecipeOutput.md)
|
|
133
|
+
- [CServeRecipePerf](docs/CServeRecipePerf.md)
|
|
134
|
+
- [CServeRecipeResponse](docs/CServeRecipeResponse.md)
|
|
135
|
+
- [ClientSecretResponse](docs/ClientSecretResponse.md)
|
|
136
|
+
- [CreateCServeDeploymentRequest](docs/CreateCServeDeploymentRequest.md)
|
|
137
|
+
- [CreateCServeDeploymentResponse](docs/CreateCServeDeploymentResponse.md)
|
|
138
|
+
- [CreateComputeDeploymentResponse](docs/CreateComputeDeploymentResponse.md)
|
|
139
|
+
- [CreateComputeDeploymentV2Request](docs/CreateComputeDeploymentV2Request.md)
|
|
140
|
+
- [CreateInferenceDeploymentResponse](docs/CreateInferenceDeploymentResponse.md)
|
|
141
|
+
- [CreateInferenceDeploymentV2Request](docs/CreateInferenceDeploymentV2Request.md)
|
|
142
|
+
- [CreatePaymentRequest](docs/CreatePaymentRequest.md)
|
|
143
|
+
- [CreditsResponse](docs/CreditsResponse.md)
|
|
144
|
+
- [DailyBillResponse](docs/DailyBillResponse.md)
|
|
145
|
+
- [DeploymentStatus](docs/DeploymentStatus.md)
|
|
146
|
+
- [DeploymentStatusRequest](docs/DeploymentStatusRequest.md)
|
|
147
|
+
- [DeploymentStatusResponseV2](docs/DeploymentStatusResponseV2.md)
|
|
148
|
+
- [DeploymentType](docs/DeploymentType.md)
|
|
149
|
+
- [DeploymentUsageValue](docs/DeploymentUsageValue.md)
|
|
150
|
+
- [FeedbackRequest](docs/FeedbackRequest.md)
|
|
151
|
+
- [GetCServeDeploymentResponse](docs/GetCServeDeploymentResponse.md)
|
|
152
|
+
- [GetClusterResponse](docs/GetClusterResponse.md)
|
|
153
|
+
- [GetComputeV2DeploymentResponse](docs/GetComputeV2DeploymentResponse.md)
|
|
154
|
+
- [GetDeploymentLogResponse](docs/GetDeploymentLogResponse.md)
|
|
155
|
+
- [GetDeploymentUsageResponse](docs/GetDeploymentUsageResponse.md)
|
|
156
|
+
- [GetDeploymentV2Response](docs/GetDeploymentV2Response.md)
|
|
157
|
+
- [GetInferenceV2DeploymentResponse](docs/GetInferenceV2DeploymentResponse.md)
|
|
158
|
+
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
159
|
+
- [HardwareInstanceResponse](docs/HardwareInstanceResponse.md)
|
|
160
|
+
- [HealthStatus](docs/HealthStatus.md)
|
|
161
|
+
- [ListAPIKeyResponse](docs/ListAPIKeyResponse.md)
|
|
162
|
+
- [ListCServeRecipeResponse](docs/ListCServeRecipeResponse.md)
|
|
163
|
+
- [ListDailyBillResponse](docs/ListDailyBillResponse.md)
|
|
164
|
+
- [ListGetClusterResponse](docs/ListGetClusterResponse.md)
|
|
165
|
+
- [ListGetDeploymentV2Response](docs/ListGetDeploymentV2Response.md)
|
|
166
|
+
- [ListHardwareInstanceResponse](docs/ListHardwareInstanceResponse.md)
|
|
167
|
+
- [ListPaymentMethodResponse](docs/ListPaymentMethodResponse.md)
|
|
168
|
+
- [ListPrebuiltImageResponse](docs/ListPrebuiltImageResponse.md)
|
|
169
|
+
- [Metric](docs/Metric.md)
|
|
170
|
+
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
|
|
171
|
+
- [ValidationError](docs/ValidationError.md)
|
|
172
|
+
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
<a id="documentation-for-authorization"></a>
|
|
176
|
+
## Documentation For Authorization
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
Authentication schemes defined for the API:
|
|
180
|
+
<a id="HTTPBearer"></a>
|
|
181
|
+
### HTTPBearer
|
|
182
|
+
|
|
183
|
+
- **Type**: Bearer authentication
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## Author
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Platform External API
|
|
7
|
+
|
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 0.1.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "0.1.0"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from platform_api_python_client.api.external_api import EXTERNALApi
|
|
21
|
+
|
|
22
|
+
# import ApiClient
|
|
23
|
+
from platform_api_python_client.api_response import ApiResponse
|
|
24
|
+
from platform_api_python_client.api_client import ApiClient
|
|
25
|
+
from platform_api_python_client.configuration import Configuration
|
|
26
|
+
from platform_api_python_client.exceptions import OpenApiException
|
|
27
|
+
from platform_api_python_client.exceptions import ApiTypeError
|
|
28
|
+
from platform_api_python_client.exceptions import ApiValueError
|
|
29
|
+
from platform_api_python_client.exceptions import ApiKeyError
|
|
30
|
+
from platform_api_python_client.exceptions import ApiAttributeError
|
|
31
|
+
from platform_api_python_client.exceptions import ApiException
|
|
32
|
+
|
|
33
|
+
# import models into sdk package
|
|
34
|
+
from platform_api_python_client.models.api_key_request import APIKeyRequest
|
|
35
|
+
from platform_api_python_client.models.api_key_response import APIKeyResponse
|
|
36
|
+
from platform_api_python_client.models.add_hardware_request import AddHardwareRequest
|
|
37
|
+
from platform_api_python_client.models.c_serve_recipe_input import CServeRecipeInput
|
|
38
|
+
from platform_api_python_client.models.c_serve_recipe_output import CServeRecipeOutput
|
|
39
|
+
from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf
|
|
40
|
+
from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse
|
|
41
|
+
from platform_api_python_client.models.client_secret_response import ClientSecretResponse
|
|
42
|
+
from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest
|
|
43
|
+
from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse
|
|
44
|
+
from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse
|
|
45
|
+
from platform_api_python_client.models.create_compute_deployment_v2_request import CreateComputeDeploymentV2Request
|
|
46
|
+
from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse
|
|
47
|
+
from platform_api_python_client.models.create_inference_deployment_v2_request import CreateInferenceDeploymentV2Request
|
|
48
|
+
from platform_api_python_client.models.create_payment_request import CreatePaymentRequest
|
|
49
|
+
from platform_api_python_client.models.credits_response import CreditsResponse
|
|
50
|
+
from platform_api_python_client.models.daily_bill_response import DailyBillResponse
|
|
51
|
+
from platform_api_python_client.models.deployment_status import DeploymentStatus
|
|
52
|
+
from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest
|
|
53
|
+
from platform_api_python_client.models.deployment_status_response_v2 import DeploymentStatusResponseV2
|
|
54
|
+
from platform_api_python_client.models.deployment_type import DeploymentType
|
|
55
|
+
from platform_api_python_client.models.deployment_usage_value import DeploymentUsageValue
|
|
56
|
+
from platform_api_python_client.models.feedback_request import FeedbackRequest
|
|
57
|
+
from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse
|
|
58
|
+
from platform_api_python_client.models.get_cluster_response import GetClusterResponse
|
|
59
|
+
from platform_api_python_client.models.get_compute_v2_deployment_response import GetComputeV2DeploymentResponse
|
|
60
|
+
from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse
|
|
61
|
+
from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse
|
|
62
|
+
from platform_api_python_client.models.get_deployment_v2_response import GetDeploymentV2Response
|
|
63
|
+
from platform_api_python_client.models.get_inference_v2_deployment_response import GetInferenceV2DeploymentResponse
|
|
64
|
+
from platform_api_python_client.models.http_validation_error import HTTPValidationError
|
|
65
|
+
from platform_api_python_client.models.hardware_instance_response import HardwareInstanceResponse
|
|
66
|
+
from platform_api_python_client.models.health_status import HealthStatus
|
|
67
|
+
from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse
|
|
68
|
+
from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse
|
|
69
|
+
from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse
|
|
70
|
+
from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse
|
|
71
|
+
from platform_api_python_client.models.list_get_deployment_v2_response import ListGetDeploymentV2Response
|
|
72
|
+
from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse
|
|
73
|
+
from platform_api_python_client.models.list_payment_method_response import ListPaymentMethodResponse
|
|
74
|
+
from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse
|
|
75
|
+
from platform_api_python_client.models.metric import Metric
|
|
76
|
+
from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse
|
|
77
|
+
from platform_api_python_client.models.validation_error import ValidationError
|
|
78
|
+
from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner
|