platform-api-python-client 4.8.3__tar.gz → 4.8.4__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.
Files changed (167) hide show
  1. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/PKG-INFO +1 -1
  2. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/README.md +1 -1
  3. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/__init__.py +1 -1
  4. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/api_client.py +1 -1
  5. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/configuration.py +1 -1
  6. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_c_serve_v2_deployment_request.py +8 -1
  7. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_c_serve_v3_deployment_request.py +8 -1
  8. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_compute_deployment_request.py +8 -1
  9. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_inference_deployment_request.py +8 -1
  10. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_inference_v3_deployment_request.py +8 -1
  11. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_rag_deployment_request.py +8 -1
  12. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_c_serve_v2_deployment_response.py +8 -1
  13. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_c_serve_v3_deployment_response.py +8 -1
  14. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_compute_deployment_response.py +8 -1
  15. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_deployment_response.py +9 -2
  16. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_inference_deployment_response.py +8 -1
  17. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_inference_v3_deployment_response.py +8 -1
  18. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_rag_deployment_response.py +8 -1
  19. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client.egg-info/PKG-INFO +1 -1
  20. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/pyproject.toml +1 -1
  21. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/setup.py +1 -1
  22. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_c_serve_v2_deployment_request.py +3 -0
  23. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_c_serve_v3_deployment_request.py +3 -0
  24. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_compute_deployment_request.py +3 -0
  25. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_inference_deployment_request.py +3 -0
  26. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_inference_v3_deployment_request.py +3 -0
  27. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_rag_deployment_request.py +3 -0
  28. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_response.py +3 -0
  29. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_c_serve_v2_deployment_response.py +3 -0
  30. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_c_serve_v3_deployment_response.py +3 -0
  31. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_compute_deployment_response.py +3 -0
  32. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_deployment_response.py +4 -1
  33. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_inference_deployment_response.py +3 -0
  34. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_inference_v3_deployment_response.py +3 -0
  35. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_rag_deployment_response.py +3 -0
  36. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_get_deployment_response.py +8 -2
  37. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/api/__init__.py +0 -0
  38. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/api/external_api.py +0 -0
  39. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/api_response.py +0 -0
  40. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/exceptions.py +0 -0
  41. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/__init__.py +0 -0
  42. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/api_key_request.py +0 -0
  43. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/api_key_response.py +0 -0
  44. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/backend_protocol.py +0 -0
  45. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/c_serve_recipe_perf.py +0 -0
  46. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/c_serve_recipe_response.py +0 -0
  47. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/c_serve_v2_recipe.py +0 -0
  48. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/cluster_capacity_response.py +0 -0
  49. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_c_serve_v2_deployment_response.py +0 -0
  50. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_c_serve_v3_deployment_response.py +0 -0
  51. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_compute_deployment_response.py +0 -0
  52. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_inference_deployment_response.py +0 -0
  53. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_organization_request.py +0 -0
  54. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_organization_response.py +0 -0
  55. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_rag_deployment_response.py +0 -0
  56. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_url_request.py +0 -0
  57. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/create_url_response.py +0 -0
  58. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/credits_response.py +0 -0
  59. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/daily_bill_response.py +0 -0
  60. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_response.py +0 -0
  61. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_status.py +0 -0
  62. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_status_request.py +0 -0
  63. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_status_response.py +0 -0
  64. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_status_v3_response.py +0 -0
  65. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_type.py +0 -0
  66. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_usage.py +0 -0
  67. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/deployment_usage_value.py +0 -0
  68. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_cluster_response.py +0 -0
  69. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_deployment_log_response.py +0 -0
  70. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_deployment_revision_response.py +0 -0
  71. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/get_deployment_usage_response.py +0 -0
  72. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/gpu_type_capacity.py +0 -0
  73. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/hardware_instance_response.py +0 -0
  74. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/http_validation_error.py +0 -0
  75. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/image_pull_secret_credentials.py +0 -0
  76. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/invite_user_request.py +0 -0
  77. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_api_key_response.py +0 -0
  78. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_c_serve_recipe_response.py +0 -0
  79. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_cluster_capacity_response.py +0 -0
  80. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_daily_bill_response.py +0 -0
  81. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_deployment_revisions_response.py +0 -0
  82. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_get_cluster_response.py +0 -0
  83. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_get_deployment_response.py +0 -0
  84. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_hardware_instance_response.py +0 -0
  85. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_prebuilt_image_response.py +0 -0
  86. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/list_user_vault_items_response.py +0 -0
  87. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/metric.py +0 -0
  88. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/pod_details.py +0 -0
  89. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/pod_status.py +0 -0
  90. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/prebuilt_image_response.py +0 -0
  91. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/revision_pod_details.py +0 -0
  92. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/rollout_status.py +0 -0
  93. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/rollout_strategy_params.py +0 -0
  94. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/service_status.py +0 -0
  95. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/update_deployment_response.py +0 -0
  96. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/update_deployment_status_v3_request.py +0 -0
  97. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/user_vault_item.py +0 -0
  98. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/user_vault_type.py +0 -0
  99. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/validation_error.py +0 -0
  100. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/validation_error_loc_inner.py +0 -0
  101. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/models/vault_scope.py +0 -0
  102. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/py.typed +0 -0
  103. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client/rest.py +0 -0
  104. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client.egg-info/SOURCES.txt +0 -0
  105. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client.egg-info/dependency_links.txt +0 -0
  106. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client.egg-info/requires.txt +0 -0
  107. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/platform_api_python_client.egg-info/top_level.txt +0 -0
  108. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/setup.cfg +0 -0
  109. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_api_key_request.py +0 -0
  110. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_api_key_response.py +0 -0
  111. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_backend_protocol.py +0 -0
  112. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_c_serve_recipe_perf.py +0 -0
  113. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_c_serve_recipe_response.py +0 -0
  114. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_c_serve_v2_recipe.py +0 -0
  115. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_cluster_capacity_response.py +0 -0
  116. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_c_serve_v2_deployment_response.py +0 -0
  117. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_c_serve_v3_deployment_response.py +0 -0
  118. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_compute_deployment_response.py +0 -0
  119. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_inference_deployment_response.py +0 -0
  120. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_organization_request.py +0 -0
  121. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_organization_response.py +0 -0
  122. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_rag_deployment_response.py +0 -0
  123. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_url_request.py +0 -0
  124. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_create_url_response.py +0 -0
  125. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_credits_response.py +0 -0
  126. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_daily_bill_response.py +0 -0
  127. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_status.py +0 -0
  128. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_status_request.py +0 -0
  129. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_status_response.py +0 -0
  130. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_status_v3_response.py +0 -0
  131. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_type.py +0 -0
  132. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_usage.py +0 -0
  133. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_deployment_usage_value.py +0 -0
  134. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_external_api.py +0 -0
  135. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_cluster_response.py +0 -0
  136. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_deployment_log_response.py +0 -0
  137. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_deployment_revision_response.py +0 -0
  138. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_get_deployment_usage_response.py +0 -0
  139. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_gpu_type_capacity.py +0 -0
  140. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_hardware_instance_response.py +0 -0
  141. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_http_validation_error.py +0 -0
  142. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_image_pull_secret_credentials.py +0 -0
  143. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_invite_user_request.py +0 -0
  144. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_api_key_response.py +0 -0
  145. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_c_serve_recipe_response.py +0 -0
  146. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_cluster_capacity_response.py +0 -0
  147. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_daily_bill_response.py +0 -0
  148. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_deployment_revisions_response.py +0 -0
  149. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_get_cluster_response.py +0 -0
  150. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_hardware_instance_response.py +0 -0
  151. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_prebuilt_image_response.py +0 -0
  152. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_list_user_vault_items_response.py +0 -0
  153. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_metric.py +0 -0
  154. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_pod_details.py +0 -0
  155. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_pod_status.py +0 -0
  156. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_prebuilt_image_response.py +0 -0
  157. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_revision_pod_details.py +0 -0
  158. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_rollout_status.py +0 -0
  159. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_rollout_strategy_params.py +0 -0
  160. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_service_status.py +0 -0
  161. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_update_deployment_response.py +0 -0
  162. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_update_deployment_status_v3_request.py +0 -0
  163. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_user_vault_item.py +0 -0
  164. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_user_vault_type.py +0 -0
  165. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_validation_error.py +0 -0
  166. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_validation_error_loc_inner.py +0 -0
  167. {platform_api_python_client-4.8.3 → platform_api_python_client-4.8.4}/test/test_vault_scope.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: platform-api-python-client
3
- Version: 4.8.3
3
+ Version: 4.8.4
4
4
  Summary: Platform External API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -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.8.3
7
+ - Package version: 4.8.4
8
8
  - Generator version: 7.9.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
 
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "4.8.3"
17
+ __version__ = "4.8.4"
18
18
 
19
19
  # import apis into sdk package
20
20
  from platform_api_python_client.api.external_api import EXTERNALApi
@@ -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.8.3/python'
93
+ self.user_agent = 'OpenAPI-Generator/4.8.4/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.8.3".\
395
+ "SDK Package Version: 4.8.4".\
396
396
  format(env=sys.platform, pyversion=sys.version)
397
397
 
398
398
  def get_host_settings(self):
@@ -31,6 +31,7 @@ class CreateCServeV2DeploymentRequest(BaseModel):
31
31
  name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
32
32
  cluster_id: StrictInt
33
33
  hardware_instance_id: StrictInt
34
+ user_annotations: Optional[Dict[str, StrictStr]] = None
34
35
  recipe: CServeV2Recipe
35
36
  cserve_version: Optional[StrictStr] = None
36
37
  hf_token: Optional[StrictStr] = None
@@ -41,7 +42,7 @@ class CreateCServeV2DeploymentRequest(BaseModel):
41
42
  initial_scale: Optional[StrictInt] = None
42
43
  concurrency: Optional[StrictInt] = None
43
44
  env_vars: Optional[Dict[str, StrictStr]] = None
44
- __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "recipe", "cserve_version", "hf_token", "endpoint_bearer_token", "endpoint_certificate_authority", "min_scale", "max_scale", "initial_scale", "concurrency", "env_vars"]
45
+ __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "user_annotations", "recipe", "cserve_version", "hf_token", "endpoint_bearer_token", "endpoint_certificate_authority", "min_scale", "max_scale", "initial_scale", "concurrency", "env_vars"]
45
46
 
46
47
  @field_validator('name')
47
48
  def name_validate_regular_expression(cls, value):
@@ -92,6 +93,11 @@ class CreateCServeV2DeploymentRequest(BaseModel):
92
93
  # override the default output from pydantic by calling `to_dict()` of recipe
93
94
  if self.recipe:
94
95
  _dict['recipe'] = self.recipe.to_dict()
96
+ # set to None if user_annotations (nullable) is None
97
+ # and model_fields_set contains the field
98
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
99
+ _dict['user_annotations'] = None
100
+
95
101
  # set to None if cserve_version (nullable) is None
96
102
  # and model_fields_set contains the field
97
103
  if self.cserve_version is None and "cserve_version" in self.model_fields_set:
@@ -137,6 +143,7 @@ class CreateCServeV2DeploymentRequest(BaseModel):
137
143
  "name": obj.get("name"),
138
144
  "cluster_id": obj.get("cluster_id"),
139
145
  "hardware_instance_id": obj.get("hardware_instance_id"),
146
+ "user_annotations": obj.get("user_annotations"),
140
147
  "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
141
148
  "cserve_version": obj.get("cserve_version"),
142
149
  "hf_token": obj.get("hf_token"),
@@ -33,6 +33,7 @@ class CreateCServeV3DeploymentRequest(BaseModel):
33
33
  name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
34
34
  cluster_id: StrictInt
35
35
  hardware_instance_id: StrictInt
36
+ user_annotations: Optional[Dict[str, StrictStr]] = None
36
37
  recipe: CServeV2Recipe
37
38
  cserve_version: Optional[StrictStr] = None
38
39
  hf_token: Optional[StrictStr] = None
@@ -44,7 +45,7 @@ class CreateCServeV3DeploymentRequest(BaseModel):
44
45
  concurrency: Optional[StrictInt] = None
45
46
  env_vars: Optional[Dict[str, StrictStr]] = None
46
47
  enable_logging: Optional[StrictBool] = True
47
- __properties: ClassVar[List[str]] = ["max_surge", "max_unavailable", "name", "cluster_id", "hardware_instance_id", "recipe", "cserve_version", "hf_token", "endpoint_bearer_token", "endpoint_certificate_authority", "min_replicas", "max_replicas", "initial_replicas", "concurrency", "env_vars", "enable_logging"]
48
+ __properties: ClassVar[List[str]] = ["max_surge", "max_unavailable", "name", "cluster_id", "hardware_instance_id", "user_annotations", "recipe", "cserve_version", "hf_token", "endpoint_bearer_token", "endpoint_certificate_authority", "min_replicas", "max_replicas", "initial_replicas", "concurrency", "env_vars", "enable_logging"]
48
49
 
49
50
  @field_validator('name')
50
51
  def name_validate_regular_expression(cls, value):
@@ -105,6 +106,11 @@ class CreateCServeV3DeploymentRequest(BaseModel):
105
106
  if self.max_unavailable is None and "max_unavailable" in self.model_fields_set:
106
107
  _dict['max_unavailable'] = None
107
108
 
109
+ # set to None if user_annotations (nullable) is None
110
+ # and model_fields_set contains the field
111
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
112
+ _dict['user_annotations'] = None
113
+
108
114
  # set to None if cserve_version (nullable) is None
109
115
  # and model_fields_set contains the field
110
116
  if self.cserve_version is None and "cserve_version" in self.model_fields_set:
@@ -152,6 +158,7 @@ class CreateCServeV3DeploymentRequest(BaseModel):
152
158
  "name": obj.get("name"),
153
159
  "cluster_id": obj.get("cluster_id"),
154
160
  "hardware_instance_id": obj.get("hardware_instance_id"),
161
+ "user_annotations": obj.get("user_annotations"),
155
162
  "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
156
163
  "cserve_version": obj.get("cserve_version"),
157
164
  "hf_token": obj.get("hf_token"),
@@ -30,11 +30,12 @@ class CreateComputeDeploymentRequest(BaseModel):
30
30
  name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
31
31
  cluster_id: StrictInt
32
32
  hardware_instance_id: StrictInt
33
+ user_annotations: Optional[Dict[str, StrictStr]] = None
33
34
  image_url: StrictStr
34
35
  enable_jupyter: Optional[StrictBool] = False
35
36
  ssh_public_key: StrictStr
36
37
  enable_logging: Optional[StrictBool] = False
37
- __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "image_url", "enable_jupyter", "ssh_public_key", "enable_logging"]
38
+ __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "user_annotations", "image_url", "enable_jupyter", "ssh_public_key", "enable_logging"]
38
39
 
39
40
  @field_validator('name')
40
41
  def name_validate_regular_expression(cls, value):
@@ -82,6 +83,11 @@ class CreateComputeDeploymentRequest(BaseModel):
82
83
  exclude=excluded_fields,
83
84
  exclude_none=True,
84
85
  )
86
+ # set to None if user_annotations (nullable) is None
87
+ # and model_fields_set contains the field
88
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
89
+ _dict['user_annotations'] = None
90
+
85
91
  return _dict
86
92
 
87
93
  @classmethod
@@ -97,6 +103,7 @@ class CreateComputeDeploymentRequest(BaseModel):
97
103
  "name": obj.get("name"),
98
104
  "cluster_id": obj.get("cluster_id"),
99
105
  "hardware_instance_id": obj.get("hardware_instance_id"),
106
+ "user_annotations": obj.get("user_annotations"),
100
107
  "image_url": obj.get("image_url"),
101
108
  "enable_jupyter": obj.get("enable_jupyter") if obj.get("enable_jupyter") is not None else False,
102
109
  "ssh_public_key": obj.get("ssh_public_key"),
@@ -30,6 +30,7 @@ class CreateInferenceDeploymentRequest(BaseModel):
30
30
  name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
31
31
  cluster_id: StrictInt
32
32
  hardware_instance_id: StrictInt
33
+ user_annotations: Optional[Dict[str, StrictStr]] = None
33
34
  image_url: StrictStr
34
35
  port: StrictInt
35
36
  min_scale: StrictInt
@@ -41,7 +42,7 @@ class CreateInferenceDeploymentRequest(BaseModel):
41
42
  command: Optional[StrictStr] = None
42
43
  endpoint_bearer_token: Optional[StrictStr] = None
43
44
  endpoint_certificate_authority: Optional[StrictStr] = None
44
- __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "image_url", "port", "min_scale", "max_scale", "initial_scale", "concurrency", "healthcheck", "env_vars", "command", "endpoint_bearer_token", "endpoint_certificate_authority"]
45
+ __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "user_annotations", "image_url", "port", "min_scale", "max_scale", "initial_scale", "concurrency", "healthcheck", "env_vars", "command", "endpoint_bearer_token", "endpoint_certificate_authority"]
45
46
 
46
47
  @field_validator('name')
47
48
  def name_validate_regular_expression(cls, value):
@@ -89,6 +90,11 @@ class CreateInferenceDeploymentRequest(BaseModel):
89
90
  exclude=excluded_fields,
90
91
  exclude_none=True,
91
92
  )
93
+ # set to None if user_annotations (nullable) is None
94
+ # and model_fields_set contains the field
95
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
96
+ _dict['user_annotations'] = None
97
+
92
98
  # set to None if initial_scale (nullable) is None
93
99
  # and model_fields_set contains the field
94
100
  if self.initial_scale is None and "initial_scale" in self.model_fields_set:
@@ -139,6 +145,7 @@ class CreateInferenceDeploymentRequest(BaseModel):
139
145
  "name": obj.get("name"),
140
146
  "cluster_id": obj.get("cluster_id"),
141
147
  "hardware_instance_id": obj.get("hardware_instance_id"),
148
+ "user_annotations": obj.get("user_annotations"),
142
149
  "image_url": obj.get("image_url"),
143
150
  "port": obj.get("port"),
144
151
  "min_scale": obj.get("min_scale"),
@@ -34,6 +34,7 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
34
34
  name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
35
35
  cluster_id: StrictInt
36
36
  hardware_instance_id: StrictInt
37
+ user_annotations: Optional[Dict[str, StrictStr]] = None
37
38
  image_url: StrictStr
38
39
  image_pull_secret_credentials: Optional[ImagePullSecretCredentials] = None
39
40
  port: StrictInt
@@ -48,7 +49,7 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
48
49
  endpoint_certificate_authority: Optional[StrictStr] = None
49
50
  backend_protocol: Optional[BackendProtocol] = None
50
51
  enable_logging: Optional[StrictBool] = False
51
- __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", "enable_logging"]
52
+ __properties: ClassVar[List[str]] = ["max_surge", "max_unavailable", "name", "cluster_id", "hardware_instance_id", "user_annotations", "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", "enable_logging"]
52
53
 
53
54
  @field_validator('name')
54
55
  def name_validate_regular_expression(cls, value):
@@ -109,6 +110,11 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
109
110
  if self.max_unavailable is None and "max_unavailable" in self.model_fields_set:
110
111
  _dict['max_unavailable'] = None
111
112
 
113
+ # set to None if user_annotations (nullable) is None
114
+ # and model_fields_set contains the field
115
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
116
+ _dict['user_annotations'] = None
117
+
112
118
  # set to None if image_pull_secret_credentials (nullable) is None
113
119
  # and model_fields_set contains the field
114
120
  if self.image_pull_secret_credentials is None and "image_pull_secret_credentials" in self.model_fields_set:
@@ -166,6 +172,7 @@ class CreateInferenceV3DeploymentRequest(BaseModel):
166
172
  "name": obj.get("name"),
167
173
  "cluster_id": obj.get("cluster_id"),
168
174
  "hardware_instance_id": obj.get("hardware_instance_id"),
175
+ "user_annotations": obj.get("user_annotations"),
169
176
  "image_url": obj.get("image_url"),
170
177
  "image_pull_secret_credentials": ImagePullSecretCredentials.from_dict(obj["image_pull_secret_credentials"]) if obj.get("image_pull_secret_credentials") is not None else None,
171
178
  "port": obj.get("port"),
@@ -31,6 +31,7 @@ class CreateRagDeploymentRequest(BaseModel):
31
31
  name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
32
32
  cluster_id: StrictInt
33
33
  hardware_instance_id: StrictInt
34
+ user_annotations: Optional[Dict[str, StrictStr]] = None
34
35
  recipe: CServeV2Recipe
35
36
  cserve_version: Optional[StrictStr] = None
36
37
  hf_token: Optional[StrictStr] = None
@@ -43,7 +44,7 @@ class CreateRagDeploymentRequest(BaseModel):
43
44
  endpoint_certificate_authority: Optional[StrictStr] = None
44
45
  concurrency: Optional[StrictInt] = None
45
46
  env_vars: Optional[Dict[str, StrictStr]] = None
46
- __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "recipe", "cserve_version", "hf_token", "llm_model", "centml_api_key", "min_scale", "max_scale", "initial_scale", "endpoint_bearer_token", "endpoint_certificate_authority", "concurrency", "env_vars"]
47
+ __properties: ClassVar[List[str]] = ["name", "cluster_id", "hardware_instance_id", "user_annotations", "recipe", "cserve_version", "hf_token", "llm_model", "centml_api_key", "min_scale", "max_scale", "initial_scale", "endpoint_bearer_token", "endpoint_certificate_authority", "concurrency", "env_vars"]
47
48
 
48
49
  @field_validator('name')
49
50
  def name_validate_regular_expression(cls, value):
@@ -94,6 +95,11 @@ class CreateRagDeploymentRequest(BaseModel):
94
95
  # override the default output from pydantic by calling `to_dict()` of recipe
95
96
  if self.recipe:
96
97
  _dict['recipe'] = self.recipe.to_dict()
98
+ # set to None if user_annotations (nullable) is None
99
+ # and model_fields_set contains the field
100
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
101
+ _dict['user_annotations'] = None
102
+
97
103
  # set to None if cserve_version (nullable) is None
98
104
  # and model_fields_set contains the field
99
105
  if self.cserve_version is None and "cserve_version" in self.model_fields_set:
@@ -139,6 +145,7 @@ class CreateRagDeploymentRequest(BaseModel):
139
145
  "name": obj.get("name"),
140
146
  "cluster_id": obj.get("cluster_id"),
141
147
  "hardware_instance_id": obj.get("hardware_instance_id"),
148
+ "user_annotations": obj.get("user_annotations"),
142
149
  "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
143
150
  "cserve_version": obj.get("cserve_version"),
144
151
  "hf_token": obj.get("hf_token"),
@@ -41,6 +41,7 @@ class GetCServeV2DeploymentResponse(BaseModel):
41
41
  created_at: datetime
42
42
  hardware_instance_id: StrictInt
43
43
  revision_number: StrictInt
44
+ user_annotations: Optional[Dict[str, StrictStr]] = None
44
45
  recipe: CServeV2Recipe
45
46
  cserve_version: Optional[StrictStr] = None
46
47
  min_scale: StrictInt
@@ -50,7 +51,7 @@ class GetCServeV2DeploymentResponse(BaseModel):
50
51
  endpoint_bearer_token: Optional[StrictStr] = None
51
52
  concurrency: Optional[StrictInt] = None
52
53
  env_vars: Optional[Dict[str, StrictStr]] = None
53
- __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "recipe", "cserve_version", "min_scale", "max_scale", "initial_scale", "endpoint_certificate_authority", "endpoint_bearer_token", "concurrency", "env_vars"]
54
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations", "recipe", "cserve_version", "min_scale", "max_scale", "initial_scale", "endpoint_certificate_authority", "endpoint_bearer_token", "concurrency", "env_vars"]
54
55
 
55
56
  model_config = ConfigDict(
56
57
  populate_by_name=True,
@@ -99,6 +100,11 @@ class GetCServeV2DeploymentResponse(BaseModel):
99
100
  if self.image_url is None and "image_url" in self.model_fields_set:
100
101
  _dict['image_url'] = None
101
102
 
103
+ # set to None if user_annotations (nullable) is None
104
+ # and model_fields_set contains the field
105
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
106
+ _dict['user_annotations'] = None
107
+
102
108
  # set to None if cserve_version (nullable) is None
103
109
  # and model_fields_set contains the field
104
110
  if self.cserve_version is None and "cserve_version" in self.model_fields_set:
@@ -147,6 +153,7 @@ class GetCServeV2DeploymentResponse(BaseModel):
147
153
  "created_at": obj.get("created_at"),
148
154
  "hardware_instance_id": obj.get("hardware_instance_id"),
149
155
  "revision_number": obj.get("revision_number"),
156
+ "user_annotations": obj.get("user_annotations"),
150
157
  "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
151
158
  "cserve_version": obj.get("cserve_version"),
152
159
  "min_scale": obj.get("min_scale"),
@@ -41,6 +41,7 @@ class GetCServeV3DeploymentResponse(BaseModel):
41
41
  created_at: datetime
42
42
  hardware_instance_id: StrictInt
43
43
  revision_number: StrictInt
44
+ user_annotations: Optional[Dict[str, StrictStr]] = None
44
45
  recipe: CServeV2Recipe
45
46
  cserve_version: Optional[StrictStr] = None
46
47
  min_replicas: StrictInt
@@ -51,7 +52,7 @@ class GetCServeV3DeploymentResponse(BaseModel):
51
52
  concurrency: Optional[StrictInt] = None
52
53
  env_vars: Optional[Dict[str, StrictStr]] = None
53
54
  enable_logging: Optional[StrictBool] = True
54
- __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "recipe", "cserve_version", "min_replicas", "max_replicas", "initial_replicas", "endpoint_certificate_authority", "endpoint_bearer_token", "concurrency", "env_vars", "enable_logging"]
55
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations", "recipe", "cserve_version", "min_replicas", "max_replicas", "initial_replicas", "endpoint_certificate_authority", "endpoint_bearer_token", "concurrency", "env_vars", "enable_logging"]
55
56
 
56
57
  model_config = ConfigDict(
57
58
  populate_by_name=True,
@@ -100,6 +101,11 @@ class GetCServeV3DeploymentResponse(BaseModel):
100
101
  if self.image_url is None and "image_url" in self.model_fields_set:
101
102
  _dict['image_url'] = None
102
103
 
104
+ # set to None if user_annotations (nullable) is None
105
+ # and model_fields_set contains the field
106
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
107
+ _dict['user_annotations'] = None
108
+
103
109
  # set to None if cserve_version (nullable) is None
104
110
  # and model_fields_set contains the field
105
111
  if self.cserve_version is None and "cserve_version" in self.model_fields_set:
@@ -148,6 +154,7 @@ class GetCServeV3DeploymentResponse(BaseModel):
148
154
  "created_at": obj.get("created_at"),
149
155
  "hardware_instance_id": obj.get("hardware_instance_id"),
150
156
  "revision_number": obj.get("revision_number"),
157
+ "user_annotations": obj.get("user_annotations"),
151
158
  "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
152
159
  "cserve_version": obj.get("cserve_version"),
153
160
  "min_replicas": obj.get("min_replicas"),
@@ -40,12 +40,13 @@ class GetComputeDeploymentResponse(BaseModel):
40
40
  created_at: datetime
41
41
  hardware_instance_id: StrictInt
42
42
  revision_number: StrictInt
43
+ user_annotations: Optional[Dict[str, StrictStr]] = None
43
44
  exposed_port: StrictInt
44
45
  ssh_public_key: Optional[StrictStr] = None
45
46
  ssh_password: Optional[StrictStr] = None
46
47
  env_vars: Optional[Dict[str, StrictStr]] = None
47
48
  enable_logging: Optional[StrictBool] = True
48
- __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "exposed_port", "ssh_public_key", "ssh_password", "env_vars", "enable_logging"]
49
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations", "exposed_port", "ssh_public_key", "ssh_password", "env_vars", "enable_logging"]
49
50
 
50
51
  model_config = ConfigDict(
51
52
  populate_by_name=True,
@@ -91,6 +92,11 @@ class GetComputeDeploymentResponse(BaseModel):
91
92
  if self.image_url is None and "image_url" in self.model_fields_set:
92
93
  _dict['image_url'] = None
93
94
 
95
+ # set to None if user_annotations (nullable) is None
96
+ # and model_fields_set contains the field
97
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
98
+ _dict['user_annotations'] = None
99
+
94
100
  # set to None if ssh_public_key (nullable) is None
95
101
  # and model_fields_set contains the field
96
102
  if self.ssh_public_key is None and "ssh_public_key" in self.model_fields_set:
@@ -129,6 +135,7 @@ class GetComputeDeploymentResponse(BaseModel):
129
135
  "created_at": obj.get("created_at"),
130
136
  "hardware_instance_id": obj.get("hardware_instance_id"),
131
137
  "revision_number": obj.get("revision_number"),
138
+ "user_annotations": obj.get("user_annotations"),
132
139
  "exposed_port": obj.get("exposed_port"),
133
140
  "ssh_public_key": obj.get("ssh_public_key"),
134
141
  "ssh_password": obj.get("ssh_password"),
@@ -40,7 +40,8 @@ class GetDeploymentResponse(BaseModel):
40
40
  created_at: datetime
41
41
  hardware_instance_id: StrictInt
42
42
  revision_number: StrictInt
43
- __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number"]
43
+ user_annotations: Optional[Dict[str, StrictStr]] = None
44
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations"]
44
45
 
45
46
  model_config = ConfigDict(
46
47
  populate_by_name=True,
@@ -86,6 +87,11 @@ class GetDeploymentResponse(BaseModel):
86
87
  if self.image_url is None and "image_url" in self.model_fields_set:
87
88
  _dict['image_url'] = None
88
89
 
90
+ # set to None if user_annotations (nullable) is None
91
+ # and model_fields_set contains the field
92
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
93
+ _dict['user_annotations'] = None
94
+
89
95
  return _dict
90
96
 
91
97
  @classmethod
@@ -108,7 +114,8 @@ class GetDeploymentResponse(BaseModel):
108
114
  "status": obj.get("status"),
109
115
  "created_at": obj.get("created_at"),
110
116
  "hardware_instance_id": obj.get("hardware_instance_id"),
111
- "revision_number": obj.get("revision_number")
117
+ "revision_number": obj.get("revision_number"),
118
+ "user_annotations": obj.get("user_annotations")
112
119
  })
113
120
  return _obj
114
121
 
@@ -40,6 +40,7 @@ class GetInferenceDeploymentResponse(BaseModel):
40
40
  created_at: datetime
41
41
  hardware_instance_id: StrictInt
42
42
  revision_number: StrictInt
43
+ user_annotations: Optional[Dict[str, StrictStr]] = None
43
44
  container_port: StrictInt
44
45
  min_scale: StrictInt
45
46
  max_scale: StrictInt
@@ -51,7 +52,7 @@ class GetInferenceDeploymentResponse(BaseModel):
51
52
  env_vars: Optional[Dict[str, StrictStr]] = None
52
53
  command: Optional[List[StrictStr]] = None
53
54
  command_args: Optional[List[StrictStr]] = None
54
- __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_scale", "max_scale", "initial_scale", "concurrency", "healthcheck", "endpoint_certificate_authority", "endpoint_bearer_token", "env_vars", "command", "command_args"]
55
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations", "container_port", "min_scale", "max_scale", "initial_scale", "concurrency", "healthcheck", "endpoint_certificate_authority", "endpoint_bearer_token", "env_vars", "command", "command_args"]
55
56
 
56
57
  model_config = ConfigDict(
57
58
  populate_by_name=True,
@@ -97,6 +98,11 @@ class GetInferenceDeploymentResponse(BaseModel):
97
98
  if self.image_url is None and "image_url" in self.model_fields_set:
98
99
  _dict['image_url'] = None
99
100
 
101
+ # set to None if user_annotations (nullable) is None
102
+ # and model_fields_set contains the field
103
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
104
+ _dict['user_annotations'] = None
105
+
100
106
  # set to None if initial_scale (nullable) is None
101
107
  # and model_fields_set contains the field
102
108
  if self.initial_scale is None and "initial_scale" in self.model_fields_set:
@@ -160,6 +166,7 @@ class GetInferenceDeploymentResponse(BaseModel):
160
166
  "created_at": obj.get("created_at"),
161
167
  "hardware_instance_id": obj.get("hardware_instance_id"),
162
168
  "revision_number": obj.get("revision_number"),
169
+ "user_annotations": obj.get("user_annotations"),
163
170
  "container_port": obj.get("container_port"),
164
171
  "min_scale": obj.get("min_scale"),
165
172
  "max_scale": obj.get("max_scale"),
@@ -42,6 +42,7 @@ class GetInferenceV3DeploymentResponse(BaseModel):
42
42
  created_at: datetime
43
43
  hardware_instance_id: StrictInt
44
44
  revision_number: StrictInt
45
+ user_annotations: Optional[Dict[str, StrictStr]] = None
45
46
  container_port: StrictInt
46
47
  min_replicas: StrictInt
47
48
  max_replicas: StrictInt
@@ -57,7 +58,7 @@ class GetInferenceV3DeploymentResponse(BaseModel):
57
58
  image_pull_secret_credentials: Optional[ImagePullSecretCredentials] = None
58
59
  backend_protocol: Optional[BackendProtocol] = None
59
60
  enable_logging: Optional[StrictBool] = True
60
- __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", "enable_logging"]
61
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations", "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", "enable_logging"]
61
62
 
62
63
  model_config = ConfigDict(
63
64
  populate_by_name=True,
@@ -106,6 +107,11 @@ class GetInferenceV3DeploymentResponse(BaseModel):
106
107
  if self.image_url is None and "image_url" in self.model_fields_set:
107
108
  _dict['image_url'] = None
108
109
 
110
+ # set to None if user_annotations (nullable) is None
111
+ # and model_fields_set contains the field
112
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
113
+ _dict['user_annotations'] = None
114
+
109
115
  # set to None if initial_replicas (nullable) is None
110
116
  # and model_fields_set contains the field
111
117
  if self.initial_replicas is None and "initial_replicas" in self.model_fields_set:
@@ -179,6 +185,7 @@ class GetInferenceV3DeploymentResponse(BaseModel):
179
185
  "created_at": obj.get("created_at"),
180
186
  "hardware_instance_id": obj.get("hardware_instance_id"),
181
187
  "revision_number": obj.get("revision_number"),
188
+ "user_annotations": obj.get("user_annotations"),
182
189
  "container_port": obj.get("container_port"),
183
190
  "min_replicas": obj.get("min_replicas"),
184
191
  "max_replicas": obj.get("max_replicas"),
@@ -41,6 +41,7 @@ class GetRagDeploymentResponse(BaseModel):
41
41
  created_at: datetime
42
42
  hardware_instance_id: StrictInt
43
43
  revision_number: StrictInt
44
+ user_annotations: Optional[Dict[str, StrictStr]] = None
44
45
  recipe: CServeV2Recipe
45
46
  cserve_version: Optional[StrictStr] = None
46
47
  llm_model: StrictStr
@@ -52,7 +53,7 @@ class GetRagDeploymentResponse(BaseModel):
52
53
  endpoint_bearer_token: Optional[StrictStr] = None
53
54
  concurrency: Optional[StrictInt] = None
54
55
  env_vars: Optional[Dict[str, StrictStr]] = None
55
- __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "recipe", "cserve_version", "llm_model", "centml_api_key", "min_scale", "max_scale", "initial_scale", "endpoint_certificate_authority", "endpoint_bearer_token", "concurrency", "env_vars"]
56
+ __properties: ClassVar[List[str]] = ["creator_email", "cluster_id", "id", "name", "endpoint_url", "image_url", "type", "status", "created_at", "hardware_instance_id", "revision_number", "user_annotations", "recipe", "cserve_version", "llm_model", "centml_api_key", "min_scale", "max_scale", "initial_scale", "endpoint_certificate_authority", "endpoint_bearer_token", "concurrency", "env_vars"]
56
57
 
57
58
  model_config = ConfigDict(
58
59
  populate_by_name=True,
@@ -101,6 +102,11 @@ class GetRagDeploymentResponse(BaseModel):
101
102
  if self.image_url is None and "image_url" in self.model_fields_set:
102
103
  _dict['image_url'] = None
103
104
 
105
+ # set to None if user_annotations (nullable) is None
106
+ # and model_fields_set contains the field
107
+ if self.user_annotations is None and "user_annotations" in self.model_fields_set:
108
+ _dict['user_annotations'] = None
109
+
104
110
  # set to None if cserve_version (nullable) is None
105
111
  # and model_fields_set contains the field
106
112
  if self.cserve_version is None and "cserve_version" in self.model_fields_set:
@@ -149,6 +155,7 @@ class GetRagDeploymentResponse(BaseModel):
149
155
  "created_at": obj.get("created_at"),
150
156
  "hardware_instance_id": obj.get("hardware_instance_id"),
151
157
  "revision_number": obj.get("revision_number"),
158
+ "user_annotations": obj.get("user_annotations"),
152
159
  "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
153
160
  "cserve_version": obj.get("cserve_version"),
154
161
  "llm_model": obj.get("llm_model"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: platform-api-python-client
3
- Version: 4.8.3
3
+ Version: 4.8.4
4
4
  Summary: Platform External API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "platform_api_python_client"
3
- version = "4.8.3"
3
+ version = "4.8.4"
4
4
  description = "Platform External API"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "NoLicense"
@@ -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.8.3"
24
+ VERSION = "4.8.4"
25
25
  PYTHON_REQUIRES = ">= 3.8"
26
26
  REQUIRES = [
27
27
  "urllib3 >= 1.25.3, < 3.0.0",
@@ -38,6 +38,9 @@ class TestCreateCServeV2DeploymentRequest(unittest.TestCase):
38
38
  name = 'ar1c2v7s6djuy1zmetozkhdomha1b0',
39
39
  cluster_id = 56,
40
40
  hardware_instance_id = 56,
41
+ user_annotations = {
42
+ 'key' : ''
43
+ },
41
44
  recipe = { },
42
45
  cserve_version = '',
43
46
  hf_token = '',
@@ -40,6 +40,9 @@ class TestCreateCServeV3DeploymentRequest(unittest.TestCase):
40
40
  name = 'ar1c2v7s6djuy1zmetozkhdomha1b0',
41
41
  cluster_id = 56,
42
42
  hardware_instance_id = 56,
43
+ user_annotations = {
44
+ 'key' : ''
45
+ },
43
46
  recipe = { },
44
47
  cserve_version = '',
45
48
  hf_token = '',
@@ -38,6 +38,9 @@ class TestCreateComputeDeploymentRequest(unittest.TestCase):
38
38
  name = 'ar1c2v7s6djuy1zmetozkhdomha1b0',
39
39
  cluster_id = 56,
40
40
  hardware_instance_id = 56,
41
+ user_annotations = {
42
+ 'key' : ''
43
+ },
41
44
  image_url = '',
42
45
  enable_jupyter = True,
43
46
  ssh_public_key = '',
@@ -38,6 +38,9 @@ class TestCreateInferenceDeploymentRequest(unittest.TestCase):
38
38
  name = 'ar1c2v7s6djuy1zmetozkhdomha1b0',
39
39
  cluster_id = 56,
40
40
  hardware_instance_id = 56,
41
+ user_annotations = {
42
+ 'key' : ''
43
+ },
41
44
  image_url = '',
42
45
  port = 56,
43
46
  min_scale = 56,
@@ -40,6 +40,9 @@ class TestCreateInferenceV3DeploymentRequest(unittest.TestCase):
40
40
  name = 'ar1c2v7s6djuy1zmetozkhdomha1b0',
41
41
  cluster_id = 56,
42
42
  hardware_instance_id = 56,
43
+ user_annotations = {
44
+ 'key' : ''
45
+ },
43
46
  image_url = '',
44
47
  image_pull_secret_credentials = platform_api_python_client.models.image_pull_secret_credentials.ImagePullSecretCredentials(
45
48
  username = '',
@@ -38,6 +38,9 @@ class TestCreateRagDeploymentRequest(unittest.TestCase):
38
38
  name = 'ar1c2v7s6djuy1zmetozkhdomha1b0',
39
39
  cluster_id = 56,
40
40
  hardware_instance_id = 56,
41
+ user_annotations = {
42
+ 'key' : ''
43
+ },
41
44
  recipe = { },
42
45
  cserve_version = '',
43
46
  hf_token = '',