From 71eff8550e28316e0edb11490d2d516421d11900 Mon Sep 17 00:00:00 2001 From: Michael Shin Date: Wed, 13 Nov 2024 14:36:33 -0500 Subject: [PATCH] Fixed package name --- .openapi-generator/FILES | 154 +++----- README.md | 4 +- docs/APIKeyRequest.md | 2 +- docs/APIKeyResponse.md | 2 +- docs/CServeRecipeInput.md | 2 +- docs/CServeRecipeOutput.md | 2 +- docs/CServeRecipePerf.md | 2 +- docs/CServeRecipeResponse.md | 2 +- docs/CreateCServeDeploymentRequest.md | 2 +- docs/CreateCServeDeploymentResponse.md | 2 +- docs/CreateCheckoutRequest.md | 2 +- docs/CreateCheckoutResponse.md | 2 +- docs/CreateComputeDeploymentRequest.md | 2 +- docs/CreateComputeDeploymentResponse.md | 2 +- docs/CreateInferenceDeploymentRequest.md | 2 +- docs/CreateInferenceDeploymentResponse.md | 2 +- docs/CreditsResponse.md | 2 +- docs/DailyBillResponse.md | 2 +- docs/DeploymentStatusRequest.md | 2 +- docs/DeploymentStatusResponse.md | 2 +- docs/DeploymentUsageValue.md | 2 +- docs/EXTERNALApi.md | 372 +++++++++--------- docs/GetCServeDeploymentResponse.md | 2 +- docs/GetClusterResponse.md | 2 +- docs/GetComputeDeploymentResponse.md | 2 +- docs/GetDeploymentLogResponse.md | 2 +- docs/GetDeploymentResponse.md | 2 +- docs/GetDeploymentUsageResponse.md | 2 +- docs/GetInferenceDeploymentResponse.md | 2 +- docs/GetPaymentsResponse.md | 2 +- docs/HTTPValidationError.md | 2 +- docs/HardwareInstanceResponse.md | 2 +- docs/ListAPIKeyResponse.md | 2 +- docs/ListCServeRecipeResponse.md | 2 +- docs/ListDailyBillResponse.md | 2 +- docs/ListGetClusterResponse.md | 2 +- docs/ListGetDeploymentResponse.md | 2 +- docs/ListHardwareInstanceResponse.md | 2 +- docs/ListPrebuiltImageResponse.md | 2 +- docs/PrebuiltImageResponse.md | 2 +- docs/UserSupportEmailRequest.md | 2 +- docs/ValidationError.md | 2 +- docs/ValidationErrorLocInner.md | 2 +- platform_api_external_client/__init__.py | 77 ---- platform_api_external_client/api/__init__.py | 5 - .../models/__init__.py | 60 --- platform_api_python_client/__init__.py | 77 ++++ platform_api_python_client/api/__init__.py | 5 + .../api/external_api.py | 66 ++-- .../api_client.py | 12 +- .../api_response.py | 0 .../configuration.py | 4 +- .../exceptions.py | 0 platform_api_python_client/models/__init__.py | 60 +++ .../models/api_key_request.py | 0 .../models/api_key_response.py | 0 .../models/c_serve_recipe_input.py | 0 .../models/c_serve_recipe_output.py | 0 .../models/c_serve_recipe_perf.py | 2 +- .../models/c_serve_recipe_response.py | 2 +- .../create_c_serve_deployment_request.py | 2 +- .../create_c_serve_deployment_response.py | 0 .../models/create_checkout_request.py | 0 .../models/create_checkout_response.py | 0 .../create_compute_deployment_request.py | 0 .../create_compute_deployment_response.py | 0 .../create_inference_deployment_request.py | 0 .../create_inference_deployment_response.py | 0 .../models/credits_response.py | 0 .../models/daily_bill_response.py | 0 .../models/deployment_status.py | 0 .../models/deployment_status_request.py | 2 +- .../models/deployment_status_response.py | 6 +- .../models/deployment_type.py | 0 .../models/deployment_usage_value.py | 0 .../models/get_c_serve_deployment_response.py | 4 +- .../models/get_cluster_response.py | 0 .../models/get_compute_deployment_response.py | 4 +- .../models/get_deployment_log_response.py | 0 .../models/get_deployment_response.py | 4 +- .../models/get_deployment_usage_response.py | 2 +- .../get_inference_deployment_response.py | 4 +- .../models/get_payments_response.py | 0 .../models/hardware_instance_response.py | 0 .../models/http_validation_error.py | 2 +- .../models/list_api_key_response.py | 2 +- .../models/list_c_serve_recipe_response.py | 2 +- .../models/list_daily_bill_response.py | 2 +- .../models/list_get_cluster_response.py | 2 +- .../models/list_get_deployment_response.py | 2 +- .../models/list_hardware_instance_response.py | 2 +- .../models/list_prebuilt_image_response.py | 2 +- .../models/metric.py | 0 .../models/prebuilt_image_response.py | 2 +- .../models/service_status.py | 0 .../models/user_support_email_request.py | 0 .../models/validation_error.py | 2 +- .../models/validation_error_loc_inner.py | 0 .../py.typed | 0 .../rest.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- test/test_api_key_request.py | 2 +- test/test_api_key_response.py | 2 +- test/test_c_serve_recipe_input.py | 2 +- test/test_c_serve_recipe_output.py | 2 +- test/test_c_serve_recipe_perf.py | 6 +- test/test_c_serve_recipe_response.py | 26 +- .../test_create_c_serve_deployment_request.py | 6 +- ...test_create_c_serve_deployment_response.py | 2 +- test/test_create_checkout_request.py | 2 +- test/test_create_checkout_response.py | 2 +- .../test_create_compute_deployment_request.py | 2 +- ...test_create_compute_deployment_response.py | 2 +- ...est_create_inference_deployment_request.py | 2 +- ...st_create_inference_deployment_response.py | 2 +- test/test_credits_response.py | 2 +- test/test_daily_bill_response.py | 2 +- test/test_deployment_status.py | 2 +- test/test_deployment_status_request.py | 2 +- test/test_deployment_status_response.py | 2 +- test/test_deployment_type.py | 2 +- test/test_deployment_usage_value.py | 2 +- test/test_external_api.py | 2 +- test/test_get_c_serve_deployment_response.py | 2 +- test/test_get_cluster_response.py | 2 +- test/test_get_compute_deployment_response.py | 2 +- test/test_get_deployment_log_response.py | 2 +- test/test_get_deployment_response.py | 2 +- test/test_get_deployment_usage_response.py | 6 +- .../test_get_inference_deployment_response.py | 2 +- test/test_get_payments_response.py | 2 +- test/test_hardware_instance_response.py | 2 +- test/test_http_validation_error.py | 4 +- test/test_list_api_key_response.py | 6 +- test/test_list_c_serve_recipe_response.py | 22 +- test/test_list_daily_bill_response.py | 6 +- test/test_list_get_cluster_response.py | 6 +- test/test_list_get_deployment_response.py | 6 +- test/test_list_hardware_instance_response.py | 6 +- test/test_list_prebuilt_image_response.py | 6 +- test/test_metric.py | 2 +- test/test_prebuilt_image_response.py | 2 +- test/test_service_status.py | 2 +- test/test_user_support_email_request.py | 2 +- test/test_validation_error.py | 2 +- test/test_validation_error_loc_inner.py | 2 +- 147 files changed, 580 insertions(+), 626 deletions(-) delete mode 100644 platform_api_external_client/__init__.py delete mode 100644 platform_api_external_client/api/__init__.py delete mode 100644 platform_api_external_client/models/__init__.py create mode 100644 platform_api_python_client/__init__.py create mode 100644 platform_api_python_client/api/__init__.py rename {platform_api_external_client => platform_api_python_client}/api/external_api.py (98%) rename {platform_api_external_client => platform_api_python_client}/api_client.py (98%) rename {platform_api_external_client => platform_api_python_client}/api_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/configuration.py (99%) rename {platform_api_external_client => platform_api_python_client}/exceptions.py (100%) create mode 100644 platform_api_python_client/models/__init__.py rename {platform_api_external_client => platform_api_python_client}/models/api_key_request.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/api_key_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/c_serve_recipe_input.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/c_serve_recipe_output.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/c_serve_recipe_perf.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/c_serve_recipe_response.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/create_c_serve_deployment_request.py (98%) rename {platform_api_external_client => platform_api_python_client}/models/create_c_serve_deployment_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/create_checkout_request.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/create_checkout_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/create_compute_deployment_request.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/create_compute_deployment_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/create_inference_deployment_request.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/create_inference_deployment_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/credits_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/daily_bill_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/deployment_status.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/deployment_status_request.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/deployment_status_response.py (93%) rename {platform_api_external_client => platform_api_python_client}/models/deployment_type.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/deployment_usage_value.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/get_c_serve_deployment_response.py (98%) rename {platform_api_external_client => platform_api_python_client}/models/get_cluster_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/get_compute_deployment_response.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/get_deployment_log_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/get_deployment_response.py (95%) rename {platform_api_external_client => platform_api_python_client}/models/get_deployment_usage_response.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/get_inference_deployment_response.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/get_payments_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/hardware_instance_response.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/http_validation_error.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/list_api_key_response.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/list_c_serve_recipe_response.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/list_daily_bill_response.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/list_get_cluster_response.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/list_get_deployment_response.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/list_hardware_instance_response.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/list_prebuilt_image_response.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/metric.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/prebuilt_image_response.py (97%) rename {platform_api_external_client => platform_api_python_client}/models/service_status.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/user_support_email_request.py (100%) rename {platform_api_external_client => platform_api_python_client}/models/validation_error.py (96%) rename {platform_api_external_client => platform_api_python_client}/models/validation_error_loc_inner.py (100%) rename {platform_api_external_client => platform_api_python_client}/py.typed (100%) rename {platform_api_external_client => platform_api_python_client}/rest.py (99%) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 9304635..d4d5187 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,7 +1,6 @@ .github/workflows/python.yml .gitignore .gitlab-ci.yml -.openapi-generator-ignore .travis.yml README.md docs/APIKeyRequest.md @@ -50,109 +49,64 @@ docs/UserSupportEmailRequest.md docs/ValidationError.md docs/ValidationErrorLocInner.md git_push.sh -platform_api_external_client/__init__.py -platform_api_external_client/api/__init__.py -platform_api_external_client/api/external_api.py -platform_api_external_client/api_client.py -platform_api_external_client/api_response.py -platform_api_external_client/configuration.py -platform_api_external_client/exceptions.py -platform_api_external_client/models/__init__.py -platform_api_external_client/models/api_key_request.py -platform_api_external_client/models/api_key_response.py -platform_api_external_client/models/c_serve_recipe_input.py -platform_api_external_client/models/c_serve_recipe_output.py -platform_api_external_client/models/c_serve_recipe_perf.py -platform_api_external_client/models/c_serve_recipe_response.py -platform_api_external_client/models/create_c_serve_deployment_request.py -platform_api_external_client/models/create_c_serve_deployment_response.py -platform_api_external_client/models/create_checkout_request.py -platform_api_external_client/models/create_checkout_response.py -platform_api_external_client/models/create_compute_deployment_request.py -platform_api_external_client/models/create_compute_deployment_response.py -platform_api_external_client/models/create_inference_deployment_request.py -platform_api_external_client/models/create_inference_deployment_response.py -platform_api_external_client/models/credits_response.py -platform_api_external_client/models/daily_bill_response.py -platform_api_external_client/models/deployment_status.py -platform_api_external_client/models/deployment_status_request.py -platform_api_external_client/models/deployment_status_response.py -platform_api_external_client/models/deployment_type.py -platform_api_external_client/models/deployment_usage_value.py -platform_api_external_client/models/get_c_serve_deployment_response.py -platform_api_external_client/models/get_cluster_response.py -platform_api_external_client/models/get_compute_deployment_response.py -platform_api_external_client/models/get_deployment_log_response.py -platform_api_external_client/models/get_deployment_response.py -platform_api_external_client/models/get_deployment_usage_response.py -platform_api_external_client/models/get_inference_deployment_response.py -platform_api_external_client/models/get_payments_response.py -platform_api_external_client/models/hardware_instance_response.py -platform_api_external_client/models/http_validation_error.py -platform_api_external_client/models/list_api_key_response.py -platform_api_external_client/models/list_c_serve_recipe_response.py -platform_api_external_client/models/list_daily_bill_response.py -platform_api_external_client/models/list_get_cluster_response.py -platform_api_external_client/models/list_get_deployment_response.py -platform_api_external_client/models/list_hardware_instance_response.py -platform_api_external_client/models/list_prebuilt_image_response.py -platform_api_external_client/models/metric.py -platform_api_external_client/models/prebuilt_image_response.py -platform_api_external_client/models/service_status.py -platform_api_external_client/models/user_support_email_request.py -platform_api_external_client/models/validation_error.py -platform_api_external_client/models/validation_error_loc_inner.py -platform_api_external_client/py.typed -platform_api_external_client/rest.py +platform_api_python_client/__init__.py +platform_api_python_client/api/__init__.py +platform_api_python_client/api/external_api.py +platform_api_python_client/api_client.py +platform_api_python_client/api_response.py +platform_api_python_client/configuration.py +platform_api_python_client/exceptions.py +platform_api_python_client/models/__init__.py +platform_api_python_client/models/api_key_request.py +platform_api_python_client/models/api_key_response.py +platform_api_python_client/models/c_serve_recipe_input.py +platform_api_python_client/models/c_serve_recipe_output.py +platform_api_python_client/models/c_serve_recipe_perf.py +platform_api_python_client/models/c_serve_recipe_response.py +platform_api_python_client/models/create_c_serve_deployment_request.py +platform_api_python_client/models/create_c_serve_deployment_response.py +platform_api_python_client/models/create_checkout_request.py +platform_api_python_client/models/create_checkout_response.py +platform_api_python_client/models/create_compute_deployment_request.py +platform_api_python_client/models/create_compute_deployment_response.py +platform_api_python_client/models/create_inference_deployment_request.py +platform_api_python_client/models/create_inference_deployment_response.py +platform_api_python_client/models/credits_response.py +platform_api_python_client/models/daily_bill_response.py +platform_api_python_client/models/deployment_status.py +platform_api_python_client/models/deployment_status_request.py +platform_api_python_client/models/deployment_status_response.py +platform_api_python_client/models/deployment_type.py +platform_api_python_client/models/deployment_usage_value.py +platform_api_python_client/models/get_c_serve_deployment_response.py +platform_api_python_client/models/get_cluster_response.py +platform_api_python_client/models/get_compute_deployment_response.py +platform_api_python_client/models/get_deployment_log_response.py +platform_api_python_client/models/get_deployment_response.py +platform_api_python_client/models/get_deployment_usage_response.py +platform_api_python_client/models/get_inference_deployment_response.py +platform_api_python_client/models/get_payments_response.py +platform_api_python_client/models/hardware_instance_response.py +platform_api_python_client/models/http_validation_error.py +platform_api_python_client/models/list_api_key_response.py +platform_api_python_client/models/list_c_serve_recipe_response.py +platform_api_python_client/models/list_daily_bill_response.py +platform_api_python_client/models/list_get_cluster_response.py +platform_api_python_client/models/list_get_deployment_response.py +platform_api_python_client/models/list_hardware_instance_response.py +platform_api_python_client/models/list_prebuilt_image_response.py +platform_api_python_client/models/metric.py +platform_api_python_client/models/prebuilt_image_response.py +platform_api_python_client/models/service_status.py +platform_api_python_client/models/user_support_email_request.py +platform_api_python_client/models/validation_error.py +platform_api_python_client/models/validation_error_loc_inner.py +platform_api_python_client/py.typed +platform_api_python_client/rest.py pyproject.toml requirements.txt setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_api_key_request.py -test/test_api_key_response.py -test/test_c_serve_recipe_input.py -test/test_c_serve_recipe_output.py -test/test_c_serve_recipe_perf.py -test/test_c_serve_recipe_response.py -test/test_create_c_serve_deployment_request.py -test/test_create_c_serve_deployment_response.py -test/test_create_checkout_request.py -test/test_create_checkout_response.py -test/test_create_compute_deployment_request.py -test/test_create_compute_deployment_response.py -test/test_create_inference_deployment_request.py -test/test_create_inference_deployment_response.py -test/test_credits_response.py -test/test_daily_bill_response.py -test/test_deployment_status.py -test/test_deployment_status_request.py -test/test_deployment_status_response.py -test/test_deployment_type.py -test/test_deployment_usage_value.py -test/test_external_api.py -test/test_get_c_serve_deployment_response.py -test/test_get_cluster_response.py -test/test_get_compute_deployment_response.py -test/test_get_deployment_log_response.py -test/test_get_deployment_response.py -test/test_get_deployment_usage_response.py -test/test_get_inference_deployment_response.py -test/test_get_payments_response.py -test/test_hardware_instance_response.py -test/test_http_validation_error.py -test/test_list_api_key_response.py -test/test_list_c_serve_recipe_response.py -test/test_list_daily_bill_response.py -test/test_list_get_cluster_response.py -test/test_list_get_deployment_response.py -test/test_list_hardware_instance_response.py -test/test_list_prebuilt_image_response.py -test/test_metric.py -test/test_prebuilt_image_response.py -test/test_service_status.py -test/test_user_support_email_request.py -test/test_validation_error.py -test/test_validation_error_loc_inner.py tox.ini diff --git a/README.md b/README.md index 357aa6d..84e97df 100644 --- a/README.md +++ b/README.md @@ -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: 0.3.0 +- Package version: 0.3.1 - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen @@ -76,7 +76,7 @@ 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) - feedback_request = platform_api_python_client.FeedbackRequest() # FeedbackRequest | + user_support_email_request = platform_api_python_client.UserSupportEmailRequest() # UserSupportEmailRequest | try: # Add User Request diff --git a/docs/APIKeyRequest.md b/docs/APIKeyRequest.md index 1d70c03..30fac6c 100644 --- a/docs/APIKeyRequest.md +++ b/docs/APIKeyRequest.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.api_key_request import APIKeyRequest +from platform_api_python_client.models.api_key_request import APIKeyRequest # TODO update the JSON string below json = "{}" diff --git a/docs/APIKeyResponse.md b/docs/APIKeyResponse.md index 81edc1d..53df35e 100644 --- a/docs/APIKeyResponse.md +++ b/docs/APIKeyResponse.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.api_key_response import APIKeyResponse +from platform_api_python_client.models.api_key_response import APIKeyResponse # TODO update the JSON string below json = "{}" diff --git a/docs/CServeRecipeInput.md b/docs/CServeRecipeInput.md index 357fb55..e886926 100644 --- a/docs/CServeRecipeInput.md +++ b/docs/CServeRecipeInput.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.c_serve_recipe_input import CServeRecipeInput +from platform_api_python_client.models.c_serve_recipe_input import CServeRecipeInput # TODO update the JSON string below json = "{}" diff --git a/docs/CServeRecipeOutput.md b/docs/CServeRecipeOutput.md index 4a39890..d0aa70e 100644 --- a/docs/CServeRecipeOutput.md +++ b/docs/CServeRecipeOutput.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.c_serve_recipe_output import CServeRecipeOutput +from platform_api_python_client.models.c_serve_recipe_output import CServeRecipeOutput # TODO update the JSON string below json = "{}" diff --git a/docs/CServeRecipePerf.md b/docs/CServeRecipePerf.md index 55d6262..dcf88b3 100644 --- a/docs/CServeRecipePerf.md +++ b/docs/CServeRecipePerf.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.c_serve_recipe_perf import CServeRecipePerf +from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf # TODO update the JSON string below json = "{}" diff --git a/docs/CServeRecipeResponse.md b/docs/CServeRecipeResponse.md index fc1ec81..4a42fda 100644 --- a/docs/CServeRecipeResponse.md +++ b/docs/CServeRecipeResponse.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.c_serve_recipe_response import CServeRecipeResponse +from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse # TODO update the JSON string below json = "{}" diff --git a/docs/CreateCServeDeploymentRequest.md b/docs/CreateCServeDeploymentRequest.md index 781c766..fa8f19a 100644 --- a/docs/CreateCServeDeploymentRequest.md +++ b/docs/CreateCServeDeploymentRequest.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest +from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest # TODO update the JSON string below json = "{}" diff --git a/docs/CreateCServeDeploymentResponse.md b/docs/CreateCServeDeploymentResponse.md index c92ca57..4d5de2e 100644 --- a/docs/CreateCServeDeploymentResponse.md +++ b/docs/CreateCServeDeploymentResponse.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse +from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/CreateCheckoutRequest.md b/docs/CreateCheckoutRequest.md index 809c9d0..90cddcf 100644 --- a/docs/CreateCheckoutRequest.md +++ b/docs/CreateCheckoutRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest +from platform_api_python_client.models.create_checkout_request import CreateCheckoutRequest # TODO update the JSON string below json = "{}" diff --git a/docs/CreateCheckoutResponse.md b/docs/CreateCheckoutResponse.md index d423012..514af5e 100644 --- a/docs/CreateCheckoutResponse.md +++ b/docs/CreateCheckoutResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse +from platform_api_python_client.models.create_checkout_response import CreateCheckoutResponse # TODO update the JSON string below json = "{}" diff --git a/docs/CreateComputeDeploymentRequest.md b/docs/CreateComputeDeploymentRequest.md index bc74014..b7fd54c 100644 --- a/docs/CreateComputeDeploymentRequest.md +++ b/docs/CreateComputeDeploymentRequest.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest +from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest # TODO update the JSON string below json = "{}" diff --git a/docs/CreateComputeDeploymentResponse.md b/docs/CreateComputeDeploymentResponse.md index b350984..298b492 100644 --- a/docs/CreateComputeDeploymentResponse.md +++ b/docs/CreateComputeDeploymentResponse.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse +from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/CreateInferenceDeploymentRequest.md b/docs/CreateInferenceDeploymentRequest.md index c43719c..d3bec7e 100644 --- a/docs/CreateInferenceDeploymentRequest.md +++ b/docs/CreateInferenceDeploymentRequest.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest +from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest # TODO update the JSON string below json = "{}" diff --git a/docs/CreateInferenceDeploymentResponse.md b/docs/CreateInferenceDeploymentResponse.md index ee4fe15..54fcc6b 100644 --- a/docs/CreateInferenceDeploymentResponse.md +++ b/docs/CreateInferenceDeploymentResponse.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse +from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/CreditsResponse.md b/docs/CreditsResponse.md index 27ceca4..7e13a51 100644 --- a/docs/CreditsResponse.md +++ b/docs/CreditsResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.credits_response import CreditsResponse +from platform_api_python_client.models.credits_response import CreditsResponse # TODO update the JSON string below json = "{}" diff --git a/docs/DailyBillResponse.md b/docs/DailyBillResponse.md index 87c552f..547c826 100644 --- a/docs/DailyBillResponse.md +++ b/docs/DailyBillResponse.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.daily_bill_response import DailyBillResponse +from platform_api_python_client.models.daily_bill_response import DailyBillResponse # TODO update the JSON string below json = "{}" diff --git a/docs/DeploymentStatusRequest.md b/docs/DeploymentStatusRequest.md index 8421924..866a8db 100644 --- a/docs/DeploymentStatusRequest.md +++ b/docs/DeploymentStatusRequest.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest +from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest # TODO update the JSON string below json = "{}" diff --git a/docs/DeploymentStatusResponse.md b/docs/DeploymentStatusResponse.md index 967f2b6..e6f2239 100644 --- a/docs/DeploymentStatusResponse.md +++ b/docs/DeploymentStatusResponse.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse # TODO update the JSON string below json = "{}" diff --git a/docs/DeploymentUsageValue.md b/docs/DeploymentUsageValue.md index 222fb5f..4916f19 100644 --- a/docs/DeploymentUsageValue.md +++ b/docs/DeploymentUsageValue.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.deployment_usage_value import DeploymentUsageValue +from platform_api_python_client.models.deployment_usage_value import DeploymentUsageValue # TODO update the JSON string below json = "{}" diff --git a/docs/EXTERNALApi.md b/docs/EXTERNALApi.md index 64e103e..c968860 100644 --- a/docs/EXTERNALApi.md +++ b/docs/EXTERNALApi.md @@ -1,4 +1,4 @@ -# platform_api_external_client.EXTERNALApi +# platform_api_python_client.EXTERNALApi All URIs are relative to *http://localhost* @@ -40,14 +40,14 @@ Add User Request * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest -from platform_api_external_client.rest import ApiException +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -57,15 +57,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - user_support_email_request = platform_api_external_client.UserSupportEmailRequest() # UserSupportEmailRequest | + api_instance = platform_api_python_client.EXTERNALApi(api_client) + user_support_email_request = platform_api_python_client.UserSupportEmailRequest() # UserSupportEmailRequest | try: # Add User Request @@ -117,15 +117,15 @@ Create Api Key * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.api_key_request import APIKeyRequest -from platform_api_external_client.models.api_key_response import APIKeyResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.api_key_request import APIKeyRequest +from platform_api_python_client.models.api_key_response import APIKeyResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -135,15 +135,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - api_key_request = platform_api_external_client.APIKeyRequest() # APIKeyRequest | + api_instance = platform_api_python_client.EXTERNALApi(api_client) + api_key_request = platform_api_python_client.APIKeyRequest() # APIKeyRequest | try: # Create Api Key @@ -195,15 +195,15 @@ Create Checkout * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest -from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.create_checkout_request import CreateCheckoutRequest +from platform_api_python_client.models.create_checkout_response import CreateCheckoutResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -213,15 +213,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - create_checkout_request = platform_api_external_client.CreateCheckoutRequest() # CreateCheckoutRequest | + api_instance = platform_api_python_client.EXTERNALApi(api_client) + create_checkout_request = platform_api_python_client.CreateCheckoutRequest() # CreateCheckoutRequest | try: # Create Checkout @@ -273,15 +273,15 @@ Create Compute Deployment * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest -from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest +from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -291,15 +291,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - create_compute_deployment_request = platform_api_external_client.CreateComputeDeploymentRequest() # CreateComputeDeploymentRequest | + api_instance = platform_api_python_client.EXTERNALApi(api_client) + create_compute_deployment_request = platform_api_python_client.CreateComputeDeploymentRequest() # CreateComputeDeploymentRequest | try: # Create Compute Deployment @@ -351,15 +351,15 @@ Create Cserve Deployment * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest -from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest +from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -369,15 +369,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - create_c_serve_deployment_request = platform_api_external_client.CreateCServeDeploymentRequest() # CreateCServeDeploymentRequest | + api_instance = platform_api_python_client.EXTERNALApi(api_client) + create_c_serve_deployment_request = platform_api_python_client.CreateCServeDeploymentRequest() # CreateCServeDeploymentRequest | try: # Create Cserve Deployment @@ -429,15 +429,15 @@ Create Inference Deployment * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest -from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest +from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -447,15 +447,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - create_inference_deployment_request = platform_api_external_client.CreateInferenceDeploymentRequest() # CreateInferenceDeploymentRequest | + api_instance = platform_api_python_client.EXTERNALApi(api_client) + create_inference_deployment_request = platform_api_python_client.CreateInferenceDeploymentRequest() # CreateInferenceDeploymentRequest | try: # Create Inference Deployment @@ -507,13 +507,13 @@ Delete Api Key * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.rest import ApiException +import platform_api_python_client +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -523,14 +523,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) id = 'id_example' # str | try: @@ -583,14 +583,14 @@ Get Api Keys * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -600,14 +600,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) try: # Get Api Keys @@ -655,14 +655,14 @@ Get Clusters * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -672,14 +672,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) try: # Get Clusters @@ -727,14 +727,14 @@ Get Compute Deployment * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.get_compute_deployment_response import GetComputeDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -744,14 +744,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | try: @@ -804,14 +804,14 @@ Get Credits * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.credits_response import CreditsResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.credits_response import CreditsResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -821,14 +821,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) try: # Get Credits @@ -876,14 +876,14 @@ Get Cserve Deployment * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -893,14 +893,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | try: @@ -953,14 +953,14 @@ Get Cserve Recipe * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -970,14 +970,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) model = 'model_example' # str | (optional) cluster_id = 56 # int | (optional) @@ -1032,14 +1032,14 @@ Get Deployment Logs * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1049,14 +1049,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | start_time = 56 # int | end_time = 56 # int | @@ -1115,14 +1115,14 @@ Get Deployment Status * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1132,14 +1132,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | try: @@ -1192,15 +1192,15 @@ Get Deployments * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.deployment_type import DeploymentType -from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.list_get_deployment_response import ListGetDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1210,17 +1210,17 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) offset = 56 # int | (optional) limit = 56 # int | (optional) - type = platform_api_external_client.DeploymentType() # DeploymentType | (optional) + type = platform_api_python_client.DeploymentType() # DeploymentType | (optional) search_query = 'search_query_example' # str | (optional) try: @@ -1276,14 +1276,14 @@ Get Hardware Instances * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1293,14 +1293,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) cluster_id = 56 # int | try: @@ -1353,14 +1353,14 @@ Get Inference Deployment * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1370,14 +1370,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | try: @@ -1430,14 +1430,14 @@ Get Payments * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.get_payments_response import GetPaymentsResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.get_payments_response import GetPaymentsResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1447,14 +1447,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) limit = 10 # int | (optional) (default to 10) starting_after = 'starting_after_example' # str | (optional) @@ -1509,15 +1509,15 @@ Get Prebuilt Images * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.deployment_type import DeploymentType -from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1527,15 +1527,15 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) - type = platform_api_external_client.DeploymentType() # DeploymentType | (optional) + api_instance = platform_api_python_client.EXTERNALApi(api_client) + type = platform_api_python_client.DeploymentType() # DeploymentType | (optional) try: # Get Prebuilt Images @@ -1587,14 +1587,14 @@ Get Usage * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1604,14 +1604,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) start_date = '2013-10-20' # date | end_date = '2013-10-20' # date | @@ -1666,15 +1666,15 @@ Get Usage * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse -from platform_api_external_client.models.metric import Metric -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse +from platform_api_python_client.models.metric import Metric +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1684,16 +1684,16 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | - metric = platform_api_external_client.Metric() # Metric | + metric = platform_api_python_client.Metric() # Metric | duration = 56 # int | end_time = 56 # int | (optional) @@ -1750,13 +1750,13 @@ Setup Stripe Customer * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.rest import ApiException +import platform_api_python_client +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1766,14 +1766,14 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) try: # Setup Stripe Customer @@ -1821,15 +1821,15 @@ Update Deployment Status * Bearer Authentication (HTTPBearer): ```python -import platform_api_external_client -from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse -from platform_api_external_client.rest import ApiException +import platform_api_python_client +from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse +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_external_client.Configuration( +configuration = platform_api_python_client.Configuration( host = "http://localhost" ) @@ -1839,16 +1839,16 @@ configuration = platform_api_external_client.Configuration( # satisfies your auth use case. # Configure Bearer authorization: HTTPBearer -configuration = platform_api_external_client.Configuration( +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_external_client.ApiClient(configuration) as api_client: +with platform_api_python_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = platform_api_external_client.EXTERNALApi(api_client) + api_instance = platform_api_python_client.EXTERNALApi(api_client) deployment_id = 56 # int | - deployment_status_request = platform_api_external_client.DeploymentStatusRequest() # DeploymentStatusRequest | + deployment_status_request = platform_api_python_client.DeploymentStatusRequest() # DeploymentStatusRequest | try: # Update Deployment Status diff --git a/docs/GetCServeDeploymentResponse.md b/docs/GetCServeDeploymentResponse.md index 1bc7b9e..06d62b3 100644 --- a/docs/GetCServeDeploymentResponse.md +++ b/docs/GetCServeDeploymentResponse.md @@ -43,7 +43,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse +from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetClusterResponse.md b/docs/GetClusterResponse.md index 6c0d908..dfe90e9 100644 --- a/docs/GetClusterResponse.md +++ b/docs/GetClusterResponse.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_cluster_response import GetClusterResponse +from platform_api_python_client.models.get_cluster_response import GetClusterResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetComputeDeploymentResponse.md b/docs/GetComputeDeploymentResponse.md index 9a431d9..0a1876b 100644 --- a/docs/GetComputeDeploymentResponse.md +++ b/docs/GetComputeDeploymentResponse.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse +from platform_api_python_client.models.get_compute_deployment_response import GetComputeDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetDeploymentLogResponse.md b/docs/GetDeploymentLogResponse.md index 255d50a..a75aa7d 100644 --- a/docs/GetDeploymentLogResponse.md +++ b/docs/GetDeploymentLogResponse.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse +from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetDeploymentResponse.md b/docs/GetDeploymentResponse.md index b58d0bd..84c0fdd 100644 --- a/docs/GetDeploymentResponse.md +++ b/docs/GetDeploymentResponse.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_deployment_response import GetDeploymentResponse +from platform_api_python_client.models.get_deployment_response import GetDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetDeploymentUsageResponse.md b/docs/GetDeploymentUsageResponse.md index 133e0d8..99330d3 100644 --- a/docs/GetDeploymentUsageResponse.md +++ b/docs/GetDeploymentUsageResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse +from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetInferenceDeploymentResponse.md b/docs/GetInferenceDeploymentResponse.md index 89dd654..023b9c0 100644 --- a/docs/GetInferenceDeploymentResponse.md +++ b/docs/GetInferenceDeploymentResponse.md @@ -27,7 +27,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse +from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/GetPaymentsResponse.md b/docs/GetPaymentsResponse.md index bfdfe8b..8266139 100644 --- a/docs/GetPaymentsResponse.md +++ b/docs/GetPaymentsResponse.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.get_payments_response import GetPaymentsResponse +from platform_api_python_client.models.get_payments_response import GetPaymentsResponse # TODO update the JSON string below json = "{}" diff --git a/docs/HTTPValidationError.md b/docs/HTTPValidationError.md index 27a180d..bbb693a 100644 --- a/docs/HTTPValidationError.md +++ b/docs/HTTPValidationError.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.http_validation_error import HTTPValidationError +from platform_api_python_client.models.http_validation_error import HTTPValidationError # TODO update the JSON string below json = "{}" diff --git a/docs/HardwareInstanceResponse.md b/docs/HardwareInstanceResponse.md index ab4239d..8da7205 100644 --- a/docs/HardwareInstanceResponse.md +++ b/docs/HardwareInstanceResponse.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.hardware_instance_response import HardwareInstanceResponse +from platform_api_python_client.models.hardware_instance_response import HardwareInstanceResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListAPIKeyResponse.md b/docs/ListAPIKeyResponse.md index ed9e9bd..46ebe91 100644 --- a/docs/ListAPIKeyResponse.md +++ b/docs/ListAPIKeyResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse +from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListCServeRecipeResponse.md b/docs/ListCServeRecipeResponse.md index 322730d..aaf6e01 100644 --- a/docs/ListCServeRecipeResponse.md +++ b/docs/ListCServeRecipeResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse +from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListDailyBillResponse.md b/docs/ListDailyBillResponse.md index 977e77b..4f8d485 100644 --- a/docs/ListDailyBillResponse.md +++ b/docs/ListDailyBillResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse +from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListGetClusterResponse.md b/docs/ListGetClusterResponse.md index e7fe700..08e50d4 100644 --- a/docs/ListGetClusterResponse.md +++ b/docs/ListGetClusterResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse +from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListGetDeploymentResponse.md b/docs/ListGetDeploymentResponse.md index dd37f07..151fd73 100644 --- a/docs/ListGetDeploymentResponse.md +++ b/docs/ListGetDeploymentResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse +from platform_api_python_client.models.list_get_deployment_response import ListGetDeploymentResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListHardwareInstanceResponse.md b/docs/ListHardwareInstanceResponse.md index 57991ea..5674076 100644 --- a/docs/ListHardwareInstanceResponse.md +++ b/docs/ListHardwareInstanceResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse +from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse # TODO update the JSON string below json = "{}" diff --git a/docs/ListPrebuiltImageResponse.md b/docs/ListPrebuiltImageResponse.md index be1a206..e8f851f 100644 --- a/docs/ListPrebuiltImageResponse.md +++ b/docs/ListPrebuiltImageResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse +from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse # TODO update the JSON string below json = "{}" diff --git a/docs/PrebuiltImageResponse.md b/docs/PrebuiltImageResponse.md index 10cc272..f318dff 100644 --- a/docs/PrebuiltImageResponse.md +++ b/docs/PrebuiltImageResponse.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.prebuilt_image_response import PrebuiltImageResponse +from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse # TODO update the JSON string below json = "{}" diff --git a/docs/UserSupportEmailRequest.md b/docs/UserSupportEmailRequest.md index ad69f7d..e3a48d7 100644 --- a/docs/UserSupportEmailRequest.md +++ b/docs/UserSupportEmailRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest +from platform_api_python_client.models.user_support_email_request import UserSupportEmailRequest # TODO update the JSON string below json = "{}" diff --git a/docs/ValidationError.md b/docs/ValidationError.md index 1f9bb98..0a9d146 100644 --- a/docs/ValidationError.md +++ b/docs/ValidationError.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.validation_error import ValidationError +from platform_api_python_client.models.validation_error import ValidationError # TODO update the JSON string below json = "{}" diff --git a/docs/ValidationErrorLocInner.md b/docs/ValidationErrorLocInner.md index 3966ece..cd238f4 100644 --- a/docs/ValidationErrorLocInner.md +++ b/docs/ValidationErrorLocInner.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ## Example ```python -from platform_api_external_client.models.validation_error_loc_inner import ValidationErrorLocInner +from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner # TODO update the JSON string below json = "{}" diff --git a/platform_api_external_client/__init__.py b/platform_api_external_client/__init__.py deleted file mode 100644 index fd06f80..0000000 --- a/platform_api_external_client/__init__.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - Platform External API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 0.1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -__version__ = "1.0.0" - -# import apis into sdk package -from platform_api_external_client.api.external_api import EXTERNALApi - -# import ApiClient -from platform_api_external_client.api_response import ApiResponse -from platform_api_external_client.api_client import ApiClient -from platform_api_external_client.configuration import Configuration -from platform_api_external_client.exceptions import OpenApiException -from platform_api_external_client.exceptions import ApiTypeError -from platform_api_external_client.exceptions import ApiValueError -from platform_api_external_client.exceptions import ApiKeyError -from platform_api_external_client.exceptions import ApiAttributeError -from platform_api_external_client.exceptions import ApiException - -# import models into sdk package -from platform_api_external_client.models.api_key_request import APIKeyRequest -from platform_api_external_client.models.api_key_response import APIKeyResponse -from platform_api_external_client.models.c_serve_recipe_input import CServeRecipeInput -from platform_api_external_client.models.c_serve_recipe_output import CServeRecipeOutput -from platform_api_external_client.models.c_serve_recipe_perf import CServeRecipePerf -from platform_api_external_client.models.c_serve_recipe_response import CServeRecipeResponse -from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest -from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse -from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest -from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse -from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest -from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse -from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest -from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse -from platform_api_external_client.models.credits_response import CreditsResponse -from platform_api_external_client.models.daily_bill_response import DailyBillResponse -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse -from platform_api_external_client.models.deployment_type import DeploymentType -from platform_api_external_client.models.deployment_usage_value import DeploymentUsageValue -from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse -from platform_api_external_client.models.get_cluster_response import GetClusterResponse -from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse -from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse -from platform_api_external_client.models.get_deployment_response import GetDeploymentResponse -from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse -from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse -from platform_api_external_client.models.get_payments_response import GetPaymentsResponse -from platform_api_external_client.models.http_validation_error import HTTPValidationError -from platform_api_external_client.models.hardware_instance_response import HardwareInstanceResponse -from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse -from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse -from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse -from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse -from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse -from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse -from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse -from platform_api_external_client.models.metric import Metric -from platform_api_external_client.models.prebuilt_image_response import PrebuiltImageResponse -from platform_api_external_client.models.service_status import ServiceStatus -from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest -from platform_api_external_client.models.validation_error import ValidationError -from platform_api_external_client.models.validation_error_loc_inner import ValidationErrorLocInner diff --git a/platform_api_external_client/api/__init__.py b/platform_api_external_client/api/__init__.py deleted file mode 100644 index 3d827f2..0000000 --- a/platform_api_external_client/api/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# flake8: noqa - -# import apis into api package -from platform_api_external_client.api.external_api import EXTERNALApi - diff --git a/platform_api_external_client/models/__init__.py b/platform_api_external_client/models/__init__.py deleted file mode 100644 index c6de543..0000000 --- a/platform_api_external_client/models/__init__.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - Platform External API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 0.1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -# import models into model package -from platform_api_external_client.models.api_key_request import APIKeyRequest -from platform_api_external_client.models.api_key_response import APIKeyResponse -from platform_api_external_client.models.c_serve_recipe_input import CServeRecipeInput -from platform_api_external_client.models.c_serve_recipe_output import CServeRecipeOutput -from platform_api_external_client.models.c_serve_recipe_perf import CServeRecipePerf -from platform_api_external_client.models.c_serve_recipe_response import CServeRecipeResponse -from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest -from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse -from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest -from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse -from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest -from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse -from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest -from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse -from platform_api_external_client.models.credits_response import CreditsResponse -from platform_api_external_client.models.daily_bill_response import DailyBillResponse -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse -from platform_api_external_client.models.deployment_type import DeploymentType -from platform_api_external_client.models.deployment_usage_value import DeploymentUsageValue -from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse -from platform_api_external_client.models.get_cluster_response import GetClusterResponse -from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse -from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse -from platform_api_external_client.models.get_deployment_response import GetDeploymentResponse -from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse -from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse -from platform_api_external_client.models.get_payments_response import GetPaymentsResponse -from platform_api_external_client.models.http_validation_error import HTTPValidationError -from platform_api_external_client.models.hardware_instance_response import HardwareInstanceResponse -from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse -from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse -from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse -from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse -from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse -from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse -from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse -from platform_api_external_client.models.metric import Metric -from platform_api_external_client.models.prebuilt_image_response import PrebuiltImageResponse -from platform_api_external_client.models.service_status import ServiceStatus -from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest -from platform_api_external_client.models.validation_error import ValidationError -from platform_api_external_client.models.validation_error_loc_inner import ValidationErrorLocInner diff --git a/platform_api_python_client/__init__.py b/platform_api_python_client/__init__.py new file mode 100644 index 0000000..69e913e --- /dev/null +++ b/platform_api_python_client/__init__.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +# flake8: noqa + +""" + Platform External API + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + + The version of the OpenAPI document: 0.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +__version__ = "0.3.1" + +# import apis into sdk package +from platform_api_python_client.api.external_api import EXTERNALApi + +# import ApiClient +from platform_api_python_client.api_response import ApiResponse +from platform_api_python_client.api_client import ApiClient +from platform_api_python_client.configuration import Configuration +from platform_api_python_client.exceptions import OpenApiException +from platform_api_python_client.exceptions import ApiTypeError +from platform_api_python_client.exceptions import ApiValueError +from platform_api_python_client.exceptions import ApiKeyError +from platform_api_python_client.exceptions import ApiAttributeError +from platform_api_python_client.exceptions import ApiException + +# import models into sdk package +from platform_api_python_client.models.api_key_request import APIKeyRequest +from platform_api_python_client.models.api_key_response import APIKeyResponse +from platform_api_python_client.models.c_serve_recipe_input import CServeRecipeInput +from platform_api_python_client.models.c_serve_recipe_output import CServeRecipeOutput +from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf +from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse +from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest +from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse +from platform_api_python_client.models.create_checkout_request import CreateCheckoutRequest +from platform_api_python_client.models.create_checkout_response import CreateCheckoutResponse +from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest +from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse +from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest +from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse +from platform_api_python_client.models.credits_response import CreditsResponse +from platform_api_python_client.models.daily_bill_response import DailyBillResponse +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse +from platform_api_python_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_usage_value import DeploymentUsageValue +from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse +from platform_api_python_client.models.get_cluster_response import GetClusterResponse +from platform_api_python_client.models.get_compute_deployment_response import GetComputeDeploymentResponse +from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse +from platform_api_python_client.models.get_deployment_response import GetDeploymentResponse +from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse +from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse +from platform_api_python_client.models.get_payments_response import GetPaymentsResponse +from platform_api_python_client.models.http_validation_error import HTTPValidationError +from platform_api_python_client.models.hardware_instance_response import HardwareInstanceResponse +from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse +from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse +from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse +from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse +from platform_api_python_client.models.list_get_deployment_response import ListGetDeploymentResponse +from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse +from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse +from platform_api_python_client.models.metric import Metric +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.user_support_email_request import UserSupportEmailRequest +from platform_api_python_client.models.validation_error import ValidationError +from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner diff --git a/platform_api_python_client/api/__init__.py b/platform_api_python_client/api/__init__.py new file mode 100644 index 0000000..bd125dd --- /dev/null +++ b/platform_api_python_client/api/__init__.py @@ -0,0 +1,5 @@ +# flake8: noqa + +# import apis into api package +from platform_api_python_client.api.external_api import EXTERNALApi + diff --git a/platform_api_external_client/api/external_api.py b/platform_api_python_client/api/external_api.py similarity index 98% rename from platform_api_external_client/api/external_api.py rename to platform_api_python_client/api/external_api.py index 53d9752..ec8c35e 100644 --- a/platform_api_external_client/api/external_api.py +++ b/platform_api_python_client/api/external_api.py @@ -19,39 +19,39 @@ from datetime import date from pydantic import StrictInt, StrictStr from typing import Any, Optional -from platform_api_external_client.models.api_key_request import APIKeyRequest -from platform_api_external_client.models.api_key_response import APIKeyResponse -from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest -from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse -from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest -from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse -from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest -from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse -from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest -from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse -from platform_api_external_client.models.credits_response import CreditsResponse -from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse -from platform_api_external_client.models.deployment_type import DeploymentType -from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse -from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse -from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse -from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse -from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse -from platform_api_external_client.models.get_payments_response import GetPaymentsResponse -from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse -from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse -from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse -from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse -from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse -from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse -from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse -from platform_api_external_client.models.metric import Metric -from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest - -from platform_api_external_client.api_client import ApiClient, RequestSerialized -from platform_api_external_client.api_response import ApiResponse -from platform_api_external_client.rest import RESTResponseType +from platform_api_python_client.models.api_key_request import APIKeyRequest +from platform_api_python_client.models.api_key_response import APIKeyResponse +from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest +from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse +from platform_api_python_client.models.create_checkout_request import CreateCheckoutRequest +from platform_api_python_client.models.create_checkout_response import CreateCheckoutResponse +from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest +from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse +from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest +from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse +from platform_api_python_client.models.credits_response import CreditsResponse +from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse +from platform_api_python_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse +from platform_api_python_client.models.get_compute_deployment_response import GetComputeDeploymentResponse +from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse +from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse +from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse +from platform_api_python_client.models.get_payments_response import GetPaymentsResponse +from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse +from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse +from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse +from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse +from platform_api_python_client.models.list_get_deployment_response import ListGetDeploymentResponse +from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse +from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse +from platform_api_python_client.models.metric import Metric +from platform_api_python_client.models.user_support_email_request import UserSupportEmailRequest + +from platform_api_python_client.api_client import ApiClient, RequestSerialized +from platform_api_python_client.api_response import ApiResponse +from platform_api_python_client.rest import RESTResponseType class EXTERNALApi: diff --git a/platform_api_external_client/api_client.py b/platform_api_python_client/api_client.py similarity index 98% rename from platform_api_external_client/api_client.py rename to platform_api_python_client/api_client.py index bb9ffde..3aff335 100644 --- a/platform_api_external_client/api_client.py +++ b/platform_api_python_client/api_client.py @@ -26,11 +26,11 @@ from typing import Tuple, Optional, List, Dict, Union from pydantic import SecretStr -from platform_api_external_client.configuration import Configuration -from platform_api_external_client.api_response import ApiResponse, T as ApiResponseT -import platform_api_external_client.models -from platform_api_external_client import rest -from platform_api_external_client.exceptions import ( +from platform_api_python_client.configuration import Configuration +from platform_api_python_client.api_response import ApiResponse, T as ApiResponseT +import platform_api_python_client.models +from platform_api_python_client import rest +from platform_api_python_client.exceptions import ( ApiValueError, ApiException, BadRequestException, @@ -449,7 +449,7 @@ def __deserialize(self, data, klass): if klass in self.NATIVE_TYPES_MAPPING: klass = self.NATIVE_TYPES_MAPPING[klass] else: - klass = getattr(platform_api_external_client.models, klass) + klass = getattr(platform_api_python_client.models, klass) if klass in self.PRIMITIVE_TYPES: return self.__deserialize_primitive(data, klass) diff --git a/platform_api_external_client/api_response.py b/platform_api_python_client/api_response.py similarity index 100% rename from platform_api_external_client/api_response.py rename to platform_api_python_client/api_response.py diff --git a/platform_api_external_client/configuration.py b/platform_api_python_client/configuration.py similarity index 99% rename from platform_api_external_client/configuration.py rename to platform_api_python_client/configuration.py index 12abe5f..0e96322 100644 --- a/platform_api_external_client/configuration.py +++ b/platform_api_python_client/configuration.py @@ -121,7 +121,7 @@ def __init__(self, host=None, self.logger = {} """Logging Settings """ - self.logger["package_logger"] = logging.getLogger("platform_api_external_client") + self.logger["package_logger"] = logging.getLogger("platform_api_python_client") self.logger["urllib3_logger"] = logging.getLogger("urllib3") self.logger_format = '%(asctime)s %(levelname)s %(message)s' """Log format @@ -392,7 +392,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.1.0\n"\ - "SDK Package Version: 1.0.0".\ + "SDK Package Version: 0.3.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/platform_api_external_client/exceptions.py b/platform_api_python_client/exceptions.py similarity index 100% rename from platform_api_external_client/exceptions.py rename to platform_api_python_client/exceptions.py diff --git a/platform_api_python_client/models/__init__.py b/platform_api_python_client/models/__init__.py new file mode 100644 index 0000000..8e2d02c --- /dev/null +++ b/platform_api_python_client/models/__init__.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +# flake8: noqa +""" + Platform External API + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + + The version of the OpenAPI document: 0.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +# import models into model package +from platform_api_python_client.models.api_key_request import APIKeyRequest +from platform_api_python_client.models.api_key_response import APIKeyResponse +from platform_api_python_client.models.c_serve_recipe_input import CServeRecipeInput +from platform_api_python_client.models.c_serve_recipe_output import CServeRecipeOutput +from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf +from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse +from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest +from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse +from platform_api_python_client.models.create_checkout_request import CreateCheckoutRequest +from platform_api_python_client.models.create_checkout_response import CreateCheckoutResponse +from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest +from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse +from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest +from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse +from platform_api_python_client.models.credits_response import CreditsResponse +from platform_api_python_client.models.daily_bill_response import DailyBillResponse +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse +from platform_api_python_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_usage_value import DeploymentUsageValue +from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse +from platform_api_python_client.models.get_cluster_response import GetClusterResponse +from platform_api_python_client.models.get_compute_deployment_response import GetComputeDeploymentResponse +from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse +from platform_api_python_client.models.get_deployment_response import GetDeploymentResponse +from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse +from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse +from platform_api_python_client.models.get_payments_response import GetPaymentsResponse +from platform_api_python_client.models.http_validation_error import HTTPValidationError +from platform_api_python_client.models.hardware_instance_response import HardwareInstanceResponse +from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse +from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse +from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse +from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse +from platform_api_python_client.models.list_get_deployment_response import ListGetDeploymentResponse +from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse +from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse +from platform_api_python_client.models.metric import Metric +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.user_support_email_request import UserSupportEmailRequest +from platform_api_python_client.models.validation_error import ValidationError +from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner diff --git a/platform_api_external_client/models/api_key_request.py b/platform_api_python_client/models/api_key_request.py similarity index 100% rename from platform_api_external_client/models/api_key_request.py rename to platform_api_python_client/models/api_key_request.py diff --git a/platform_api_external_client/models/api_key_response.py b/platform_api_python_client/models/api_key_response.py similarity index 100% rename from platform_api_external_client/models/api_key_response.py rename to platform_api_python_client/models/api_key_response.py diff --git a/platform_api_external_client/models/c_serve_recipe_input.py b/platform_api_python_client/models/c_serve_recipe_input.py similarity index 100% rename from platform_api_external_client/models/c_serve_recipe_input.py rename to platform_api_python_client/models/c_serve_recipe_input.py diff --git a/platform_api_external_client/models/c_serve_recipe_output.py b/platform_api_python_client/models/c_serve_recipe_output.py similarity index 100% rename from platform_api_external_client/models/c_serve_recipe_output.py rename to platform_api_python_client/models/c_serve_recipe_output.py diff --git a/platform_api_external_client/models/c_serve_recipe_perf.py b/platform_api_python_client/models/c_serve_recipe_perf.py similarity index 97% rename from platform_api_external_client/models/c_serve_recipe_perf.py rename to platform_api_python_client/models/c_serve_recipe_perf.py index ba56dec..d2fb693 100644 --- a/platform_api_external_client/models/c_serve_recipe_perf.py +++ b/platform_api_python_client/models/c_serve_recipe_perf.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from platform_api_external_client.models.c_serve_recipe_output import CServeRecipeOutput +from platform_api_python_client.models.c_serve_recipe_output import CServeRecipeOutput from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/c_serve_recipe_response.py b/platform_api_python_client/models/c_serve_recipe_response.py similarity index 97% rename from platform_api_external_client/models/c_serve_recipe_response.py rename to platform_api_python_client/models/c_serve_recipe_response.py index 11b7030..64882ce 100644 --- a/platform_api_external_client/models/c_serve_recipe_response.py +++ b/platform_api_python_client/models/c_serve_recipe_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.c_serve_recipe_perf import CServeRecipePerf +from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/create_c_serve_deployment_request.py b/platform_api_python_client/models/create_c_serve_deployment_request.py similarity index 98% rename from platform_api_external_client/models/create_c_serve_deployment_request.py rename to platform_api_python_client/models/create_c_serve_deployment_request.py index 74e79e5..7668bf9 100644 --- a/platform_api_external_client/models/create_c_serve_deployment_request.py +++ b/platform_api_python_client/models/create_c_serve_deployment_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from platform_api_external_client.models.c_serve_recipe_input import CServeRecipeInput +from platform_api_python_client.models.c_serve_recipe_input import CServeRecipeInput from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/create_c_serve_deployment_response.py b/platform_api_python_client/models/create_c_serve_deployment_response.py similarity index 100% rename from platform_api_external_client/models/create_c_serve_deployment_response.py rename to platform_api_python_client/models/create_c_serve_deployment_response.py diff --git a/platform_api_external_client/models/create_checkout_request.py b/platform_api_python_client/models/create_checkout_request.py similarity index 100% rename from platform_api_external_client/models/create_checkout_request.py rename to platform_api_python_client/models/create_checkout_request.py diff --git a/platform_api_external_client/models/create_checkout_response.py b/platform_api_python_client/models/create_checkout_response.py similarity index 100% rename from platform_api_external_client/models/create_checkout_response.py rename to platform_api_python_client/models/create_checkout_response.py diff --git a/platform_api_external_client/models/create_compute_deployment_request.py b/platform_api_python_client/models/create_compute_deployment_request.py similarity index 100% rename from platform_api_external_client/models/create_compute_deployment_request.py rename to platform_api_python_client/models/create_compute_deployment_request.py diff --git a/platform_api_external_client/models/create_compute_deployment_response.py b/platform_api_python_client/models/create_compute_deployment_response.py similarity index 100% rename from platform_api_external_client/models/create_compute_deployment_response.py rename to platform_api_python_client/models/create_compute_deployment_response.py diff --git a/platform_api_external_client/models/create_inference_deployment_request.py b/platform_api_python_client/models/create_inference_deployment_request.py similarity index 100% rename from platform_api_external_client/models/create_inference_deployment_request.py rename to platform_api_python_client/models/create_inference_deployment_request.py diff --git a/platform_api_external_client/models/create_inference_deployment_response.py b/platform_api_python_client/models/create_inference_deployment_response.py similarity index 100% rename from platform_api_external_client/models/create_inference_deployment_response.py rename to platform_api_python_client/models/create_inference_deployment_response.py diff --git a/platform_api_external_client/models/credits_response.py b/platform_api_python_client/models/credits_response.py similarity index 100% rename from platform_api_external_client/models/credits_response.py rename to platform_api_python_client/models/credits_response.py diff --git a/platform_api_external_client/models/daily_bill_response.py b/platform_api_python_client/models/daily_bill_response.py similarity index 100% rename from platform_api_external_client/models/daily_bill_response.py rename to platform_api_python_client/models/daily_bill_response.py diff --git a/platform_api_external_client/models/deployment_status.py b/platform_api_python_client/models/deployment_status.py similarity index 100% rename from platform_api_external_client/models/deployment_status.py rename to platform_api_python_client/models/deployment_status.py diff --git a/platform_api_external_client/models/deployment_status_request.py b/platform_api_python_client/models/deployment_status_request.py similarity index 96% rename from platform_api_external_client/models/deployment_status_request.py rename to platform_api_python_client/models/deployment_status_request.py index 9e0285e..c93eeb2 100644 --- a/platform_api_external_client/models/deployment_status_request.py +++ b/platform_api_python_client/models/deployment_status_request.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_status import DeploymentStatus from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/deployment_status_response.py b/platform_api_python_client/models/deployment_status_response.py similarity index 93% rename from platform_api_external_client/models/deployment_status_response.py rename to platform_api_python_client/models/deployment_status_response.py index 8463727..5f8740f 100644 --- a/platform_api_external_client/models/deployment_status_response.py +++ b/platform_api_python_client/models/deployment_status_response.py @@ -19,9 +19,9 @@ from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_type import DeploymentType -from platform_api_external_client.models.service_status import ServiceStatus +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.service_status import ServiceStatus from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/deployment_type.py b/platform_api_python_client/models/deployment_type.py similarity index 100% rename from platform_api_external_client/models/deployment_type.py rename to platform_api_python_client/models/deployment_type.py diff --git a/platform_api_external_client/models/deployment_usage_value.py b/platform_api_python_client/models/deployment_usage_value.py similarity index 100% rename from platform_api_external_client/models/deployment_usage_value.py rename to platform_api_python_client/models/deployment_usage_value.py diff --git a/platform_api_external_client/models/get_c_serve_deployment_response.py b/platform_api_python_client/models/get_c_serve_deployment_response.py similarity index 98% rename from platform_api_external_client/models/get_c_serve_deployment_response.py rename to platform_api_python_client/models/get_c_serve_deployment_response.py index 3202d3b..4a451e3 100644 --- a/platform_api_external_client/models/get_c_serve_deployment_response.py +++ b/platform_api_python_client/models/get_c_serve_deployment_response.py @@ -21,8 +21,8 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_type import DeploymentType from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/get_cluster_response.py b/platform_api_python_client/models/get_cluster_response.py similarity index 100% rename from platform_api_external_client/models/get_cluster_response.py rename to platform_api_python_client/models/get_cluster_response.py diff --git a/platform_api_external_client/models/get_compute_deployment_response.py b/platform_api_python_client/models/get_compute_deployment_response.py similarity index 96% rename from platform_api_external_client/models/get_compute_deployment_response.py rename to platform_api_python_client/models/get_compute_deployment_response.py index 7395802..2d02c2b 100644 --- a/platform_api_external_client/models/get_compute_deployment_response.py +++ b/platform_api_python_client/models/get_compute_deployment_response.py @@ -20,8 +20,8 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_type import DeploymentType from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/get_deployment_log_response.py b/platform_api_python_client/models/get_deployment_log_response.py similarity index 100% rename from platform_api_external_client/models/get_deployment_log_response.py rename to platform_api_python_client/models/get_deployment_log_response.py diff --git a/platform_api_external_client/models/get_deployment_response.py b/platform_api_python_client/models/get_deployment_response.py similarity index 95% rename from platform_api_external_client/models/get_deployment_response.py rename to platform_api_python_client/models/get_deployment_response.py index aa2c0bd..0532284 100644 --- a/platform_api_external_client/models/get_deployment_response.py +++ b/platform_api_python_client/models/get_deployment_response.py @@ -20,8 +20,8 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_type import DeploymentType from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/get_deployment_usage_response.py b/platform_api_python_client/models/get_deployment_usage_response.py similarity index 96% rename from platform_api_external_client/models/get_deployment_usage_response.py rename to platform_api_python_client/models/get_deployment_usage_response.py index 3005246..867c6d2 100644 --- a/platform_api_external_client/models/get_deployment_usage_response.py +++ b/platform_api_python_client/models/get_deployment_usage_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.deployment_usage_value import DeploymentUsageValue +from platform_api_python_client.models.deployment_usage_value import DeploymentUsageValue from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/get_inference_deployment_response.py b/platform_api_python_client/models/get_inference_deployment_response.py similarity index 97% rename from platform_api_external_client/models/get_inference_deployment_response.py rename to platform_api_python_client/models/get_inference_deployment_response.py index 5c875c8..220b11d 100644 --- a/platform_api_external_client/models/get_inference_deployment_response.py +++ b/platform_api_python_client/models/get_inference_deployment_response.py @@ -20,8 +20,8 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from platform_api_external_client.models.deployment_status import DeploymentStatus -from platform_api_external_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_type import DeploymentType from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/get_payments_response.py b/platform_api_python_client/models/get_payments_response.py similarity index 100% rename from platform_api_external_client/models/get_payments_response.py rename to platform_api_python_client/models/get_payments_response.py diff --git a/platform_api_external_client/models/hardware_instance_response.py b/platform_api_python_client/models/hardware_instance_response.py similarity index 100% rename from platform_api_external_client/models/hardware_instance_response.py rename to platform_api_python_client/models/hardware_instance_response.py diff --git a/platform_api_external_client/models/http_validation_error.py b/platform_api_python_client/models/http_validation_error.py similarity index 97% rename from platform_api_external_client/models/http_validation_error.py rename to platform_api_python_client/models/http_validation_error.py index 9164cda..9ff09c8 100644 --- a/platform_api_external_client/models/http_validation_error.py +++ b/platform_api_python_client/models/http_validation_error.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional -from platform_api_external_client.models.validation_error import ValidationError +from platform_api_python_client.models.validation_error import ValidationError from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_api_key_response.py b/platform_api_python_client/models/list_api_key_response.py similarity index 97% rename from platform_api_external_client/models/list_api_key_response.py rename to platform_api_python_client/models/list_api_key_response.py index 9fbab3d..88b5c53 100644 --- a/platform_api_external_client/models/list_api_key_response.py +++ b/platform_api_python_client/models/list_api_key_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.api_key_response import APIKeyResponse +from platform_api_python_client.models.api_key_response import APIKeyResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_c_serve_recipe_response.py b/platform_api_python_client/models/list_c_serve_recipe_response.py similarity index 96% rename from platform_api_external_client/models/list_c_serve_recipe_response.py rename to platform_api_python_client/models/list_c_serve_recipe_response.py index 1390c26..5c9e646 100644 --- a/platform_api_external_client/models/list_c_serve_recipe_response.py +++ b/platform_api_python_client/models/list_c_serve_recipe_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.c_serve_recipe_response import CServeRecipeResponse +from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_daily_bill_response.py b/platform_api_python_client/models/list_daily_bill_response.py similarity index 97% rename from platform_api_external_client/models/list_daily_bill_response.py rename to platform_api_python_client/models/list_daily_bill_response.py index 5f35f56..6fe65c3 100644 --- a/platform_api_external_client/models/list_daily_bill_response.py +++ b/platform_api_python_client/models/list_daily_bill_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.daily_bill_response import DailyBillResponse +from platform_api_python_client.models.daily_bill_response import DailyBillResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_get_cluster_response.py b/platform_api_python_client/models/list_get_cluster_response.py similarity index 97% rename from platform_api_external_client/models/list_get_cluster_response.py rename to platform_api_python_client/models/list_get_cluster_response.py index eb439a5..bd0d5cf 100644 --- a/platform_api_external_client/models/list_get_cluster_response.py +++ b/platform_api_python_client/models/list_get_cluster_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.get_cluster_response import GetClusterResponse +from platform_api_python_client.models.get_cluster_response import GetClusterResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_get_deployment_response.py b/platform_api_python_client/models/list_get_deployment_response.py similarity index 96% rename from platform_api_external_client/models/list_get_deployment_response.py rename to platform_api_python_client/models/list_get_deployment_response.py index 6ce2783..07734a8 100644 --- a/platform_api_external_client/models/list_get_deployment_response.py +++ b/platform_api_python_client/models/list_get_deployment_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.get_deployment_response import GetDeploymentResponse +from platform_api_python_client.models.get_deployment_response import GetDeploymentResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_hardware_instance_response.py b/platform_api_python_client/models/list_hardware_instance_response.py similarity index 96% rename from platform_api_external_client/models/list_hardware_instance_response.py rename to platform_api_python_client/models/list_hardware_instance_response.py index 75cd3a9..56b99c6 100644 --- a/platform_api_external_client/models/list_hardware_instance_response.py +++ b/platform_api_python_client/models/list_hardware_instance_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.hardware_instance_response import HardwareInstanceResponse +from platform_api_python_client.models.hardware_instance_response import HardwareInstanceResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/list_prebuilt_image_response.py b/platform_api_python_client/models/list_prebuilt_image_response.py similarity index 96% rename from platform_api_external_client/models/list_prebuilt_image_response.py rename to platform_api_python_client/models/list_prebuilt_image_response.py index d97f855..3db0fec 100644 --- a/platform_api_external_client/models/list_prebuilt_image_response.py +++ b/platform_api_python_client/models/list_prebuilt_image_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.prebuilt_image_response import PrebuiltImageResponse +from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/metric.py b/platform_api_python_client/models/metric.py similarity index 100% rename from platform_api_external_client/models/metric.py rename to platform_api_python_client/models/metric.py diff --git a/platform_api_external_client/models/prebuilt_image_response.py b/platform_api_python_client/models/prebuilt_image_response.py similarity index 97% rename from platform_api_external_client/models/prebuilt_image_response.py rename to platform_api_python_client/models/prebuilt_image_response.py index 3f913dd..bebc261 100644 --- a/platform_api_external_client/models/prebuilt_image_response.py +++ b/platform_api_python_client/models/prebuilt_image_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from platform_api_external_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_type import DeploymentType from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/service_status.py b/platform_api_python_client/models/service_status.py similarity index 100% rename from platform_api_external_client/models/service_status.py rename to platform_api_python_client/models/service_status.py diff --git a/platform_api_external_client/models/user_support_email_request.py b/platform_api_python_client/models/user_support_email_request.py similarity index 100% rename from platform_api_external_client/models/user_support_email_request.py rename to platform_api_python_client/models/user_support_email_request.py diff --git a/platform_api_external_client/models/validation_error.py b/platform_api_python_client/models/validation_error.py similarity index 96% rename from platform_api_external_client/models/validation_error.py rename to platform_api_python_client/models/validation_error.py index e687203..a27db44 100644 --- a/platform_api_external_client/models/validation_error.py +++ b/platform_api_python_client/models/validation_error.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List -from platform_api_external_client.models.validation_error_loc_inner import ValidationErrorLocInner +from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner from typing import Optional, Set from typing_extensions import Self diff --git a/platform_api_external_client/models/validation_error_loc_inner.py b/platform_api_python_client/models/validation_error_loc_inner.py similarity index 100% rename from platform_api_external_client/models/validation_error_loc_inner.py rename to platform_api_python_client/models/validation_error_loc_inner.py diff --git a/platform_api_external_client/py.typed b/platform_api_python_client/py.typed similarity index 100% rename from platform_api_external_client/py.typed rename to platform_api_python_client/py.typed diff --git a/platform_api_external_client/rest.py b/platform_api_python_client/rest.py similarity index 99% rename from platform_api_external_client/rest.py rename to platform_api_python_client/rest.py index a9c9a2d..8cbbf58 100644 --- a/platform_api_external_client/rest.py +++ b/platform_api_python_client/rest.py @@ -19,7 +19,7 @@ import urllib3 -from platform_api_external_client.exceptions import ApiException, ApiValueError +from platform_api_python_client.exceptions import ApiException, ApiValueError SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"} RESTResponseType = urllib3.HTTPResponse diff --git a/pyproject.toml b/pyproject.toml index 495d2e0..631f74c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "platform_api_python_client" -version = "0.2.0" +version = "0.3.1" description = "Platform External API" authors = ["OpenAPI Generator Community "] license = "NoLicense" diff --git a/setup.py b/setup.py index c167c2b..e3b3cf2 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "platform-api-python-client" -VERSION = "0.3.0" +VERSION = "0.3.1" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ "urllib3 >= 1.25.3, < 3.0.0", diff --git a/test/test_api_key_request.py b/test/test_api_key_request.py index 85acdcc..1e7ed6e 100644 --- a/test/test_api_key_request.py +++ b/test/test_api_key_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.api_key_request import APIKeyRequest +from platform_api_python_client.models.api_key_request import APIKeyRequest class TestAPIKeyRequest(unittest.TestCase): """APIKeyRequest unit test stubs""" diff --git a/test/test_api_key_response.py b/test/test_api_key_response.py index b37e29e..38bb61b 100644 --- a/test/test_api_key_response.py +++ b/test/test_api_key_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.api_key_response import APIKeyResponse +from platform_api_python_client.models.api_key_response import APIKeyResponse class TestAPIKeyResponse(unittest.TestCase): """APIKeyResponse unit test stubs""" diff --git a/test/test_c_serve_recipe_input.py b/test/test_c_serve_recipe_input.py index 3862d67..f817c2b 100644 --- a/test/test_c_serve_recipe_input.py +++ b/test/test_c_serve_recipe_input.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.c_serve_recipe_input import CServeRecipeInput +from platform_api_python_client.models.c_serve_recipe_input import CServeRecipeInput class TestCServeRecipeInput(unittest.TestCase): """CServeRecipeInput unit test stubs""" diff --git a/test/test_c_serve_recipe_output.py b/test/test_c_serve_recipe_output.py index 08c9177..712f6b2 100644 --- a/test/test_c_serve_recipe_output.py +++ b/test/test_c_serve_recipe_output.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.c_serve_recipe_output import CServeRecipeOutput +from platform_api_python_client.models.c_serve_recipe_output import CServeRecipeOutput class TestCServeRecipeOutput(unittest.TestCase): """CServeRecipeOutput unit test stubs""" diff --git a/test/test_c_serve_recipe_perf.py b/test/test_c_serve_recipe_perf.py index b9ca26e..18672ac 100644 --- a/test/test_c_serve_recipe_perf.py +++ b/test/test_c_serve_recipe_perf.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.c_serve_recipe_perf import CServeRecipePerf +from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf class TestCServeRecipePerf(unittest.TestCase): """CServeRecipePerf unit test stubs""" @@ -35,7 +35,7 @@ def make_instance(self, include_optional) -> CServeRecipePerf: model = CServeRecipePerf() if include_optional: return CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -70,7 +70,7 @@ def make_instance(self, include_optional) -> CServeRecipePerf: ) else: return CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, diff --git a/test/test_c_serve_recipe_response.py b/test/test_c_serve_recipe_response.py index 147c6cf..9d6fd50 100644 --- a/test/test_c_serve_recipe_response.py +++ b/test/test_c_serve_recipe_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.c_serve_recipe_response import CServeRecipeResponse +from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse class TestCServeRecipeResponse(unittest.TestCase): """CServeRecipeResponse unit test stubs""" @@ -37,8 +37,8 @@ def make_instance(self, include_optional) -> CServeRecipeResponse: return CServeRecipeResponse( model = '', cluster_id = 56, - fastest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + fastest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -70,8 +70,8 @@ def make_instance(self, include_optional) -> CServeRecipeResponse: null ] ], ), - cheapest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + cheapest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -103,8 +103,8 @@ def make_instance(self, include_optional) -> CServeRecipeResponse: null ] ], ), - best_value = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + best_value = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -141,8 +141,8 @@ def make_instance(self, include_optional) -> CServeRecipeResponse: return CServeRecipeResponse( model = '', cluster_id = 56, - fastest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + fastest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -174,8 +174,8 @@ def make_instance(self, include_optional) -> CServeRecipeResponse: null ] ], ), - cheapest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + cheapest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -207,8 +207,8 @@ def make_instance(self, include_optional) -> CServeRecipeResponse: null ] ], ), - best_value = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + best_value = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, diff --git a/test/test_create_c_serve_deployment_request.py b/test/test_create_c_serve_deployment_request.py index 2d9820e..931847d 100644 --- a/test/test_create_c_serve_deployment_request.py +++ b/test/test_create_c_serve_deployment_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest +from platform_api_python_client.models.create_c_serve_deployment_request import CreateCServeDeploymentRequest class TestCreateCServeDeploymentRequest(unittest.TestCase): """CreateCServeDeploymentRequest unit test stubs""" @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> CreateCServeDeploymentRequest: name = '', cluster_id = 56, hardware_instance_id = 56, - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -73,7 +73,7 @@ def make_instance(self, include_optional) -> CreateCServeDeploymentRequest: name = '', cluster_id = 56, hardware_instance_id = 56, - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, diff --git a/test/test_create_c_serve_deployment_response.py b/test/test_create_c_serve_deployment_response.py index 8969df4..e1fe90b 100644 --- a/test/test_create_c_serve_deployment_response.py +++ b/test/test_create_c_serve_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse +from platform_api_python_client.models.create_c_serve_deployment_response import CreateCServeDeploymentResponse class TestCreateCServeDeploymentResponse(unittest.TestCase): """CreateCServeDeploymentResponse unit test stubs""" diff --git a/test/test_create_checkout_request.py b/test/test_create_checkout_request.py index a765136..0efa05a 100644 --- a/test/test_create_checkout_request.py +++ b/test/test_create_checkout_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_checkout_request import CreateCheckoutRequest +from platform_api_python_client.models.create_checkout_request import CreateCheckoutRequest class TestCreateCheckoutRequest(unittest.TestCase): """CreateCheckoutRequest unit test stubs""" diff --git a/test/test_create_checkout_response.py b/test/test_create_checkout_response.py index 5198a76..cfe77b8 100644 --- a/test/test_create_checkout_response.py +++ b/test/test_create_checkout_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_checkout_response import CreateCheckoutResponse +from platform_api_python_client.models.create_checkout_response import CreateCheckoutResponse class TestCreateCheckoutResponse(unittest.TestCase): """CreateCheckoutResponse unit test stubs""" diff --git a/test/test_create_compute_deployment_request.py b/test/test_create_compute_deployment_request.py index 2678919..9c0a0ed 100644 --- a/test/test_create_compute_deployment_request.py +++ b/test/test_create_compute_deployment_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest +from platform_api_python_client.models.create_compute_deployment_request import CreateComputeDeploymentRequest class TestCreateComputeDeploymentRequest(unittest.TestCase): """CreateComputeDeploymentRequest unit test stubs""" diff --git a/test/test_create_compute_deployment_response.py b/test/test_create_compute_deployment_response.py index e7c9a1d..093f2d2 100644 --- a/test/test_create_compute_deployment_response.py +++ b/test/test_create_compute_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse +from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse class TestCreateComputeDeploymentResponse(unittest.TestCase): """CreateComputeDeploymentResponse unit test stubs""" diff --git a/test/test_create_inference_deployment_request.py b/test/test_create_inference_deployment_request.py index 48dd14e..32b1695 100644 --- a/test/test_create_inference_deployment_request.py +++ b/test/test_create_inference_deployment_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest +from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest class TestCreateInferenceDeploymentRequest(unittest.TestCase): """CreateInferenceDeploymentRequest unit test stubs""" diff --git a/test/test_create_inference_deployment_response.py b/test/test_create_inference_deployment_response.py index 16ad7e4..fc7bfa4 100644 --- a/test/test_create_inference_deployment_response.py +++ b/test/test_create_inference_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse +from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse class TestCreateInferenceDeploymentResponse(unittest.TestCase): """CreateInferenceDeploymentResponse unit test stubs""" diff --git a/test/test_credits_response.py b/test/test_credits_response.py index a9f42a4..1b8403e 100644 --- a/test/test_credits_response.py +++ b/test/test_credits_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.credits_response import CreditsResponse +from platform_api_python_client.models.credits_response import CreditsResponse class TestCreditsResponse(unittest.TestCase): """CreditsResponse unit test stubs""" diff --git a/test/test_daily_bill_response.py b/test/test_daily_bill_response.py index 3cffe32..edbcb76 100644 --- a/test/test_daily_bill_response.py +++ b/test/test_daily_bill_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.daily_bill_response import DailyBillResponse +from platform_api_python_client.models.daily_bill_response import DailyBillResponse class TestDailyBillResponse(unittest.TestCase): """DailyBillResponse unit test stubs""" diff --git a/test/test_deployment_status.py b/test/test_deployment_status.py index df87231..4df85c2 100644 --- a/test/test_deployment_status.py +++ b/test/test_deployment_status.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.deployment_status import DeploymentStatus +from platform_api_python_client.models.deployment_status import DeploymentStatus class TestDeploymentStatus(unittest.TestCase): """DeploymentStatus unit test stubs""" diff --git a/test/test_deployment_status_request.py b/test/test_deployment_status_request.py index 89d729a..7dfaea0 100644 --- a/test/test_deployment_status_request.py +++ b/test/test_deployment_status_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.deployment_status_request import DeploymentStatusRequest +from platform_api_python_client.models.deployment_status_request import DeploymentStatusRequest class TestDeploymentStatusRequest(unittest.TestCase): """DeploymentStatusRequest unit test stubs""" diff --git a/test/test_deployment_status_response.py b/test/test_deployment_status_response.py index 6c84906..916c65f 100644 --- a/test/test_deployment_status_response.py +++ b/test/test_deployment_status_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.deployment_status_response import DeploymentStatusResponse +from platform_api_python_client.models.deployment_status_response import DeploymentStatusResponse class TestDeploymentStatusResponse(unittest.TestCase): """DeploymentStatusResponse unit test stubs""" diff --git a/test/test_deployment_type.py b/test/test_deployment_type.py index 20aa39e..1029576 100644 --- a/test/test_deployment_type.py +++ b/test/test_deployment_type.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.deployment_type import DeploymentType +from platform_api_python_client.models.deployment_type import DeploymentType class TestDeploymentType(unittest.TestCase): """DeploymentType unit test stubs""" diff --git a/test/test_deployment_usage_value.py b/test/test_deployment_usage_value.py index b0f211a..9e518ab 100644 --- a/test/test_deployment_usage_value.py +++ b/test/test_deployment_usage_value.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.deployment_usage_value import DeploymentUsageValue +from platform_api_python_client.models.deployment_usage_value import DeploymentUsageValue class TestDeploymentUsageValue(unittest.TestCase): """DeploymentUsageValue unit test stubs""" diff --git a/test/test_external_api.py b/test/test_external_api.py index 8624da9..03d8466 100644 --- a/test/test_external_api.py +++ b/test/test_external_api.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.api.external_api import EXTERNALApi +from platform_api_python_client.api.external_api import EXTERNALApi class TestEXTERNALApi(unittest.TestCase): diff --git a/test/test_get_c_serve_deployment_response.py b/test/test_get_c_serve_deployment_response.py index 6c6fbf8..4dc2b07 100644 --- a/test/test_get_c_serve_deployment_response.py +++ b/test/test_get_c_serve_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse +from platform_api_python_client.models.get_c_serve_deployment_response import GetCServeDeploymentResponse class TestGetCServeDeploymentResponse(unittest.TestCase): """GetCServeDeploymentResponse unit test stubs""" diff --git a/test/test_get_cluster_response.py b/test/test_get_cluster_response.py index fc850c4..2e1b653 100644 --- a/test/test_get_cluster_response.py +++ b/test/test_get_cluster_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_cluster_response import GetClusterResponse +from platform_api_python_client.models.get_cluster_response import GetClusterResponse class TestGetClusterResponse(unittest.TestCase): """GetClusterResponse unit test stubs""" diff --git a/test/test_get_compute_deployment_response.py b/test/test_get_compute_deployment_response.py index 5e82e5f..1151d2b 100644 --- a/test/test_get_compute_deployment_response.py +++ b/test/test_get_compute_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_compute_deployment_response import GetComputeDeploymentResponse +from platform_api_python_client.models.get_compute_deployment_response import GetComputeDeploymentResponse class TestGetComputeDeploymentResponse(unittest.TestCase): """GetComputeDeploymentResponse unit test stubs""" diff --git a/test/test_get_deployment_log_response.py b/test/test_get_deployment_log_response.py index 2b78d43..4fe4110 100644 --- a/test/test_get_deployment_log_response.py +++ b/test/test_get_deployment_log_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_deployment_log_response import GetDeploymentLogResponse +from platform_api_python_client.models.get_deployment_log_response import GetDeploymentLogResponse class TestGetDeploymentLogResponse(unittest.TestCase): """GetDeploymentLogResponse unit test stubs""" diff --git a/test/test_get_deployment_response.py b/test/test_get_deployment_response.py index 3bc1991..ca311ce 100644 --- a/test/test_get_deployment_response.py +++ b/test/test_get_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_deployment_response import GetDeploymentResponse +from platform_api_python_client.models.get_deployment_response import GetDeploymentResponse class TestGetDeploymentResponse(unittest.TestCase): """GetDeploymentResponse unit test stubs""" diff --git a/test/test_get_deployment_usage_response.py b/test/test_get_deployment_usage_response.py index 2c135ec..8f4b11b 100644 --- a/test/test_get_deployment_usage_response.py +++ b/test/test_get_deployment_usage_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_deployment_usage_response import GetDeploymentUsageResponse +from platform_api_python_client.models.get_deployment_usage_response import GetDeploymentUsageResponse class TestGetDeploymentUsageResponse(unittest.TestCase): """GetDeploymentUsageResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> GetDeploymentUsageResponse: if include_optional: return GetDeploymentUsageResponse( values = [ - platform_api_external_client.models.deployment_usage_value.DeploymentUsageValue( + platform_api_python_client.models.deployment_usage_value.DeploymentUsageValue( timestamp = 56, value = 1.337, ) ] @@ -44,7 +44,7 @@ def make_instance(self, include_optional) -> GetDeploymentUsageResponse: else: return GetDeploymentUsageResponse( values = [ - platform_api_external_client.models.deployment_usage_value.DeploymentUsageValue( + platform_api_python_client.models.deployment_usage_value.DeploymentUsageValue( timestamp = 56, value = 1.337, ) ], diff --git a/test/test_get_inference_deployment_response.py b/test/test_get_inference_deployment_response.py index dcf1768..79d9a28 100644 --- a/test/test_get_inference_deployment_response.py +++ b/test/test_get_inference_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse +from platform_api_python_client.models.get_inference_deployment_response import GetInferenceDeploymentResponse class TestGetInferenceDeploymentResponse(unittest.TestCase): """GetInferenceDeploymentResponse unit test stubs""" diff --git a/test/test_get_payments_response.py b/test/test_get_payments_response.py index d2041f9..5856f6a 100644 --- a/test/test_get_payments_response.py +++ b/test/test_get_payments_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.get_payments_response import GetPaymentsResponse +from platform_api_python_client.models.get_payments_response import GetPaymentsResponse class TestGetPaymentsResponse(unittest.TestCase): """GetPaymentsResponse unit test stubs""" diff --git a/test/test_hardware_instance_response.py b/test/test_hardware_instance_response.py index 80976ce..918b488 100644 --- a/test/test_hardware_instance_response.py +++ b/test/test_hardware_instance_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.hardware_instance_response import HardwareInstanceResponse +from platform_api_python_client.models.hardware_instance_response import HardwareInstanceResponse class TestHardwareInstanceResponse(unittest.TestCase): """HardwareInstanceResponse unit test stubs""" diff --git a/test/test_http_validation_error.py b/test/test_http_validation_error.py index 1e6013c..b87c23f 100644 --- a/test/test_http_validation_error.py +++ b/test/test_http_validation_error.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.http_validation_error import HTTPValidationError +from platform_api_python_client.models.http_validation_error import HTTPValidationError class TestHTTPValidationError(unittest.TestCase): """HTTPValidationError unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> HTTPValidationError: if include_optional: return HTTPValidationError( detail = [ - platform_api_external_client.models.validation_error.ValidationError( + platform_api_python_client.models.validation_error.ValidationError( loc = [ null ], diff --git a/test/test_list_api_key_response.py b/test/test_list_api_key_response.py index 331e17e..829e245 100644 --- a/test/test_list_api_key_response.py +++ b/test/test_list_api_key_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_api_key_response import ListAPIKeyResponse +from platform_api_python_client.models.list_api_key_response import ListAPIKeyResponse class TestListAPIKeyResponse(unittest.TestCase): """ListAPIKeyResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ListAPIKeyResponse: if include_optional: return ListAPIKeyResponse( results = [ - platform_api_external_client.models.api_key_response.APIKeyResponse( + platform_api_python_client.models.api_key_response.APIKeyResponse( name = '', id = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) @@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> ListAPIKeyResponse: else: return ListAPIKeyResponse( results = [ - platform_api_external_client.models.api_key_response.APIKeyResponse( + platform_api_python_client.models.api_key_response.APIKeyResponse( name = '', id = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) diff --git a/test/test_list_c_serve_recipe_response.py b/test/test_list_c_serve_recipe_response.py index 50cf61a..7aed9ea 100644 --- a/test/test_list_c_serve_recipe_response.py +++ b/test/test_list_c_serve_recipe_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse +from platform_api_python_client.models.list_c_serve_recipe_response import ListCServeRecipeResponse class TestListCServeRecipeResponse(unittest.TestCase): """ListCServeRecipeResponse unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional) -> ListCServeRecipeResponse: if include_optional: return ListCServeRecipeResponse( results = [ - platform_api_external_client.models.c_serve_recipe_response.CServeRecipeResponse( + platform_api_python_client.models.c_serve_recipe_response.CServeRecipeResponse( model = '', cluster_id = 56, - fastest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + fastest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -72,8 +72,8 @@ def make_instance(self, include_optional) -> ListCServeRecipeResponse: null ] ], ), - cheapest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + cheapest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -111,11 +111,11 @@ def make_instance(self, include_optional) -> ListCServeRecipeResponse: else: return ListCServeRecipeResponse( results = [ - platform_api_external_client.models.c_serve_recipe_response.CServeRecipeResponse( + platform_api_python_client.models.c_serve_recipe_response.CServeRecipeResponse( model = '', cluster_id = 56, - fastest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + fastest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, @@ -147,8 +147,8 @@ def make_instance(self, include_optional) -> ListCServeRecipeResponse: null ] ], ), - cheapest = platform_api_external_client.models.c_serve_recipe_perf.CServeRecipePerf( - recipe = platform_api_external_client.models.c_serve_recipe.CServeRecipe( + cheapest = platform_api_python_client.models.c_serve_recipe_perf.CServeRecipePerf( + recipe = platform_api_python_client.models.c_serve_recipe.CServeRecipe( model = '', is_embedding_model = True, tensor_parallel_size = 56, diff --git a/test/test_list_daily_bill_response.py b/test/test_list_daily_bill_response.py index 5f9c1fc..cb1887a 100644 --- a/test/test_list_daily_bill_response.py +++ b/test/test_list_daily_bill_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_daily_bill_response import ListDailyBillResponse +from platform_api_python_client.models.list_daily_bill_response import ListDailyBillResponse class TestListDailyBillResponse(unittest.TestCase): """ListDailyBillResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ListDailyBillResponse: if include_optional: return ListDailyBillResponse( results = [ - platform_api_external_client.models.daily_bill_response.DailyBillResponse( + platform_api_python_client.models.daily_bill_response.DailyBillResponse( date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), credits = 1.337, ) ] @@ -44,7 +44,7 @@ def make_instance(self, include_optional) -> ListDailyBillResponse: else: return ListDailyBillResponse( results = [ - platform_api_external_client.models.daily_bill_response.DailyBillResponse( + platform_api_python_client.models.daily_bill_response.DailyBillResponse( date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), credits = 1.337, ) ], diff --git a/test/test_list_get_cluster_response.py b/test/test_list_get_cluster_response.py index 7d5a841..dff2eca 100644 --- a/test/test_list_get_cluster_response.py +++ b/test/test_list_get_cluster_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_get_cluster_response import ListGetClusterResponse +from platform_api_python_client.models.list_get_cluster_response import ListGetClusterResponse class TestListGetClusterResponse(unittest.TestCase): """ListGetClusterResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ListGetClusterResponse: if include_optional: return ListGetClusterResponse( results = [ - platform_api_external_client.models.get_cluster_response.GetClusterResponse( + platform_api_python_client.models.get_cluster_response.GetClusterResponse( id = 56, display_name = '', ) ] @@ -44,7 +44,7 @@ def make_instance(self, include_optional) -> ListGetClusterResponse: else: return ListGetClusterResponse( results = [ - platform_api_external_client.models.get_cluster_response.GetClusterResponse( + platform_api_python_client.models.get_cluster_response.GetClusterResponse( id = 56, display_name = '', ) ], diff --git a/test/test_list_get_deployment_response.py b/test/test_list_get_deployment_response.py index b5446b7..babbf61 100644 --- a/test/test_list_get_deployment_response.py +++ b/test/test_list_get_deployment_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_get_deployment_response import ListGetDeploymentResponse +from platform_api_python_client.models.list_get_deployment_response import ListGetDeploymentResponse class TestListGetDeploymentResponse(unittest.TestCase): """ListGetDeploymentResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ListGetDeploymentResponse: if include_optional: return ListGetDeploymentResponse( results = [ - platform_api_external_client.models.get_deployment_response.GetDeploymentResponse( + platform_api_python_client.models.get_deployment_response.GetDeploymentResponse( cluster_id = 56, id = 56, name = '', @@ -51,7 +51,7 @@ def make_instance(self, include_optional) -> ListGetDeploymentResponse: else: return ListGetDeploymentResponse( results = [ - platform_api_external_client.models.get_deployment_response.GetDeploymentResponse( + platform_api_python_client.models.get_deployment_response.GetDeploymentResponse( cluster_id = 56, id = 56, name = '', diff --git a/test/test_list_hardware_instance_response.py b/test/test_list_hardware_instance_response.py index 7548db3..93b37dd 100644 --- a/test/test_list_hardware_instance_response.py +++ b/test/test_list_hardware_instance_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_hardware_instance_response import ListHardwareInstanceResponse +from platform_api_python_client.models.list_hardware_instance_response import ListHardwareInstanceResponse class TestListHardwareInstanceResponse(unittest.TestCase): """ListHardwareInstanceResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ListHardwareInstanceResponse: if include_optional: return ListHardwareInstanceResponse( results = [ - platform_api_external_client.models.hardware_instance_response.HardwareInstanceResponse( + platform_api_python_client.models.hardware_instance_response.HardwareInstanceResponse( id = 56, name = '', gpu_type = '', @@ -49,7 +49,7 @@ def make_instance(self, include_optional) -> ListHardwareInstanceResponse: else: return ListHardwareInstanceResponse( results = [ - platform_api_external_client.models.hardware_instance_response.HardwareInstanceResponse( + platform_api_python_client.models.hardware_instance_response.HardwareInstanceResponse( id = 56, name = '', gpu_type = '', diff --git a/test/test_list_prebuilt_image_response.py b/test/test_list_prebuilt_image_response.py index 09735b0..97d43d0 100644 --- a/test/test_list_prebuilt_image_response.py +++ b/test/test_list_prebuilt_image_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse +from platform_api_python_client.models.list_prebuilt_image_response import ListPrebuiltImageResponse class TestListPrebuiltImageResponse(unittest.TestCase): """ListPrebuiltImageResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ListPrebuiltImageResponse: if include_optional: return ListPrebuiltImageResponse( results = [ - platform_api_external_client.models.prebuilt_image_response.PrebuiltImageResponse( + platform_api_python_client.models.prebuilt_image_response.PrebuiltImageResponse( image_name = '', label = '', tags = [ @@ -50,7 +50,7 @@ def make_instance(self, include_optional) -> ListPrebuiltImageResponse: else: return ListPrebuiltImageResponse( results = [ - platform_api_external_client.models.prebuilt_image_response.PrebuiltImageResponse( + platform_api_python_client.models.prebuilt_image_response.PrebuiltImageResponse( image_name = '', label = '', tags = [ diff --git a/test/test_metric.py b/test/test_metric.py index 001b75a..3708260 100644 --- a/test/test_metric.py +++ b/test/test_metric.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.metric import Metric +from platform_api_python_client.models.metric import Metric class TestMetric(unittest.TestCase): """Metric unit test stubs""" diff --git a/test/test_prebuilt_image_response.py b/test/test_prebuilt_image_response.py index 467d533..3e0d969 100644 --- a/test/test_prebuilt_image_response.py +++ b/test/test_prebuilt_image_response.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.prebuilt_image_response import PrebuiltImageResponse +from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse class TestPrebuiltImageResponse(unittest.TestCase): """PrebuiltImageResponse unit test stubs""" diff --git a/test/test_service_status.py b/test/test_service_status.py index 924dff1..9064bc1 100644 --- a/test/test_service_status.py +++ b/test/test_service_status.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.service_status import ServiceStatus +from platform_api_python_client.models.service_status import ServiceStatus class TestServiceStatus(unittest.TestCase): """ServiceStatus unit test stubs""" diff --git a/test/test_user_support_email_request.py b/test/test_user_support_email_request.py index 0e2e3db..fa1a16c 100644 --- a/test/test_user_support_email_request.py +++ b/test/test_user_support_email_request.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.user_support_email_request import UserSupportEmailRequest +from platform_api_python_client.models.user_support_email_request import UserSupportEmailRequest class TestUserSupportEmailRequest(unittest.TestCase): """UserSupportEmailRequest unit test stubs""" diff --git a/test/test_validation_error.py b/test/test_validation_error.py index 23f93a1..bcf6cfd 100644 --- a/test/test_validation_error.py +++ b/test/test_validation_error.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.validation_error import ValidationError +from platform_api_python_client.models.validation_error import ValidationError class TestValidationError(unittest.TestCase): """ValidationError unit test stubs""" diff --git a/test/test_validation_error_loc_inner.py b/test/test_validation_error_loc_inner.py index 08fa3f9..cda1710 100644 --- a/test/test_validation_error_loc_inner.py +++ b/test/test_validation_error_loc_inner.py @@ -14,7 +14,7 @@ import unittest -from platform_api_external_client.models.validation_error_loc_inner import ValidationErrorLocInner +from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner class TestValidationErrorLocInner(unittest.TestCase): """ValidationErrorLocInner unit test stubs"""