platform-api-python-client 0.1.0__tar.gz → 0.3.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 → platform_api_python_client-0.3.0}/PKG-INFO +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/README.md +31 -35
- platform_api_python_client-0.3.0/platform_api_external_client/__init__.py +77 -0
- platform_api_python_client-0.3.0/platform_api_external_client/api/__init__.py +5 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/api/external_api.py +668 -1410
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/api_client.py +6 -6
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/configuration.py +1 -1
- platform_api_python_client-0.3.0/platform_api_external_client/models/__init__.py +60 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/c_serve_recipe_perf.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/c_serve_recipe_response.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/create_c_serve_deployment_request.py +8 -5
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_payment_request.py → platform_api_python_client-0.3.0/platform_api_external_client/models/create_checkout_request.py +9 -9
- platform_api_python_client-0.1.0/platform_api_python_client/models/add_hardware_request.py → platform_api_python_client-0.3.0/platform_api_external_client/models/create_checkout_response.py +7 -7
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_compute_deployment_v2_request.py → platform_api_python_client-0.3.0/platform_api_external_client/models/create_compute_deployment_request.py +7 -6
- platform_api_python_client-0.1.0/platform_api_python_client/models/create_inference_deployment_v2_request.py → platform_api_python_client-0.3.0/platform_api_external_client/models/create_inference_deployment_request.py +7 -6
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/credits_response.py +3 -3
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/daily_bill_response.py +3 -3
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/deployment_status_request.py +1 -1
- platform_api_python_client-0.1.0/platform_api_python_client/models/deployment_status_response_v2.py → platform_api_python_client-0.3.0/platform_api_external_client/models/deployment_status_response.py +8 -8
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/get_c_serve_deployment_response.py +6 -4
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_compute_v2_deployment_response.py → platform_api_python_client-0.3.0/platform_api_external_client/models/get_compute_deployment_response.py +6 -6
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_deployment_v2_response.py → platform_api_python_client-0.3.0/platform_api_external_client/models/get_deployment_response.py +6 -6
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/get_deployment_usage_response.py +1 -1
- platform_api_python_client-0.1.0/platform_api_python_client/models/get_inference_v2_deployment_response.py → platform_api_python_client-0.3.0/platform_api_external_client/models/get_inference_deployment_response.py +22 -8
- platform_api_python_client-0.3.0/platform_api_external_client/models/get_payments_response.py +89 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/http_validation_error.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/list_api_key_response.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/list_c_serve_recipe_response.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/list_daily_bill_response.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/list_get_cluster_response.py +1 -1
- platform_api_python_client-0.3.0/platform_api_external_client/models/list_get_deployment_response.py +95 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/list_hardware_instance_response.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/list_prebuilt_image_response.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/prebuilt_image_response.py +14 -5
- platform_api_python_client-0.1.0/platform_api_python_client/models/health_status.py → platform_api_python_client-0.3.0/platform_api_external_client/models/service_status.py +12 -5
- platform_api_python_client-0.1.0/platform_api_python_client/models/client_secret_response.py → platform_api_python_client-0.3.0/platform_api_external_client/models/user_support_email_request.py +9 -7
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/validation_error.py +1 -1
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/rest.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/platform_api_python_client.egg-info/PKG-INFO +1 -1
- platform_api_python_client-0.3.0/platform_api_python_client.egg-info/SOURCES.txt +108 -0
- platform_api_python_client-0.3.0/platform_api_python_client.egg-info/top_level.txt +1 -0
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/pyproject.toml +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/setup.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_api_key_request.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_api_key_response.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_c_serve_recipe_input.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_c_serve_recipe_output.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_c_serve_recipe_perf.py +3 -3
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_c_serve_recipe_response.py +13 -13
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_create_c_serve_deployment_request.py +7 -4
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_create_c_serve_deployment_response.py +1 -1
- platform_api_python_client-0.1.0/test/test_create_payment_request.py → platform_api_python_client-0.3.0/test/test_create_checkout_request.py +15 -15
- platform_api_python_client-0.1.0/test/test_add_hardware_request.py → platform_api_python_client-0.3.0/test/test_create_checkout_response.py +13 -13
- platform_api_python_client-0.1.0/test/test_create_compute_deployment_v2_request.py → platform_api_python_client-0.3.0/test/test_create_compute_deployment_request.py +11 -11
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_create_compute_deployment_response.py +1 -1
- platform_api_python_client-0.1.0/test/test_create_inference_deployment_v2_request.py → platform_api_python_client-0.3.0/test/test_create_inference_deployment_request.py +11 -11
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_create_inference_deployment_response.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_credits_response.py +3 -3
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_daily_bill_response.py +3 -3
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_deployment_status.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_deployment_status_request.py +1 -1
- platform_api_python_client-0.1.0/test/test_deployment_status_response_v2.py → platform_api_python_client-0.3.0/test/test_deployment_status_response.py +11 -11
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_deployment_type.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_deployment_usage_value.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_external_api.py +39 -60
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_get_c_serve_deployment_response.py +8 -2
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_get_cluster_response.py +1 -1
- platform_api_python_client-0.1.0/test/test_get_compute_v2_deployment_response.py → platform_api_python_client-0.3.0/test/test_get_compute_deployment_response.py +11 -11
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_get_deployment_log_response.py +1 -1
- platform_api_python_client-0.1.0/test/test_get_deployment_v2_response.py → platform_api_python_client-0.3.0/test/test_get_deployment_response.py +11 -11
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_get_deployment_usage_response.py +3 -3
- platform_api_python_client-0.1.0/test/test_get_inference_v2_deployment_response.py → platform_api_python_client-0.3.0/test/test_get_inference_deployment_response.py +24 -12
- platform_api_python_client-0.1.0/test/test_list_payment_method_response.py → platform_api_python_client-0.3.0/test/test_get_payments_response.py +15 -13
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_hardware_instance_response.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_http_validation_error.py +2 -2
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_list_api_key_response.py +3 -3
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_list_c_serve_recipe_response.py +11 -11
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_list_daily_bill_response.py +5 -5
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_list_get_cluster_response.py +3 -3
- platform_api_python_client-0.1.0/test/test_list_get_deployment_v2_response.py → platform_api_python_client-0.3.0/test/test_list_get_deployment_response.py +13 -13
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_list_hardware_instance_response.py +3 -3
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_list_prebuilt_image_response.py +9 -5
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_metric.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_prebuilt_image_response.py +6 -2
- platform_api_python_client-0.1.0/test/test_health_status.py → platform_api_python_client-0.3.0/test/test_service_status.py +6 -6
- platform_api_python_client-0.1.0/test/test_feedback_request.py → platform_api_python_client-0.3.0/test/test_user_support_email_request.py +13 -15
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_validation_error.py +1 -1
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/test/test_validation_error_loc_inner.py +1 -1
- platform_api_python_client-0.1.0/platform_api_python_client/__init__.py +0 -78
- platform_api_python_client-0.1.0/platform_api_python_client/api/__init__.py +0 -5
- platform_api_python_client-0.1.0/platform_api_python_client/models/__init__.py +0 -61
- platform_api_python_client-0.1.0/platform_api_python_client/models/feedback_request.py +0 -91
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_get_deployment_v2_response.py +0 -95
- platform_api_python_client-0.1.0/platform_api_python_client/models/list_payment_method_response.py +0 -87
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/SOURCES.txt +0 -110
- platform_api_python_client-0.1.0/platform_api_python_client.egg-info/top_level.txt +0 -1
- platform_api_python_client-0.1.0/test/test_client_secret_response.py +0 -52
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/api_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/exceptions.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/api_key_request.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/api_key_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/c_serve_recipe_input.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/c_serve_recipe_output.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/create_c_serve_deployment_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/create_compute_deployment_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/create_inference_deployment_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/deployment_status.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/deployment_type.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/deployment_usage_value.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/get_cluster_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/get_deployment_log_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/hardware_instance_response.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/metric.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/models/validation_error_loc_inner.py +0 -0
- {platform_api_python_client-0.1.0/platform_api_python_client → platform_api_python_client-0.3.0/platform_api_external_client}/py.typed +0 -0
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/platform_api_python_client.egg-info/dependency_links.txt +0 -0
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/platform_api_python_client.egg-info/requires.txt +0 -0
- {platform_api_python_client-0.1.0 → platform_api_python_client-0.3.0}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: 0.1.0
|
|
7
|
-
- Package version: 0.
|
|
7
|
+
- Package version: 0.3.0
|
|
8
8
|
- Generator version: 7.9.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
|
|
@@ -79,12 +79,12 @@ with platform_api_python_client.ApiClient(configuration) as api_client:
|
|
|
79
79
|
feedback_request = platform_api_python_client.FeedbackRequest() # FeedbackRequest |
|
|
80
80
|
|
|
81
81
|
try:
|
|
82
|
-
# Add
|
|
83
|
-
api_response = api_instance.
|
|
84
|
-
print("The response of EXTERNALApi->
|
|
82
|
+
# Add User Request
|
|
83
|
+
api_response = api_instance.add_user_request_support_user_requests_post(user_support_email_request)
|
|
84
|
+
print("The response of EXTERNALApi->add_user_request_support_user_requests_post:\n")
|
|
85
85
|
pprint(api_response)
|
|
86
86
|
except ApiException as e:
|
|
87
|
-
print("Exception when calling EXTERNALApi->
|
|
87
|
+
print("Exception when calling EXTERNALApi->add_user_request_support_user_requests_post: %s\n" % e)
|
|
88
88
|
|
|
89
89
|
```
|
|
90
90
|
|
|
@@ -94,80 +94,76 @@ All URIs are relative to *http://localhost*
|
|
|
94
94
|
|
|
95
95
|
Class | Method | HTTP request | Description
|
|
96
96
|
------------ | ------------- | ------------- | -------------
|
|
97
|
-
*EXTERNALApi* | [**
|
|
97
|
+
*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
|
|
98
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* | [**
|
|
100
|
-
*EXTERNALApi* | [**
|
|
101
|
-
*EXTERNALApi* | [**
|
|
102
|
-
*EXTERNALApi* | [**
|
|
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
|
|
99
|
+
*EXTERNALApi* | [**create_checkout_payments_checkout_post**](docs/EXTERNALApi.md#create_checkout_payments_checkout_post) | **POST** /payments/checkout | Create Checkout
|
|
100
|
+
*EXTERNALApi* | [**create_compute_deployment_deployments_compute_post**](docs/EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
|
|
101
|
+
*EXTERNALApi* | [**create_cserve_deployment_deployments_cserve_post**](docs/EXTERNALApi.md#create_cserve_deployment_deployments_cserve_post) | **POST** /deployments/cserve | Create Cserve Deployment
|
|
102
|
+
*EXTERNALApi* | [**create_inference_deployment_deployments_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
|
|
105
103
|
*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
104
|
*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
105
|
*EXTERNALApi* | [**get_clusters_clusters_get**](docs/EXTERNALApi.md#get_clusters_clusters_get) | **GET** /clusters | Get Clusters
|
|
109
|
-
*EXTERNALApi* | [**
|
|
106
|
+
*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
|
|
110
107
|
*EXTERNALApi* | [**get_credits_credits_get**](docs/EXTERNALApi.md#get_credits_credits_get) | **GET** /credits | Get Credits
|
|
111
|
-
*EXTERNALApi* | [**
|
|
112
|
-
*EXTERNALApi* | [**
|
|
108
|
+
*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
|
|
109
|
+
*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
|
|
113
110
|
*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* | [**
|
|
115
|
-
*EXTERNALApi* | [**
|
|
111
|
+
*EXTERNALApi* | [**get_deployment_status_deployments_status_deployment_id_get**](docs/EXTERNALApi.md#get_deployment_status_deployments_status_deployment_id_get) | **GET** /deployments/status/{deployment_id} | Get Deployment Status
|
|
112
|
+
*EXTERNALApi* | [**get_deployments_deployments_get**](docs/EXTERNALApi.md#get_deployments_deployments_get) | **GET** /deployments | Get Deployments
|
|
116
113
|
*EXTERNALApi* | [**get_hardware_instances_hardware_instances_get**](docs/EXTERNALApi.md#get_hardware_instances_hardware_instances_get) | **GET** /hardware-instances | Get Hardware Instances
|
|
117
|
-
*EXTERNALApi* | [**
|
|
118
|
-
*EXTERNALApi* | [**
|
|
119
|
-
*EXTERNALApi* | [**get_payment_methods_payments_methods_get**](docs/EXTERNALApi.md#get_payment_methods_payments_methods_get) | **GET** /payments/methods | Get Payment Methods
|
|
114
|
+
*EXTERNALApi* | [**get_inference_deployment_deployments_inference_deployment_id_get**](docs/EXTERNALApi.md#get_inference_deployment_deployments_inference_deployment_id_get) | **GET** /deployments/inference/{deployment_id} | Get Inference Deployment
|
|
115
|
+
*EXTERNALApi* | [**get_payments_payments_get**](docs/EXTERNALApi.md#get_payments_payments_get) | **GET** /payments | Get Payments
|
|
120
116
|
*EXTERNALApi* | [**get_prebuilt_images_prebuilt_images_get**](docs/EXTERNALApi.md#get_prebuilt_images_prebuilt_images_get) | **GET** /prebuilt-images | Get Prebuilt Images
|
|
121
117
|
*EXTERNALApi* | [**get_usage_daily_bills_get**](docs/EXTERNALApi.md#get_usage_daily_bills_get) | **GET** /daily_bills | Get Usage
|
|
122
118
|
*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* | [**
|
|
119
|
+
*EXTERNALApi* | [**setup_stripe_customer_payments_setup_post**](docs/EXTERNALApi.md#setup_stripe_customer_payments_setup_post) | **POST** /payments/setup | Setup Stripe Customer
|
|
120
|
+
*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
|
|
124
121
|
|
|
125
122
|
|
|
126
123
|
## Documentation For Models
|
|
127
124
|
|
|
128
125
|
- [APIKeyRequest](docs/APIKeyRequest.md)
|
|
129
126
|
- [APIKeyResponse](docs/APIKeyResponse.md)
|
|
130
|
-
- [AddHardwareRequest](docs/AddHardwareRequest.md)
|
|
131
127
|
- [CServeRecipeInput](docs/CServeRecipeInput.md)
|
|
132
128
|
- [CServeRecipeOutput](docs/CServeRecipeOutput.md)
|
|
133
129
|
- [CServeRecipePerf](docs/CServeRecipePerf.md)
|
|
134
130
|
- [CServeRecipeResponse](docs/CServeRecipeResponse.md)
|
|
135
|
-
- [ClientSecretResponse](docs/ClientSecretResponse.md)
|
|
136
131
|
- [CreateCServeDeploymentRequest](docs/CreateCServeDeploymentRequest.md)
|
|
137
132
|
- [CreateCServeDeploymentResponse](docs/CreateCServeDeploymentResponse.md)
|
|
133
|
+
- [CreateCheckoutRequest](docs/CreateCheckoutRequest.md)
|
|
134
|
+
- [CreateCheckoutResponse](docs/CreateCheckoutResponse.md)
|
|
135
|
+
- [CreateComputeDeploymentRequest](docs/CreateComputeDeploymentRequest.md)
|
|
138
136
|
- [CreateComputeDeploymentResponse](docs/CreateComputeDeploymentResponse.md)
|
|
139
|
-
- [
|
|
137
|
+
- [CreateInferenceDeploymentRequest](docs/CreateInferenceDeploymentRequest.md)
|
|
140
138
|
- [CreateInferenceDeploymentResponse](docs/CreateInferenceDeploymentResponse.md)
|
|
141
|
-
- [CreateInferenceDeploymentV2Request](docs/CreateInferenceDeploymentV2Request.md)
|
|
142
|
-
- [CreatePaymentRequest](docs/CreatePaymentRequest.md)
|
|
143
139
|
- [CreditsResponse](docs/CreditsResponse.md)
|
|
144
140
|
- [DailyBillResponse](docs/DailyBillResponse.md)
|
|
145
141
|
- [DeploymentStatus](docs/DeploymentStatus.md)
|
|
146
142
|
- [DeploymentStatusRequest](docs/DeploymentStatusRequest.md)
|
|
147
|
-
- [
|
|
143
|
+
- [DeploymentStatusResponse](docs/DeploymentStatusResponse.md)
|
|
148
144
|
- [DeploymentType](docs/DeploymentType.md)
|
|
149
145
|
- [DeploymentUsageValue](docs/DeploymentUsageValue.md)
|
|
150
|
-
- [FeedbackRequest](docs/FeedbackRequest.md)
|
|
151
146
|
- [GetCServeDeploymentResponse](docs/GetCServeDeploymentResponse.md)
|
|
152
147
|
- [GetClusterResponse](docs/GetClusterResponse.md)
|
|
153
|
-
- [
|
|
148
|
+
- [GetComputeDeploymentResponse](docs/GetComputeDeploymentResponse.md)
|
|
154
149
|
- [GetDeploymentLogResponse](docs/GetDeploymentLogResponse.md)
|
|
150
|
+
- [GetDeploymentResponse](docs/GetDeploymentResponse.md)
|
|
155
151
|
- [GetDeploymentUsageResponse](docs/GetDeploymentUsageResponse.md)
|
|
156
|
-
- [
|
|
157
|
-
- [
|
|
152
|
+
- [GetInferenceDeploymentResponse](docs/GetInferenceDeploymentResponse.md)
|
|
153
|
+
- [GetPaymentsResponse](docs/GetPaymentsResponse.md)
|
|
158
154
|
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
159
155
|
- [HardwareInstanceResponse](docs/HardwareInstanceResponse.md)
|
|
160
|
-
- [HealthStatus](docs/HealthStatus.md)
|
|
161
156
|
- [ListAPIKeyResponse](docs/ListAPIKeyResponse.md)
|
|
162
157
|
- [ListCServeRecipeResponse](docs/ListCServeRecipeResponse.md)
|
|
163
158
|
- [ListDailyBillResponse](docs/ListDailyBillResponse.md)
|
|
164
159
|
- [ListGetClusterResponse](docs/ListGetClusterResponse.md)
|
|
165
|
-
- [
|
|
160
|
+
- [ListGetDeploymentResponse](docs/ListGetDeploymentResponse.md)
|
|
166
161
|
- [ListHardwareInstanceResponse](docs/ListHardwareInstanceResponse.md)
|
|
167
|
-
- [ListPaymentMethodResponse](docs/ListPaymentMethodResponse.md)
|
|
168
162
|
- [ListPrebuiltImageResponse](docs/ListPrebuiltImageResponse.md)
|
|
169
163
|
- [Metric](docs/Metric.md)
|
|
170
164
|
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
|
|
165
|
+
- [ServiceStatus](docs/ServiceStatus.md)
|
|
166
|
+
- [UserSupportEmailRequest](docs/UserSupportEmailRequest.md)
|
|
171
167
|
- [ValidationError](docs/ValidationError.md)
|
|
172
168
|
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
173
169
|
|
|
@@ -0,0 +1,77 @@
|
|
|
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__ = "1.0.0"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from platform_api_external_client.api.external_api import EXTERNALApi
|
|
21
|
+
|
|
22
|
+
# import ApiClient
|
|
23
|
+
from platform_api_external_client.api_response import ApiResponse
|
|
24
|
+
from platform_api_external_client.api_client import ApiClient
|
|
25
|
+
from platform_api_external_client.configuration import Configuration
|
|
26
|
+
from platform_api_external_client.exceptions import OpenApiException
|
|
27
|
+
from platform_api_external_client.exceptions import ApiTypeError
|
|
28
|
+
from platform_api_external_client.exceptions import ApiValueError
|
|
29
|
+
from platform_api_external_client.exceptions import ApiKeyError
|
|
30
|
+
from platform_api_external_client.exceptions import ApiAttributeError
|
|
31
|
+
from platform_api_external_client.exceptions import ApiException
|
|
32
|
+
|
|
33
|
+
# import models into sdk package
|
|
34
|
+
from platform_api_external_client.models.api_key_request import APIKeyRequest
|
|
35
|
+
from platform_api_external_client.models.api_key_response import APIKeyResponse
|
|
36
|
+
from platform_api_external_client.models.c_serve_recipe_input import CServeRecipeInput
|
|
37
|
+
from platform_api_external_client.models.c_serve_recipe_output import CServeRecipeOutput
|
|
38
|
+
from platform_api_external_client.models.c_serve_recipe_perf import CServeRecipePerf
|
|
39
|
+
from platform_api_external_client.models.c_serve_recipe_response import CServeRecipeResponse
|
|
40
|
+
from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest
|
|
41
|
+
from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse
|
|
42
|
+
from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest
|
|
43
|
+
from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse
|
|
44
|
+
from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest
|
|
45
|
+
from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse
|
|
46
|
+
from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest
|
|
47
|
+
from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse
|
|
48
|
+
from platform_api_external_client.models.credits_response import CreditsResponse
|
|
49
|
+
from platform_api_external_client.models.daily_bill_response import DailyBillResponse
|
|
50
|
+
from platform_api_external_client.models.deployment_status import DeploymentStatus
|
|
51
|
+
from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest
|
|
52
|
+
from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse
|
|
53
|
+
from platform_api_external_client.models.deployment_type import DeploymentType
|
|
54
|
+
from platform_api_external_client.models.deployment_usage_value import DeploymentUsageValue
|
|
55
|
+
from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse
|
|
56
|
+
from platform_api_external_client.models.get_cluster_response import GetClusterResponse
|
|
57
|
+
from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse
|
|
58
|
+
from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse
|
|
59
|
+
from platform_api_external_client.models.get_deployment_response import GetDeploymentResponse
|
|
60
|
+
from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse
|
|
61
|
+
from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse
|
|
62
|
+
from platform_api_external_client.models.get_payments_response import GetPaymentsResponse
|
|
63
|
+
from platform_api_external_client.models.http_validation_error import HTTPValidationError
|
|
64
|
+
from platform_api_external_client.models.hardware_instance_response import HardwareInstanceResponse
|
|
65
|
+
from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse
|
|
66
|
+
from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse
|
|
67
|
+
from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse
|
|
68
|
+
from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse
|
|
69
|
+
from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse
|
|
70
|
+
from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse
|
|
71
|
+
from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse
|
|
72
|
+
from platform_api_external_client.models.metric import Metric
|
|
73
|
+
from platform_api_external_client.models.prebuilt_image_response import PrebuiltImageResponse
|
|
74
|
+
from platform_api_external_client.models.service_status import ServiceStatus
|
|
75
|
+
from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest
|
|
76
|
+
from platform_api_external_client.models.validation_error import ValidationError
|
|
77
|
+
from platform_api_external_client.models.validation_error_loc_inner import ValidationErrorLocInner
|