platform-api-python-client 4.1.9__tar.gz → 4.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/PKG-INFO +1 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/README.md +3 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/__init__.py +3 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/api/external_api.py +6 -6
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/api_client.py +1 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/configuration.py +1 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/__init__.py +2 -0
- platform_api_python_client-4.6.0/platform_api_python_client/models/backend_protocol.py +37 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_inference_v3_deployment_request.py +5 -2
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_cluster_response.py +3 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_inference_v3_deployment_response.py +12 -2
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/user_vault_item.py +5 -2
- platform_api_python_client-4.6.0/platform_api_python_client/models/vault_scope.py +37 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client.egg-info/PKG-INFO +1 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client.egg-info/SOURCES.txt +5 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/pyproject.toml +1 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/setup.py +1 -1
- platform_api_python_client-4.6.0/test/test_backend_protocol.py +33 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_inference_v3_deployment_request.py +2 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_response.py +3 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_cluster_response.py +2 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_inference_v3_deployment_response.py +3 -1
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_get_cluster_response.py +2 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_user_vault_items_response.py +4 -2
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_user_vault_item.py +2 -1
- platform_api_python_client-4.6.0/test/test_vault_scope.py +33 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/api/__init__.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/api_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/exceptions.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/api_key_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/api_key_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/c_serve_recipe_perf.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/c_serve_recipe_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/c_serve_v2_recipe.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_c_serve_v2_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_c_serve_v2_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_c_serve_v3_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_c_serve_v3_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_compute_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_compute_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_inference_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_inference_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_organization_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_organization_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_rag_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_rag_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_url_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/create_url_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/credits_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/daily_bill_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_status_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_status_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_status_v3_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_type.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_usage.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/deployment_usage_value.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_c_serve_v2_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_c_serve_v3_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_compute_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_deployment_log_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_deployment_revision_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_deployment_usage_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_inference_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/get_rag_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/hardware_instance_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/http_validation_error.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/image_pull_secret_credentials.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_api_key_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_c_serve_recipe_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_daily_bill_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_deployment_revisions_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_get_cluster_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_get_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_hardware_instance_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_prebuilt_image_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/list_user_vault_items_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/metric.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/pod_details.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/pod_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/prebuilt_image_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/revision_pod_details.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/rollout_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/rollout_strategy_params.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/service_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/update_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/update_deployment_status_v3_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/user_vault_type.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/validation_error.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/models/validation_error_loc_inner.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/py.typed +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client/rest.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client.egg-info/dependency_links.txt +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client.egg-info/requires.txt +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/platform_api_python_client.egg-info/top_level.txt +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/setup.cfg +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_api_key_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_api_key_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_c_serve_recipe_perf.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_c_serve_recipe_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_c_serve_v2_recipe.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_c_serve_v2_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_c_serve_v2_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_c_serve_v3_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_c_serve_v3_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_compute_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_compute_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_inference_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_inference_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_organization_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_organization_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_rag_deployment_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_rag_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_url_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_create_url_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_credits_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_daily_bill_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_status_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_status_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_status_v3_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_type.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_usage.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_usage_value.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_external_api.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_c_serve_v2_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_c_serve_v3_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_compute_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_deployment_log_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_deployment_revision_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_deployment_usage_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_inference_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_get_rag_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_hardware_instance_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_http_validation_error.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_image_pull_secret_credentials.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_api_key_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_c_serve_recipe_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_daily_bill_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_deployment_revisions_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_get_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_hardware_instance_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_list_prebuilt_image_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_metric.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_pod_details.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_pod_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_prebuilt_image_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_revision_pod_details.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_rollout_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_rollout_strategy_params.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_service_status.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_update_deployment_response.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_update_deployment_status_v3_request.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_user_vault_type.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_validation_error.py +0 -0
- {platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_validation_error_loc_inner.py +0 -0
|
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: 0.1.0
|
|
7
|
-
- Package version: 4.
|
|
7
|
+
- Package version: 4.6.0
|
|
8
8
|
- Generator version: 7.9.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
|
|
@@ -145,6 +145,7 @@ Class | Method | HTTP request | Description
|
|
|
145
145
|
|
|
146
146
|
- [APIKeyRequest](docs/APIKeyRequest.md)
|
|
147
147
|
- [APIKeyResponse](docs/APIKeyResponse.md)
|
|
148
|
+
- [BackendProtocol](docs/BackendProtocol.md)
|
|
148
149
|
- [CServeRecipePerf](docs/CServeRecipePerf.md)
|
|
149
150
|
- [CServeRecipeResponse](docs/CServeRecipeResponse.md)
|
|
150
151
|
- [CServeV2Recipe](docs/CServeV2Recipe.md)
|
|
@@ -210,6 +211,7 @@ Class | Method | HTTP request | Description
|
|
|
210
211
|
- [UserVaultType](docs/UserVaultType.md)
|
|
211
212
|
- [ValidationError](docs/ValidationError.md)
|
|
212
213
|
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
214
|
+
- [VaultScope](docs/VaultScope.md)
|
|
213
215
|
|
|
214
216
|
|
|
215
217
|
<a id="documentation-for-authorization"></a>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "4.
|
|
17
|
+
__version__ = "4.6.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from platform_api_python_client.api.external_api import EXTERNALApi
|
|
@@ -33,6 +33,7 @@ from platform_api_python_client.exceptions import ApiException
|
|
|
33
33
|
# import models into sdk package
|
|
34
34
|
from platform_api_python_client.models.api_key_request import APIKeyRequest
|
|
35
35
|
from platform_api_python_client.models.api_key_response import APIKeyResponse
|
|
36
|
+
from platform_api_python_client.models.backend_protocol import BackendProtocol
|
|
36
37
|
from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf
|
|
37
38
|
from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse
|
|
38
39
|
from platform_api_python_client.models.c_serve_v2_recipe import CServeV2Recipe
|
|
@@ -98,3 +99,4 @@ from platform_api_python_client.models.user_vault_item import UserVaultItem
|
|
|
98
99
|
from platform_api_python_client.models.user_vault_type import UserVaultType
|
|
99
100
|
from platform_api_python_client.models.validation_error import ValidationError
|
|
100
101
|
from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner
|
|
102
|
+
from platform_api_python_client.models.vault_scope import VaultScope
|
|
@@ -3108,7 +3108,7 @@ class EXTERNALApi:
|
|
|
3108
3108
|
) -> ListUserVaultItemsResponse:
|
|
3109
3109
|
"""Get All User Vault Items Endpoint
|
|
3110
3110
|
|
|
3111
|
-
Retrieve all items
|
|
3111
|
+
Retrieve all items the user has access to (both USER and ORG scoped).
|
|
3112
3112
|
|
|
3113
3113
|
:param type:
|
|
3114
3114
|
:type type: UserVaultType
|
|
@@ -3180,7 +3180,7 @@ class EXTERNALApi:
|
|
|
3180
3180
|
) -> ApiResponse[ListUserVaultItemsResponse]:
|
|
3181
3181
|
"""Get All User Vault Items Endpoint
|
|
3182
3182
|
|
|
3183
|
-
Retrieve all items
|
|
3183
|
+
Retrieve all items the user has access to (both USER and ORG scoped).
|
|
3184
3184
|
|
|
3185
3185
|
:param type:
|
|
3186
3186
|
:type type: UserVaultType
|
|
@@ -3252,7 +3252,7 @@ class EXTERNALApi:
|
|
|
3252
3252
|
) -> RESTResponseType:
|
|
3253
3253
|
"""Get All User Vault Items Endpoint
|
|
3254
3254
|
|
|
3255
|
-
Retrieve all items
|
|
3255
|
+
Retrieve all items the user has access to (both USER and ORG scoped).
|
|
3256
3256
|
|
|
3257
3257
|
:param type:
|
|
3258
3258
|
:type type: UserVaultType
|
|
@@ -12078,7 +12078,7 @@ class EXTERNALApi:
|
|
|
12078
12078
|
) -> object:
|
|
12079
12079
|
"""Update User Vault Item Endpoint
|
|
12080
12080
|
|
|
12081
|
-
Update or add
|
|
12081
|
+
Update or add an item of a specific type for the user.
|
|
12082
12082
|
|
|
12083
12083
|
:param user_vault_item: (required)
|
|
12084
12084
|
:type user_vault_item: UserVaultItem
|
|
@@ -12146,7 +12146,7 @@ class EXTERNALApi:
|
|
|
12146
12146
|
) -> ApiResponse[object]:
|
|
12147
12147
|
"""Update User Vault Item Endpoint
|
|
12148
12148
|
|
|
12149
|
-
Update or add
|
|
12149
|
+
Update or add an item of a specific type for the user.
|
|
12150
12150
|
|
|
12151
12151
|
:param user_vault_item: (required)
|
|
12152
12152
|
:type user_vault_item: UserVaultItem
|
|
@@ -12214,7 +12214,7 @@ class EXTERNALApi:
|
|
|
12214
12214
|
) -> RESTResponseType:
|
|
12215
12215
|
"""Update User Vault Item Endpoint
|
|
12216
12216
|
|
|
12217
|
-
Update or add
|
|
12217
|
+
Update or add an item of a specific type for the user.
|
|
12218
12218
|
|
|
12219
12219
|
:param user_vault_item: (required)
|
|
12220
12220
|
:type user_vault_item: UserVaultItem
|
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/4.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/4.6.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -392,7 +392,7 @@ class Configuration:
|
|
|
392
392
|
"OS: {env}\n"\
|
|
393
393
|
"Python Version: {pyversion}\n"\
|
|
394
394
|
"Version of the API: 0.1.0\n"\
|
|
395
|
-
"SDK Package Version: 4.
|
|
395
|
+
"SDK Package Version: 4.6.0".\
|
|
396
396
|
format(env=sys.platform, pyversion=sys.version)
|
|
397
397
|
|
|
398
398
|
def get_host_settings(self):
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
# import models into model package
|
|
17
17
|
from platform_api_python_client.models.api_key_request import APIKeyRequest
|
|
18
18
|
from platform_api_python_client.models.api_key_response import APIKeyResponse
|
|
19
|
+
from platform_api_python_client.models.backend_protocol import BackendProtocol
|
|
19
20
|
from platform_api_python_client.models.c_serve_recipe_perf import CServeRecipePerf
|
|
20
21
|
from platform_api_python_client.models.c_serve_recipe_response import CServeRecipeResponse
|
|
21
22
|
from platform_api_python_client.models.c_serve_v2_recipe import CServeV2Recipe
|
|
@@ -81,3 +82,4 @@ from platform_api_python_client.models.user_vault_item import UserVaultItem
|
|
|
81
82
|
from platform_api_python_client.models.user_vault_type import UserVaultType
|
|
82
83
|
from platform_api_python_client.models.validation_error import ValidationError
|
|
83
84
|
from platform_api_python_client.models.validation_error_loc_inner import ValidationErrorLocInner
|
|
85
|
+
from platform_api_python_client.models.vault_scope import VaultScope
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Platform External API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
from typing_extensions import Self
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class BackendProtocol(str, Enum):
|
|
22
|
+
"""
|
|
23
|
+
BackendProtocol
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
allowed enum values
|
|
28
|
+
"""
|
|
29
|
+
HTTP = 'HTTP'
|
|
30
|
+
GRPC = 'GRPC'
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_json(cls, json_str: str) -> Self:
|
|
34
|
+
"""Create an instance of BackendProtocol from a JSON string"""
|
|
35
|
+
return cls(json.loads(json_str))
|
|
36
|
+
|
|
37
|
+
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from platform_api_python_client.models.backend_protocol import BackendProtocol
|
|
23
24
|
from platform_api_python_client.models.image_pull_secret_credentials import ImagePullSecretCredentials
|
|
24
25
|
from typing import Optional, Set
|
|
25
26
|
from typing_extensions import Self
|
|
@@ -45,7 +46,8 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
|
|
|
45
46
|
command: Optional[StrictStr] = None
|
|
46
47
|
endpoint_bearer_token: Optional[StrictStr] = None
|
|
47
48
|
endpoint_certificate_authority: Optional[StrictStr] = None
|
|
48
|
-
|
|
49
|
+
backend_protocol: Optional[BackendProtocol] = None
|
|
50
|
+
__properties: ClassVar[List[str]] = ["max_surge", "max_unavailable", "name", "cluster_id", "hardware_instance_id", "image_url", "image_pull_secret_credentials", "port", "min_replicas", "max_replicas", "initial_replicas", "concurrency", "healthcheck", "env_vars", "command", "endpoint_bearer_token", "endpoint_certificate_authority", "backend_protocol"]
|
|
49
51
|
|
|
50
52
|
@field_validator('name')
|
|
51
53
|
def name_validate_regular_expression(cls, value):
|
|
@@ -174,7 +176,8 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
|
|
|
174
176
|
"env_vars": obj.get("env_vars"),
|
|
175
177
|
"command": obj.get("command"),
|
|
176
178
|
"endpoint_bearer_token": obj.get("endpoint_bearer_token"),
|
|
177
|
-
"endpoint_certificate_authority": obj.get("endpoint_certificate_authority")
|
|
179
|
+
"endpoint_certificate_authority": obj.get("endpoint_certificate_authority"),
|
|
180
|
+
"backend_protocol": obj.get("backend_protocol")
|
|
178
181
|
})
|
|
179
182
|
return _obj
|
|
180
183
|
|
|
@@ -27,9 +27,10 @@ class GetClusterResponse(BaseModel):
|
|
|
27
27
|
GetClusterResponse
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
id: StrictInt
|
|
30
|
+
cluster_name: StrictStr
|
|
30
31
|
display_name: StrictStr
|
|
31
32
|
region: Optional[StrictStr] = None
|
|
32
|
-
__properties: ClassVar[List[str]] = ["id", "display_name", "region"]
|
|
33
|
+
__properties: ClassVar[List[str]] = ["id", "cluster_name", "display_name", "region"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
@@ -88,6 +89,7 @@ class GetClusterResponse(BaseModel):
|
|
|
88
89
|
|
|
89
90
|
_obj = cls.model_validate({
|
|
90
91
|
"id": obj.get("id"),
|
|
92
|
+
"cluster_name": obj.get("cluster_name"),
|
|
91
93
|
"display_name": obj.get("display_name"),
|
|
92
94
|
"region": obj.get("region")
|
|
93
95
|
})
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
from datetime import datetime
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from platform_api_python_client.models.backend_protocol import BackendProtocol
|
|
23
24
|
from platform_api_python_client.models.deployment_status import DeploymentStatus
|
|
24
25
|
from platform_api_python_client.models.deployment_type import DeploymentType
|
|
25
26
|
from platform_api_python_client.models.image_pull_secret_credentials import ImagePullSecretCredentials
|
|
@@ -52,8 +53,10 @@ class GetInferenceV3DeploymentResponse(BaseModel):
|
|
|
52
53
|
env_vars: Optional[Dict[str, StrictStr]] = None
|
|
53
54
|
command: Optional[List[StrictStr]] = None
|
|
54
55
|
command_args: Optional[List[StrictStr]] = None
|
|
56
|
+
original_command: Optional[StrictStr] = None
|
|
55
57
|
image_pull_secret_credentials: Optional[ImagePullSecretCredentials] = None
|
|
56
|
-
|
|
58
|
+
backend_protocol: Optional[BackendProtocol] = None
|
|
59
|
+
__properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "container_port", "min_replicas", "max_replicas", "initial_replicas", "concurrency", "healthcheck", "endpoint_certificate_authority", "endpoint_bearer_token", "env_vars", "command", "command_args", "original_command", "image_pull_secret_credentials", "backend_protocol"]
|
|
57
60
|
|
|
58
61
|
model_config = ConfigDict(
|
|
59
62
|
populate_by_name=True,
|
|
@@ -142,6 +145,11 @@ class GetInferenceV3DeploymentResponse(BaseModel):
|
|
|
142
145
|
if self.command_args is None and "command_args" in self.model_fields_set:
|
|
143
146
|
_dict['command_args'] = None
|
|
144
147
|
|
|
148
|
+
# set to None if original_command (nullable) is None
|
|
149
|
+
# and model_fields_set contains the field
|
|
150
|
+
if self.original_command is None and "original_command" in self.model_fields_set:
|
|
151
|
+
_dict['original_command'] = None
|
|
152
|
+
|
|
145
153
|
# set to None if image_pull_secret_credentials (nullable) is None
|
|
146
154
|
# and model_fields_set contains the field
|
|
147
155
|
if self.image_pull_secret_credentials is None and "image_pull_secret_credentials" in self.model_fields_set:
|
|
@@ -181,7 +189,9 @@ class GetInferenceV3DeploymentResponse(BaseModel):
|
|
|
181
189
|
"env_vars": obj.get("env_vars"),
|
|
182
190
|
"command": obj.get("command"),
|
|
183
191
|
"command_args": obj.get("command_args"),
|
|
184
|
-
"
|
|
192
|
+
"original_command": obj.get("original_command"),
|
|
193
|
+
"image_pull_secret_credentials": ImagePullSecretCredentials.from_dict(obj["image_pull_secret_credentials"]) if obj.get("image_pull_secret_credentials") is not None else None,
|
|
194
|
+
"backend_protocol": obj.get("backend_protocol")
|
|
185
195
|
})
|
|
186
196
|
return _obj
|
|
187
197
|
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from platform_api_python_client.models.user_vault_type import UserVaultType
|
|
23
|
+
from platform_api_python_client.models.vault_scope import VaultScope
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -30,7 +31,8 @@ class UserVaultItem(BaseModel):
|
|
|
30
31
|
type: UserVaultType
|
|
31
32
|
key: StrictStr
|
|
32
33
|
value: Optional[StrictStr] = None
|
|
33
|
-
|
|
34
|
+
visibility: Optional[VaultScope] = None
|
|
35
|
+
__properties: ClassVar[List[str]] = ["type", "key", "value", "visibility"]
|
|
34
36
|
|
|
35
37
|
model_config = ConfigDict(
|
|
36
38
|
populate_by_name=True,
|
|
@@ -90,7 +92,8 @@ class UserVaultItem(BaseModel):
|
|
|
90
92
|
_obj = cls.model_validate({
|
|
91
93
|
"type": obj.get("type"),
|
|
92
94
|
"key": obj.get("key"),
|
|
93
|
-
"value": obj.get("value")
|
|
95
|
+
"value": obj.get("value"),
|
|
96
|
+
"visibility": obj.get("visibility")
|
|
94
97
|
})
|
|
95
98
|
return _obj
|
|
96
99
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Platform External API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
from typing_extensions import Self
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class VaultScope(str, Enum):
|
|
22
|
+
"""
|
|
23
|
+
VaultScope
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
allowed enum values
|
|
28
|
+
"""
|
|
29
|
+
USER = 'USER'
|
|
30
|
+
ORG = 'ORG'
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_json(cls, json_str: str) -> Self:
|
|
34
|
+
"""Create an instance of VaultScope from a JSON string"""
|
|
35
|
+
return cls(json.loads(json_str))
|
|
36
|
+
|
|
37
|
+
|
|
@@ -19,6 +19,7 @@ platform_api_python_client/api/external_api.py
|
|
|
19
19
|
platform_api_python_client/models/__init__.py
|
|
20
20
|
platform_api_python_client/models/api_key_request.py
|
|
21
21
|
platform_api_python_client/models/api_key_response.py
|
|
22
|
+
platform_api_python_client/models/backend_protocol.py
|
|
22
23
|
platform_api_python_client/models/c_serve_recipe_perf.py
|
|
23
24
|
platform_api_python_client/models/c_serve_recipe_response.py
|
|
24
25
|
platform_api_python_client/models/c_serve_v2_recipe.py
|
|
@@ -84,8 +85,10 @@ platform_api_python_client/models/user_vault_item.py
|
|
|
84
85
|
platform_api_python_client/models/user_vault_type.py
|
|
85
86
|
platform_api_python_client/models/validation_error.py
|
|
86
87
|
platform_api_python_client/models/validation_error_loc_inner.py
|
|
88
|
+
platform_api_python_client/models/vault_scope.py
|
|
87
89
|
test/test_api_key_request.py
|
|
88
90
|
test/test_api_key_response.py
|
|
91
|
+
test/test_backend_protocol.py
|
|
89
92
|
test/test_c_serve_recipe_perf.py
|
|
90
93
|
test/test_c_serve_recipe_response.py
|
|
91
94
|
test/test_c_serve_v2_recipe.py
|
|
@@ -151,4 +154,5 @@ test/test_update_deployment_status_v3_request.py
|
|
|
151
154
|
test/test_user_vault_item.py
|
|
152
155
|
test/test_user_vault_type.py
|
|
153
156
|
test/test_validation_error.py
|
|
154
|
-
test/test_validation_error_loc_inner.py
|
|
157
|
+
test/test_validation_error_loc_inner.py
|
|
158
|
+
test/test_vault_scope.py
|
|
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
21
21
|
# prerequisite: setuptools
|
|
22
22
|
# http://pypi.python.org/pypi/setuptools
|
|
23
23
|
NAME = "platform-api-python-client"
|
|
24
|
-
VERSION = "4.
|
|
24
|
+
VERSION = "4.6.0"
|
|
25
25
|
PYTHON_REQUIRES = ">= 3.8"
|
|
26
26
|
REQUIRES = [
|
|
27
27
|
"urllib3 >= 1.25.3, < 3.0.0",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Platform External API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from platform_api_python_client.models.backend_protocol import BackendProtocol
|
|
18
|
+
|
|
19
|
+
class TestBackendProtocol(unittest.TestCase):
|
|
20
|
+
"""BackendProtocol unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def testBackendProtocol(self):
|
|
29
|
+
"""Test BackendProtocol"""
|
|
30
|
+
# inst = BackendProtocol()
|
|
31
|
+
|
|
32
|
+
if __name__ == '__main__':
|
|
33
|
+
unittest.main()
|
|
@@ -55,7 +55,8 @@ class TestCreateInferenceV3DeploymentRequest(unittest.TestCase):
|
|
|
55
55
|
},
|
|
56
56
|
command = '',
|
|
57
57
|
endpoint_bearer_token = '',
|
|
58
|
-
endpoint_certificate_authority = ''
|
|
58
|
+
endpoint_certificate_authority = '',
|
|
59
|
+
backend_protocol = 'HTTP'
|
|
59
60
|
)
|
|
60
61
|
else:
|
|
61
62
|
return CreateInferenceV3DeploymentRequest(
|
|
@@ -65,9 +65,11 @@ class TestDeploymentResponse(unittest.TestCase):
|
|
|
65
65
|
command_args = [
|
|
66
66
|
''
|
|
67
67
|
],
|
|
68
|
+
original_command = '',
|
|
68
69
|
image_pull_secret_credentials = platform_api_python_client.models.image_pull_secret_credentials.ImagePullSecretCredentials(
|
|
69
70
|
username = '',
|
|
70
|
-
password = '', )
|
|
71
|
+
password = '', ),
|
|
72
|
+
backend_protocol = 'HTTP'
|
|
71
73
|
)
|
|
72
74
|
else:
|
|
73
75
|
return DeploymentResponse(
|
|
@@ -36,12 +36,14 @@ class TestGetClusterResponse(unittest.TestCase):
|
|
|
36
36
|
if include_optional:
|
|
37
37
|
return GetClusterResponse(
|
|
38
38
|
id = 56,
|
|
39
|
+
cluster_name = '',
|
|
39
40
|
display_name = '',
|
|
40
41
|
region = ''
|
|
41
42
|
)
|
|
42
43
|
else:
|
|
43
44
|
return GetClusterResponse(
|
|
44
45
|
id = 56,
|
|
46
|
+
cluster_name = '',
|
|
45
47
|
display_name = '',
|
|
46
48
|
)
|
|
47
49
|
"""
|
|
@@ -63,9 +63,11 @@ class TestGetInferenceV3DeploymentResponse(unittest.TestCase):
|
|
|
63
63
|
command_args = [
|
|
64
64
|
''
|
|
65
65
|
],
|
|
66
|
+
original_command = '',
|
|
66
67
|
image_pull_secret_credentials = platform_api_python_client.models.image_pull_secret_credentials.ImagePullSecretCredentials(
|
|
67
68
|
username = '',
|
|
68
|
-
password = '', )
|
|
69
|
+
password = '', ),
|
|
70
|
+
backend_protocol = 'HTTP'
|
|
69
71
|
)
|
|
70
72
|
else:
|
|
71
73
|
return GetInferenceV3DeploymentResponse(
|
|
@@ -38,6 +38,7 @@ class TestListGetClusterResponse(unittest.TestCase):
|
|
|
38
38
|
results = [
|
|
39
39
|
platform_api_python_client.models.get_cluster_response.GetClusterResponse(
|
|
40
40
|
id = 56,
|
|
41
|
+
cluster_name = '',
|
|
41
42
|
display_name = '',
|
|
42
43
|
region = '', )
|
|
43
44
|
]
|
|
@@ -47,6 +48,7 @@ class TestListGetClusterResponse(unittest.TestCase):
|
|
|
47
48
|
results = [
|
|
48
49
|
platform_api_python_client.models.get_cluster_response.GetClusterResponse(
|
|
49
50
|
id = 56,
|
|
51
|
+
cluster_name = '',
|
|
50
52
|
display_name = '',
|
|
51
53
|
region = '', )
|
|
52
54
|
],
|
|
@@ -39,7 +39,8 @@ class TestListUserVaultItemsResponse(unittest.TestCase):
|
|
|
39
39
|
platform_api_python_client.models.user_vault_item.UserVaultItem(
|
|
40
40
|
type = 'env_vars',
|
|
41
41
|
key = '',
|
|
42
|
-
value = '',
|
|
42
|
+
value = '',
|
|
43
|
+
visibility = 'USER', )
|
|
43
44
|
]
|
|
44
45
|
)
|
|
45
46
|
else:
|
|
@@ -48,7 +49,8 @@ class TestListUserVaultItemsResponse(unittest.TestCase):
|
|
|
48
49
|
platform_api_python_client.models.user_vault_item.UserVaultItem(
|
|
49
50
|
type = 'env_vars',
|
|
50
51
|
key = '',
|
|
51
|
-
value = '',
|
|
52
|
+
value = '',
|
|
53
|
+
visibility = 'USER', )
|
|
52
54
|
],
|
|
53
55
|
)
|
|
54
56
|
"""
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Platform External API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from platform_api_python_client.models.vault_scope import VaultScope
|
|
18
|
+
|
|
19
|
+
class TestVaultScope(unittest.TestCase):
|
|
20
|
+
"""VaultScope unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def testVaultScope(self):
|
|
29
|
+
"""Test VaultScope"""
|
|
30
|
+
# inst = VaultScope()
|
|
31
|
+
|
|
32
|
+
if __name__ == '__main__':
|
|
33
|
+
unittest.main()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_api_key_request.py
RENAMED
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_api_key_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_c_serve_v2_recipe.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_credits_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_type.py
RENAMED
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_deployment_usage.py
RENAMED
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_external_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_pod_details.py
RENAMED
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_pod_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_rollout_status.py
RENAMED
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_service_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_user_vault_type.py
RENAMED
|
File without changes
|
{platform_api_python_client-4.1.9 → platform_api_python_client-4.6.0}/test/test_validation_error.py
RENAMED
|
File without changes
|
|
File without changes
|