platform-api-python-client 0.1.0__py3-none-any.whl
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/__init__.py +78 -0
- platform_api_python_client/api/__init__.py +5 -0
- platform_api_python_client/api/external_api.py +7341 -0
- platform_api_python_client/api_client.py +797 -0
- platform_api_python_client/api_response.py +21 -0
- platform_api_python_client/configuration.py +458 -0
- platform_api_python_client/exceptions.py +199 -0
- platform_api_python_client/models/__init__.py +61 -0
- platform_api_python_client/models/add_hardware_request.py +87 -0
- platform_api_python_client/models/api_key_request.py +87 -0
- platform_api_python_client/models/api_key_response.py +92 -0
- platform_api_python_client/models/c_serve_recipe_input.py +166 -0
- platform_api_python_client/models/c_serve_recipe_output.py +166 -0
- platform_api_python_client/models/c_serve_recipe_perf.py +98 -0
- platform_api_python_client/models/c_serve_recipe_response.py +105 -0
- platform_api_python_client/models/client_secret_response.py +87 -0
- platform_api_python_client/models/create_c_serve_deployment_request.py +117 -0
- platform_api_python_client/models/create_c_serve_deployment_response.py +92 -0
- platform_api_python_client/models/create_compute_deployment_response.py +94 -0
- platform_api_python_client/models/create_compute_deployment_v2_request.py +107 -0
- platform_api_python_client/models/create_inference_deployment_response.py +92 -0
- platform_api_python_client/models/create_inference_deployment_v2_request.py +141 -0
- platform_api_python_client/models/create_payment_request.py +89 -0
- platform_api_python_client/models/credits_response.py +87 -0
- platform_api_python_client/models/daily_bill_response.py +90 -0
- platform_api_python_client/models/deployment_status.py +38 -0
- platform_api_python_client/models/deployment_status_request.py +88 -0
- platform_api_python_client/models/deployment_status_response_v2.py +115 -0
- platform_api_python_client/models/deployment_type.py +43 -0
- platform_api_python_client/models/deployment_usage_value.py +89 -0
- platform_api_python_client/models/feedback_request.py +91 -0
- platform_api_python_client/models/get_c_serve_deployment_response.py +210 -0
- platform_api_python_client/models/get_cluster_response.py +89 -0
- platform_api_python_client/models/get_compute_v2_deployment_response.py +134 -0
- platform_api_python_client/models/get_deployment_log_response.py +94 -0
- platform_api_python_client/models/get_deployment_usage_response.py +95 -0
- platform_api_python_client/models/get_deployment_v2_response.py +111 -0
- platform_api_python_client/models/get_inference_v2_deployment_response.py +145 -0
- platform_api_python_client/models/hardware_instance_response.py +99 -0
- platform_api_python_client/models/health_status.py +40 -0
- platform_api_python_client/models/http_validation_error.py +95 -0
- platform_api_python_client/models/list_api_key_response.py +95 -0
- platform_api_python_client/models/list_c_serve_recipe_response.py +95 -0
- platform_api_python_client/models/list_daily_bill_response.py +95 -0
- platform_api_python_client/models/list_get_cluster_response.py +95 -0
- platform_api_python_client/models/list_get_deployment_v2_response.py +95 -0
- platform_api_python_client/models/list_hardware_instance_response.py +95 -0
- platform_api_python_client/models/list_payment_method_response.py +87 -0
- platform_api_python_client/models/list_prebuilt_image_response.py +95 -0
- platform_api_python_client/models/metric.py +38 -0
- platform_api_python_client/models/prebuilt_image_response.py +94 -0
- platform_api_python_client/models/validation_error.py +99 -0
- platform_api_python_client/models/validation_error_loc_inner.py +138 -0
- platform_api_python_client/py.typed +0 -0
- platform_api_python_client/rest.py +257 -0
- platform_api_python_client-0.1.0.dist-info/METADATA +16 -0
- platform_api_python_client-0.1.0.dist-info/RECORD +59 -0
- platform_api_python_client-0.1.0.dist-info/WHEEL +5 -0
- platform_api_python_client-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -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
|