platform-api-python-client 4.13.0__py3-none-any.whl → 4.20.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. platform_api_python_client/__init__.py +45 -5
  2. platform_api_python_client/api/external_api.py +4676 -1655
  3. platform_api_python_client/api_client.py +1 -1
  4. platform_api_python_client/configuration.py +1 -1
  5. platform_api_python_client/models/__init__.py +44 -4
  6. platform_api_python_client/models/argo_rollouts.py +89 -0
  7. platform_api_python_client/models/cert_manager.py +89 -0
  8. platform_api_python_client/models/cloud_provider.py +39 -0
  9. platform_api_python_client/models/cluster_components.py +193 -0
  10. platform_api_python_client/models/cluster_config.py +91 -0
  11. platform_api_python_client/models/cluster_credential.py +91 -0
  12. platform_api_python_client/models/cluster_registration_request.py +110 -0
  13. platform_api_python_client/models/{create_url_response.py → cluster_registration_response.py} +8 -9
  14. platform_api_python_client/models/create_block_volume_request.py +108 -0
  15. platform_api_python_client/models/create_c_serve_v3_deployment_request.py +3 -1
  16. platform_api_python_client/models/create_compute_deployment_request.py +14 -3
  17. platform_api_python_client/models/create_compute_deployment_response.py +3 -10
  18. platform_api_python_client/models/create_hardware_instance_request.py +103 -0
  19. platform_api_python_client/models/create_inference_v3_deployment_request.py +4 -2
  20. platform_api_python_client/models/create_job_deployment_request.py +15 -2
  21. platform_api_python_client/models/create_object_volume_request.py +136 -0
  22. platform_api_python_client/models/create_service_account_request.py +97 -0
  23. platform_api_python_client/models/create_service_account_response.py +120 -0
  24. platform_api_python_client/models/create_volume_request.py +140 -0
  25. platform_api_python_client/models/external_dns.py +89 -0
  26. platform_api_python_client/models/final_stack.py +89 -0
  27. platform_api_python_client/models/fluent_bit.py +89 -0
  28. platform_api_python_client/models/{create_url_request.py → generate_service_account_secret_response.py} +7 -9
  29. platform_api_python_client/models/get_block_volume_response.py +113 -0
  30. platform_api_python_client/models/get_compute_deployment_response.py +12 -1
  31. platform_api_python_client/models/get_job_deployment_response.py +13 -2
  32. platform_api_python_client/models/get_object_volume_response.py +141 -0
  33. platform_api_python_client/models/get_volume_response.py +140 -0
  34. platform_api_python_client/models/gpu_operator.py +89 -0
  35. platform_api_python_client/models/ingress_nginx.py +89 -0
  36. platform_api_python_client/models/istio.py +98 -0
  37. platform_api_python_client/models/istio_cni_overrides.py +99 -0
  38. platform_api_python_client/models/istio_cni_subchart_overrides.py +96 -0
  39. platform_api_python_client/models/istio_overrides.py +96 -0
  40. platform_api_python_client/models/keda.py +89 -0
  41. platform_api_python_client/models/kube_prometheus_stack.py +89 -0
  42. platform_api_python_client/models/list_service_accounts_response.py +95 -0
  43. platform_api_python_client/models/list_volumes_response.py +95 -0
  44. platform_api_python_client/models/longhorn.py +89 -0
  45. platform_api_python_client/models/metrics_config.py +1 -1
  46. platform_api_python_client/models/metrics_server.py +89 -0
  47. platform_api_python_client/models/network_operator.py +89 -0
  48. platform_api_python_client/models/object_storage_provider.py +36 -0
  49. platform_api_python_client/models/opentelemetry_collector.py +89 -0
  50. platform_api_python_client/models/prometheus_adapter.py +89 -0
  51. platform_api_python_client/models/service_account_response.py +118 -0
  52. platform_api_python_client/models/spire.py +89 -0
  53. platform_api_python_client/models/spire_crds.py +89 -0
  54. platform_api_python_client/models/teleport_kube_agent.py +89 -0
  55. platform_api_python_client/models/update_service_account_request.py +107 -0
  56. platform_api_python_client/models/volume_access_mode.py +37 -0
  57. platform_api_python_client/models/volume_status.py +37 -0
  58. {platform_api_python_client-4.13.0.dist-info → platform_api_python_client-4.20.0.dist-info}/METADATA +1 -1
  59. {platform_api_python_client-4.13.0.dist-info → platform_api_python_client-4.20.0.dist-info}/RECORD +61 -21
  60. {platform_api_python_client-4.13.0.dist-info → platform_api_python_client-4.20.0.dist-info}/WHEEL +1 -1
  61. platform_api_python_client/models/create_c_serve_v2_deployment_request.py +0 -160
  62. platform_api_python_client/models/create_inference_deployment_request.py +0 -163
  63. {platform_api_python_client-4.13.0.dist-info → platform_api_python_client-4.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,107 @@
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 pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing_extensions import Annotated
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class UpdateServiceAccountRequest(BaseModel):
27
+ """
28
+ UpdateServiceAccountRequest
29
+ """ # noqa: E501
30
+ name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=255)]] = None
31
+ description: Optional[StrictStr] = None
32
+ scopes: Optional[List[StrictStr]] = None
33
+ __properties: ClassVar[List[str]] = ["name", "description", "scopes"]
34
+
35
+ model_config = ConfigDict(
36
+ populate_by_name=True,
37
+ validate_assignment=True,
38
+ protected_namespaces=(),
39
+ )
40
+
41
+
42
+ def to_str(self) -> str:
43
+ """Returns the string representation of the model using alias"""
44
+ return pprint.pformat(self.model_dump(by_alias=True))
45
+
46
+ def to_json(self) -> str:
47
+ """Returns the JSON representation of the model using alias"""
48
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> Optional[Self]:
53
+ """Create an instance of UpdateServiceAccountRequest from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self) -> Dict[str, Any]:
57
+ """Return the dictionary representation of the model using alias.
58
+
59
+ This has the following differences from calling pydantic's
60
+ `self.model_dump(by_alias=True)`:
61
+
62
+ * `None` is only added to the output dict for nullable fields that
63
+ were set at model initialization. Other fields with value `None`
64
+ are ignored.
65
+ """
66
+ excluded_fields: Set[str] = set([
67
+ ])
68
+
69
+ _dict = self.model_dump(
70
+ by_alias=True,
71
+ exclude=excluded_fields,
72
+ exclude_none=True,
73
+ )
74
+ # set to None if name (nullable) is None
75
+ # and model_fields_set contains the field
76
+ if self.name is None and "name" in self.model_fields_set:
77
+ _dict['name'] = None
78
+
79
+ # set to None if description (nullable) is None
80
+ # and model_fields_set contains the field
81
+ if self.description is None and "description" in self.model_fields_set:
82
+ _dict['description'] = None
83
+
84
+ # set to None if scopes (nullable) is None
85
+ # and model_fields_set contains the field
86
+ if self.scopes is None and "scopes" in self.model_fields_set:
87
+ _dict['scopes'] = None
88
+
89
+ return _dict
90
+
91
+ @classmethod
92
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
93
+ """Create an instance of UpdateServiceAccountRequest from a dict"""
94
+ if obj is None:
95
+ return None
96
+
97
+ if not isinstance(obj, dict):
98
+ return cls.model_validate(obj)
99
+
100
+ _obj = cls.model_validate({
101
+ "name": obj.get("name"),
102
+ "description": obj.get("description"),
103
+ "scopes": obj.get("scopes")
104
+ })
105
+ return _obj
106
+
107
+
@@ -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 VolumeAccessMode(str, Enum):
22
+ """
23
+ VolumeAccessMode
24
+ """
25
+
26
+ """
27
+ allowed enum values
28
+ """
29
+ READWRITEONCE = 'ReadWriteOnce'
30
+ READWRITEMANY = 'ReadWriteMany'
31
+
32
+ @classmethod
33
+ def from_json(cls, json_str: str) -> Self:
34
+ """Create an instance of VolumeAccessMode from a JSON string"""
35
+ return cls(json.loads(json_str))
36
+
37
+
@@ -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 VolumeStatus(str, Enum):
22
+ """
23
+ VolumeStatus
24
+ """
25
+
26
+ """
27
+ allowed enum values
28
+ """
29
+ ACTIVE = 'active'
30
+ DELETED = 'deleted'
31
+
32
+ @classmethod
33
+ def from_json(cls, json_str: str) -> Self:
34
+ """Create an instance of VolumeStatus from a JSON string"""
35
+ return cls(json.loads(json_str))
36
+
37
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: platform-api-python-client
3
- Version: 4.13.0
3
+ Version: 4.20.0
4
4
  Summary: Platform External API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,34 +1,44 @@
1
- platform_api_python_client/__init__.py,sha256=jOofejouPkiLQMYuUHgQPLUNhSoJVN2WFbgyZn0J6kw,7915
2
- platform_api_python_client/api_client.py,sha256=liNLfrKcOCuEAChtw3vZg3ISOZGQX18jHr6qwQJxHR4,27554
1
+ platform_api_python_client/__init__.py,sha256=x1BzoyO1_fNwJbwS7NqqVPtAOJ5tu3ISX9lFIYAgYMI,11251
2
+ platform_api_python_client/api_client.py,sha256=i0xvxqHabbH8N_JrFOuIjLme_56GpTE-C94YJIirbdc,27554
3
3
  platform_api_python_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- platform_api_python_client/configuration.py,sha256=bxq19g3BoVflPnXoWrvbYYmESoYBqCSvdvic2CgWk58,15336
4
+ platform_api_python_client/configuration.py,sha256=N1mnTaqrX9zZIY-HOZgJLzQw5g68oKUYL9W7CWDCPfU,15336
5
5
  platform_api_python_client/exceptions.py,sha256=SgBMBmRBD5JyEJj5ZiSQRbiOs4IVPOFZMGKX_fhPd58,5986
6
6
  platform_api_python_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  platform_api_python_client/rest.py,sha256=U514C8b2RXn4u0w7VpOFXeSaArP6_wuMCf8-G5xCbyk,9438
8
8
  platform_api_python_client/api/__init__.py,sha256=8FSPlQzadbgpFR5KYbpbN0DgPRWqOZkfooMstj2XcHg,116
9
- platform_api_python_client/api/external_api.py,sha256=tE-texLfKTffLvuMA2dKFH0XKAlOjoMwDijHMsjm4FU,478745
10
- platform_api_python_client/models/__init__.py,sha256=BYGiblGUzZDS5FAYzDz1n0CIDpsyl4Z4OQFdpcFjso8,7194
9
+ platform_api_python_client/api/external_api.py,sha256=3NwZTrsmb1eRnkSwEDfQzG-QCnk3BNaxjIMVebfnOKg,596574
10
+ platform_api_python_client/models/__init__.py,sha256=NRvPjXoLab2JjteXurNB1Ua33bBHPal9zZYu6V3PKqc,10530
11
+ platform_api_python_client/models/argo_rollouts.py,sha256=3uv_y1AtOvbgYaScojqrgauR4jwiFyYEWewj2TNymXM,2658
11
12
  platform_api_python_client/models/backend_protocol.py,sha256=o0t9wUHBBCBHB_Dvqcossc9X9gT_7yjikvAA6NBHnjs,764
12
13
  platform_api_python_client/models/c_serve_recipe_perf.py,sha256=x23e783A-Pj-2socL4mlN2RgjHPtbJB_fJYhVmn9z08,3262
13
14
  platform_api_python_client/models/c_serve_recipe_response.py,sha256=NUAnNbshCSnpru8e7AzSAGOQhJpj4BXSNT964oDBYa0,3584
14
15
  platform_api_python_client/models/c_serve_v2_recipe.py,sha256=HO6Jr0muyuCp9nU2ZxbrCk53-D12hq5Lv_yJr26f63U,3628
16
+ platform_api_python_client/models/cert_manager.py,sha256=5uqmTydp1N9WqrGj-4YhyQQwpQBZklAtapHMduk3VB4,2654
17
+ platform_api_python_client/models/cloud_provider.py,sha256=wc2WPexmmCdDYa50aspmcBOpYyLccA8s6ovr_vt40-g,796
15
18
  platform_api_python_client/models/cluster_capacity_response.py,sha256=NVW8msPdsm_M6cpALTRqoB3GLQKVzzq33IHnqRImnNI,3310
19
+ platform_api_python_client/models/cluster_components.py,sha256=liZ4nrBHo-Nne0CkdzXflZOIvsgdVzBrGWL1Umz-fw8,11008
20
+ platform_api_python_client/models/cluster_config.py,sha256=w1aV9TYHcMFTEMRB3qlMl90Yn3B5Qy6roacZaZotRVE,2835
21
+ platform_api_python_client/models/cluster_credential.py,sha256=35FPBuQDErgsAzGYciGdG5nnrN6yw3ziD-4r1ehglCA,2680
22
+ platform_api_python_client/models/cluster_registration_request.py,sha256=44NGVyhe4syvCStvr0CtRA-PCZC_pgCauH-3krrE7RE,3843
23
+ platform_api_python_client/models/cluster_registration_response.py,sha256=MjXQ1DhJJOa2n7jRADru0qI-vwjDIIWFUCqpoE_mygw,2530
16
24
  platform_api_python_client/models/config_file_mount.py,sha256=Mf_i6z78Bg_aHY3Yjcg1KBZ3fPTcfDHliHr92uv9lOQ,3162
17
- platform_api_python_client/models/create_c_serve_v2_deployment_request.py,sha256=EE55KUq1qDhMehRteSDmaaD-YzLo5lKTDEyMUsxE70o,6527
25
+ platform_api_python_client/models/create_block_volume_request.py,sha256=K3e7ysYQq4K_68eX2jDdhQbg5BmvovVLDqiQjPWyE_I,3543
18
26
  platform_api_python_client/models/create_c_serve_v2_deployment_response.py,sha256=Yffp1OzV_Vk8IMkvgAiU3FCZl9i9BA5PvBHIhCz4Q5E,2776
19
- platform_api_python_client/models/create_c_serve_v3_deployment_request.py,sha256=V--8fTgKaLjOfipE-PdviCbqiKcSdfVxj2w2IQK9pcA,8657
27
+ platform_api_python_client/models/create_c_serve_v3_deployment_request.py,sha256=ikDFzTh5LFEMAaRD39RFSoH-b7gp8YLQKtoZKtaAu7o,8779
20
28
  platform_api_python_client/models/create_c_serve_v3_deployment_response.py,sha256=rlm7SL0bUaxeNhKKl6g--muIch4Z288-xAYGOENx0PM,2776
21
- platform_api_python_client/models/create_compute_deployment_request.py,sha256=yOjalch4ZE-8GZLvBR-vZtOO5C23VA_YgpBMUlBWIBU,4145
22
- platform_api_python_client/models/create_compute_deployment_response.py,sha256=RZLbCr7WpiMufWX7xmka1HNjBXnOi2GUE4gPuc5zpak,3200
23
- platform_api_python_client/models/create_inference_deployment_request.py,sha256=YNPRKEeYOiXdZdwR7AAu7ZAnw8DypiqOTtdu9OaLrqE,6481
29
+ platform_api_python_client/models/create_compute_deployment_request.py,sha256=rbr7DzB-xgun_3pG0lGWnmVw2Kcly5pGptiuy_7yYG0,5045
30
+ platform_api_python_client/models/create_compute_deployment_response.py,sha256=sMwHYBojt3m0U91iiGOyTj9ucejajfdwuzsTuE3F0bQ,2837
31
+ platform_api_python_client/models/create_hardware_instance_request.py,sha256=rV6HnIJNBchvjh81hTacwjwyPxGTG4qa-kgqrz6t95Y,3344
24
32
  platform_api_python_client/models/create_inference_deployment_response.py,sha256=iYHJMG7ke5DJqvmaBsrPDYa1CwBNBnACwYEo2-0wVyE,2780
25
- platform_api_python_client/models/create_inference_v3_deployment_request.py,sha256=49glKM3KoaSFtY5ovWohFN6k0g-fSL7ZVyX3XIRHloQ,11392
26
- platform_api_python_client/models/create_job_deployment_request.py,sha256=Z2QROjdPM6b2tjyt0CJeFgaV-sn6saKl8jvxmrPjhJg,6328
33
+ platform_api_python_client/models/create_inference_v3_deployment_request.py,sha256=S6AX0m6CIxIGsYAWK4e3iTxMiCu7ZgymF8Df4Dvl0Ng,11555
34
+ platform_api_python_client/models/create_job_deployment_request.py,sha256=jx0FLKOx_LHJWKOpQ6zfDcP_rXcY1671n-XJZHnac0Q,7125
27
35
  platform_api_python_client/models/create_job_deployment_response.py,sha256=1ObJIUdA4IR2ztQws8NMF3T9G8BfTEvqj7t9abtmIro,2756
36
+ platform_api_python_client/models/create_object_volume_request.py,sha256=ja2kd4nlXJ-kqbGjVUemXz31prI5h52cwqoe1PuZVHk,5029
28
37
  platform_api_python_client/models/create_organization_request.py,sha256=2p0TnpMk_mOfMkhUL-k6ShZMoC146QFBdY8l47bx4i8,2530
29
38
  platform_api_python_client/models/create_organization_response.py,sha256=a0jU9v0OiuB2oWbS9eTRFOtXtIxNLHDIcaLY88GNEb8,2591
30
- platform_api_python_client/models/create_url_request.py,sha256=Fo0iR28WqpiKmKjvNfvjTsmcJtQHlILo38tKgGYBjE8,2595
31
- platform_api_python_client/models/create_url_response.py,sha256=B6znzBU-OlEDfUjJnF1_lb33wMiCvCDSG7n8fKHprMg,2569
39
+ platform_api_python_client/models/create_service_account_request.py,sha256=sfOh1cKut-cPoWdhJvXke7Jaj2wc4sDUKqweKUvJO1Q,3083
40
+ platform_api_python_client/models/create_service_account_response.py,sha256=Tglzhlw0V6dNUJooEGgHY-VulJ25wSrgVV450OOrHhY,4073
41
+ platform_api_python_client/models/create_volume_request.py,sha256=5QN5CdVGIudqb_g19m5Nm3Inw_C5RYsKDxwKtfdPiII,5815
32
42
  platform_api_python_client/models/credits_response.py,sha256=A7hbY92nGYnYf1vAF0lfww9EROKNWiYkhQ5VyXpxyUE,2542
33
43
  platform_api_python_client/models/daily_bill_response.py,sha256=oRcLxG69lnMb4qLtqHdU6nJPSYGHS5KV-jUvG8zyUOc,2669
34
44
  platform_api_python_client/models/deployment_response.py,sha256=MQGo1E9xCx-miOudY1mk2cKpAGl0iNfd3nHOMSuh4_I,5482
@@ -39,22 +49,37 @@ platform_api_python_client/models/deployment_status_v3_response.py,sha256=QnofPu
39
49
  platform_api_python_client/models/deployment_type.py,sha256=zpqoO6vFXJ3xSlw5Sz6EFLe31ovKHxhonAvgfwRwqqk,1073
40
50
  platform_api_python_client/models/deployment_usage.py,sha256=EaFCsDd8UMPpYILnDvdXH7jWulAEb1Cxwt93KEtgqE0,3103
41
51
  platform_api_python_client/models/deployment_usage_value.py,sha256=-_2hhTFc3mVf4sCgoEND5COVch3XcVWRyrsPVgoRXj8,2639
52
+ platform_api_python_client/models/external_dns.py,sha256=9MXu_CkakV6IJrVQQpJ0yumcDGReMlGRWFv_s2biB18,2654
53
+ platform_api_python_client/models/final_stack.py,sha256=jf3Z_Z5UxwjgXVWaLo5Km8bIUKmKRqXIYZefWMyNNJw,2650
54
+ platform_api_python_client/models/fluent_bit.py,sha256=0WC0x0s8JWX6Wyr_u2PsogoQj1GbUYZLTnjJlZd5-gc,2646
55
+ platform_api_python_client/models/generate_service_account_secret_response.py,sha256=VXny8KPmRQGy8rY8E3Ejw-MKgQd9yThUqhAb6-ZWdII,2610
56
+ platform_api_python_client/models/get_block_volume_response.py,sha256=XEjB5pgiNAVoA6-J_5sZVl6lWqUbhJLkSj92eEEwuD8,3615
42
57
  platform_api_python_client/models/get_c_serve_v2_deployment_response.py,sha256=df0qyvJF-kPeKoNc1g0NJw12QrtGky-3Xw9q1OU8lDY,6903
43
58
  platform_api_python_client/models/get_c_serve_v3_deployment_response.py,sha256=vEeMFxDFwxYQE8ZNKsRaIPTlbwrWY9biw7ZXYgtGH8o,8159
44
59
  platform_api_python_client/models/get_cluster_response.py,sha256=bwPFhPGmHvf2onk7kiU5U7cJb9adbeCPfrKb6yvOqFA,3006
45
- platform_api_python_client/models/get_compute_deployment_response.py,sha256=Ui5qW7hMaksj3eVX-3ITNc-SNCtw0yJ_UCitkEZVdac,5593
60
+ platform_api_python_client/models/get_compute_deployment_response.py,sha256=mgE4a1FNHC_CGYOg6P12YV_vDLpy9oepX-zh3NtNU-g,6547
46
61
  platform_api_python_client/models/get_deployment_log_response.py,sha256=FZ0mdef4fPyvb0wviSnSesFOJqnhKRATLVRT7E_K_Ag,2924
47
62
  platform_api_python_client/models/get_deployment_response.py,sha256=ubyD-CAgKZk4gttXM9LRkMnHO_fI9ntuxXMngmuaU4A,4252
48
63
  platform_api_python_client/models/get_deployment_revision_response.py,sha256=jTx_G8JCeKbgwmbylM3uiPNtGoCPpwjN5KMkFuC9BS8,3778
49
64
  platform_api_python_client/models/get_deployment_usage_response.py,sha256=RnEJqDaIFVjuHVU26EScvLICK9tDVFj6hQh_U0yMBdg,3031
50
65
  platform_api_python_client/models/get_inference_deployment_response.py,sha256=_Lz_hJS8Cw_NDeR5KD_o3nBcUG4X3_OiXGiT9cn0tJ0,7482
51
66
  platform_api_python_client/models/get_inference_v3_deployment_response.py,sha256=NzRT_gez5Pra5GiV5HCoqReQUfitXJr_TaESPZSFqmo,11581
52
- platform_api_python_client/models/get_job_deployment_response.py,sha256=oWh9DN9HUH-VS_QyivD4FSx1KTjZNDHuJJMyaLgZYRs,7602
67
+ platform_api_python_client/models/get_job_deployment_response.py,sha256=Fd0GrsxAqusiOCD6-hq7Rw-mE7LDs5AsfQKZZKIaaww,8277
68
+ platform_api_python_client/models/get_object_volume_response.py,sha256=-kk8yMrr0dZudGvQ17rkeDhVU13-TtQXIRr3MODylV4,5035
69
+ platform_api_python_client/models/get_volume_response.py,sha256=optwvDTgD215kCKtar5IoZfMD8xXE1USAXg39Qb59t0,5731
70
+ platform_api_python_client/models/gpu_operator.py,sha256=vctwA8M_03vuMpSa8mICu2svTeLvVAsJL6irU6SkSts,2654
53
71
  platform_api_python_client/models/gpu_type_capacity.py,sha256=KdNy4RJB8JIstVTiB4qsY-MAK7nHsKVTGe-kTMwz_XA,3101
54
72
  platform_api_python_client/models/hardware_instance_response.py,sha256=e4KF3_MZJjDbFB5hNytaoW3Qws3-dfqwi1uSg8nA6ig,3471
55
73
  platform_api_python_client/models/http_validation_error.py,sha256=LCSb4Ct_DLOMGFoHLmzwRqUE0jeprHfuTeFgIEF0guk,3030
56
74
  platform_api_python_client/models/image_pull_secret_credentials.py,sha256=WYekYs3xTZj63EmKSw25ThkDzq9I7fgAnTdw5q1Gciw,2631
75
+ platform_api_python_client/models/ingress_nginx.py,sha256=Ldpf65ElN2WZ3aZikN7Q9d8Sjl0MVDYfT4thmmYfkUg,2658
57
76
  platform_api_python_client/models/invite_user_request.py,sha256=uiFLP5GClTnf-p_z3OaH1-f5FUB3FX2tLtf4-pZkeoY,2502
77
+ platform_api_python_client/models/istio.py,sha256=JyUlikVEvB2fIfTkzmlhQsiDg6pNR7pRbiVN_vXYH2o,3140
78
+ platform_api_python_client/models/istio_cni_overrides.py,sha256=RBO-RR278NsaCx-JCfQOAywLhQ4882kbjV7L5zzWc-o,3185
79
+ platform_api_python_client/models/istio_cni_subchart_overrides.py,sha256=X5fjzY7ZRGfLHK7QITdQprTXNJGgohNq2_XPhboj1mM,3043
80
+ platform_api_python_client/models/istio_overrides.py,sha256=su4pNtGGVmLmM6wi2nENVL-3nul-Upxr6i5j7p9mx3k,3151
81
+ platform_api_python_client/models/keda.py,sha256=mSqRjsAPi1EABl1RAzherHkI7LioUmxtTCa92EiTiOs,2626
82
+ platform_api_python_client/models/kube_prometheus_stack.py,sha256=JF-b0MfXUzZScAV4XhOFUTTyqLYQ0cvwrnBDghBpib0,2686
58
83
  platform_api_python_client/models/list_c_serve_recipe_response.py,sha256=nqObDS3naOIcLZCBtD4Ff2nm94S-iwoLulySmWx1zRw,3057
59
84
  platform_api_python_client/models/list_cluster_capacity_response.py,sha256=BuTYR-9rXVPIp2PaHqkLlzytyiwk9ULDU-GJ8lIMC-4,3122
60
85
  platform_api_python_client/models/list_daily_bill_response.py,sha256=52uvjXcTVt3wV9pptL2dAs7RsgmAlZTFj6GZ0YKcw8I,3032
@@ -63,24 +88,39 @@ platform_api_python_client/models/list_get_cluster_response.py,sha256=uIRdtmVm3U
63
88
  platform_api_python_client/models/list_get_deployment_response.py,sha256=sS8uE7L5izY1RU94_qCB6l3DkO8KICanzMrO1LSDIaA,3064
64
89
  platform_api_python_client/models/list_hardware_instance_response.py,sha256=26BbCJvHhzX-YY1PDfk7vNVaWTladJ_F7xnhSfHuobY,3088
65
90
  platform_api_python_client/models/list_prebuilt_image_response.py,sha256=o7W89S1KPn74b4Hbeo6eRmQBqMqSMfytwOpogZ7o3Iw,3064
91
+ platform_api_python_client/models/list_service_accounts_response.py,sha256=UvIjZM-Z8ASbSwzb2VXM9gjMjAwZwDQcYiPLwNLdwU8,3076
66
92
  platform_api_python_client/models/list_user_vault_items_response.py,sha256=7lQ1fBnERqv4mI_RcIBe42MDvYwon_LjRRFTzD-HsMQ,3036
93
+ platform_api_python_client/models/list_volumes_response.py,sha256=iP8TsfBZXjnDeOyrnmXEHL14o1UWk8pA55Pn6RnWlGE,3024
94
+ platform_api_python_client/models/longhorn.py,sha256=rc3ggUnFj9EI5RUHyfGmUFb9-0ej7BW7dH3t4UhOyZ4,2642
67
95
  platform_api_python_client/models/metric.py,sha256=83HrRBZwnepSCyjbx0S61_geYb2HiImWlfzaZS-1xF8,1255
68
- platform_api_python_client/models/metrics_config.py,sha256=ssB0yIfMIj2wWUnYgYw9vWfi12Z_BhkvXwNGTg2IHfE,3257
96
+ platform_api_python_client/models/metrics_config.py,sha256=6p6tnCUDYReH_ZY9-zeu_wTwrZy-HSGoe8OsQmTt45E,3275
97
+ platform_api_python_client/models/metrics_server.py,sha256=xwJ5l5cDln5n9RSA-5SzF1HRCcW-2aotk8-EXzxfPyM,2662
98
+ platform_api_python_client/models/network_operator.py,sha256=E89Ek3l5SFYObcotc-nQv6g_EGJF_fUkeCnO9_q3hhU,2670
99
+ platform_api_python_client/models/object_storage_provider.py,sha256=fElgKFX1bIF1701ksNVQiEAfKP_OPIXgA2oZx9-Ui8E,760
100
+ platform_api_python_client/models/opentelemetry_collector.py,sha256=Sqs9u5hMnSmV0qrvNKDm2imjhN8rwkN79QYrleXhouE,2698
69
101
  platform_api_python_client/models/pod_details.py,sha256=JRNnE3fpCdmrMfbsFxEYtYo17McX040hNU99EZ2f90o,3569
70
102
  platform_api_python_client/models/pod_status.py,sha256=KKYclyyn66pHrk56D8JD698qqM_j7V6SVPcuTSIfS88,1120
71
103
  platform_api_python_client/models/prebuilt_image_response.py,sha256=dnvVsxrLNOpQhQgT8YePMwXmMx-8lEpImVK2oU4dsUk,3248
104
+ platform_api_python_client/models/prometheus_adapter.py,sha256=XdnuNUvpNeFjaUNtXaHDZaS0CJmVnX1jnXR0axUTvGU,2678
72
105
  platform_api_python_client/models/revision_pod_details.py,sha256=CkCp152wpJlyhxatorzc4THeu2OHaCDPedJgLr5UM_s,4305
73
106
  platform_api_python_client/models/rollout_status.py,sha256=JSJwzB1Ibrs0FEmQXrJNyafVryPyW2soStJLtPS910A,850
74
107
  platform_api_python_client/models/rollout_strategy_params.py,sha256=jMB-GQ5mQojajgJZBOlX6IanDSc_pSTIb5-bzgFoRms,3149
108
+ platform_api_python_client/models/service_account_response.py,sha256=gKCpDgHYbAN8RCzUHFWQUdmcOYP3gKojYLDZYbvZMeA,3948
75
109
  platform_api_python_client/models/service_status.py,sha256=HMV8MtG-KQZvUmg4dgwMG_h-JmBr24_QRq8u9aGKKJA,1242
110
+ platform_api_python_client/models/spire.py,sha256=_YyB-hPqrrXSGgtrE-sLFVNtJJYtdabX2JzKxCDxaFs,2630
111
+ platform_api_python_client/models/spire_crds.py,sha256=3pNu7qP9V5O0QomC8ZEFCWYlSxg-I92kWrp_sKMXffQ,2646
112
+ platform_api_python_client/models/teleport_kube_agent.py,sha256=jI3VAq4aZCuqDfrohr5P8lH7J08kDkCDjIKSiRj0nnY,2678
76
113
  platform_api_python_client/models/update_deployment_response.py,sha256=qRFg5IxpaIJrXA9bA2eG0zChgz_aYtTEZRm-D7K5Vw0,2744
77
114
  platform_api_python_client/models/update_deployment_status_v3_request.py,sha256=0YMSsju0qlQ8XKCvGh5AUQjlEoWPjhrIn_KlRzpJ594,3313
115
+ platform_api_python_client/models/update_service_account_request.py,sha256=OQPabIT5Boifm4-AYphDy_P6y2raUZ4tft1dXkG5H9k,3506
78
116
  platform_api_python_client/models/user_vault_item.py,sha256=Vwwv7BrSvoEkYyxdeAnFTwyHAr0umdnumSHoOYt9Qf8,3098
79
117
  platform_api_python_client/models/user_vault_type.py,sha256=omgXu7ipt_j_0IK1mCIbliUcIrgB5qo7vdCb9L1LHCU,930
80
118
  platform_api_python_client/models/validation_error.py,sha256=bAAvyr7kxTVi7Xo-A-7sY64959W_7PISLgJjWBc_Q3k,3122
81
119
  platform_api_python_client/models/validation_error_loc_inner.py,sha256=_ossVs2HphEeptkKNGz_38WRQBvVHRPg00bhnE6imfs,4899
82
120
  platform_api_python_client/models/vault_scope.py,sha256=n_B1F_wYcabdVaW35o-kF8evyzEqMMMD3nWxRArYGAM,747
83
- platform_api_python_client-4.13.0.dist-info/METADATA,sha256=hTznlq01K6VkoO0JYvLXnEZqzJt39tsn8X9is9He-tk,695
84
- platform_api_python_client-4.13.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
85
- platform_api_python_client-4.13.0.dist-info/top_level.txt,sha256=yy_3qpZ0HjJKg8tednSa1a2fNj8p5CIw_sAR71ZZz2Q,27
86
- platform_api_python_client-4.13.0.dist-info/RECORD,,
121
+ platform_api_python_client/models/volume_access_mode.py,sha256=kmIk7MV2OB_Qp91rg1pTgtKVJIu0ipTuwUBUgB4FfR4,803
122
+ platform_api_python_client/models/volume_status.py,sha256=Yuhs1DP5ewr0UCQpT5WDEyTJ3lV03QtQ8nwRkfo8qfo,765
123
+ platform_api_python_client-4.20.0.dist-info/METADATA,sha256=Dfoi_yOSIr4rJvtUQlofJKyM4DRzUQWpsgG9gOlmDa8,695
124
+ platform_api_python_client-4.20.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
125
+ platform_api_python_client-4.20.0.dist-info/top_level.txt,sha256=yy_3qpZ0HjJKg8tednSa1a2fNj8p5CIw_sAR71ZZz2Q,27
126
+ platform_api_python_client-4.20.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (82.0.1)
2
+ Generator: setuptools (83.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,160 +0,0 @@
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 pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from typing_extensions import Annotated
23
- from platform_api_python_client.models.c_serve_v2_recipe import CServeV2Recipe
24
- from typing import Optional, Set
25
- from typing_extensions import Self
26
-
27
- class CreateCServeV2DeploymentRequest(BaseModel):
28
- """
29
- CreateCServeV2DeploymentRequest
30
- """ # noqa: E501
31
- name: Annotated[str, Field(min_length=1, strict=True, max_length=20)]
32
- cluster_id: StrictInt
33
- hardware_instance_id: StrictInt
34
- user_annotations: Optional[Dict[str, StrictStr]] = None
35
- recipe: CServeV2Recipe
36
- cserve_version: Optional[StrictStr] = None
37
- hf_token: Optional[StrictStr] = None
38
- endpoint_bearer_token: Optional[StrictStr] = None
39
- endpoint_certificate_authority: Optional[StrictStr] = None
40
- min_scale: StrictInt
41
- max_scale: StrictInt
42
- initial_scale: Optional[StrictInt] = None
43
- concurrency: Optional[StrictInt] = None
44
- env_vars: Optional[Dict[str, StrictStr]] = None
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"]
46
-
47
- @field_validator('name')
48
- def name_validate_regular_expression(cls, value):
49
- """Validates the regular expression"""
50
- if not re.match(r"^[a-z][a-z0-9-]*$", value):
51
- raise ValueError(r"must validate the regular expression /^[a-z][a-z0-9-]*$/")
52
- return value
53
-
54
- model_config = ConfigDict(
55
- populate_by_name=True,
56
- validate_assignment=True,
57
- protected_namespaces=(),
58
- )
59
-
60
-
61
- def to_str(self) -> str:
62
- """Returns the string representation of the model using alias"""
63
- return pprint.pformat(self.model_dump(by_alias=True))
64
-
65
- def to_json(self) -> str:
66
- """Returns the JSON representation of the model using alias"""
67
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
68
- return json.dumps(self.to_dict())
69
-
70
- @classmethod
71
- def from_json(cls, json_str: str) -> Optional[Self]:
72
- """Create an instance of CreateCServeV2DeploymentRequest from a JSON string"""
73
- return cls.from_dict(json.loads(json_str))
74
-
75
- def to_dict(self) -> Dict[str, Any]:
76
- """Return the dictionary representation of the model using alias.
77
-
78
- This has the following differences from calling pydantic's
79
- `self.model_dump(by_alias=True)`:
80
-
81
- * `None` is only added to the output dict for nullable fields that
82
- were set at model initialization. Other fields with value `None`
83
- are ignored.
84
- """
85
- excluded_fields: Set[str] = set([
86
- ])
87
-
88
- _dict = self.model_dump(
89
- by_alias=True,
90
- exclude=excluded_fields,
91
- exclude_none=True,
92
- )
93
- # override the default output from pydantic by calling `to_dict()` of recipe
94
- if self.recipe:
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
-
101
- # set to None if cserve_version (nullable) is None
102
- # and model_fields_set contains the field
103
- if self.cserve_version is None and "cserve_version" in self.model_fields_set:
104
- _dict['cserve_version'] = None
105
-
106
- # set to None if hf_token (nullable) is None
107
- # and model_fields_set contains the field
108
- if self.hf_token is None and "hf_token" in self.model_fields_set:
109
- _dict['hf_token'] = None
110
-
111
- # set to None if endpoint_bearer_token (nullable) is None
112
- # and model_fields_set contains the field
113
- if self.endpoint_bearer_token is None and "endpoint_bearer_token" in self.model_fields_set:
114
- _dict['endpoint_bearer_token'] = None
115
-
116
- # set to None if endpoint_certificate_authority (nullable) is None
117
- # and model_fields_set contains the field
118
- if self.endpoint_certificate_authority is None and "endpoint_certificate_authority" in self.model_fields_set:
119
- _dict['endpoint_certificate_authority'] = None
120
-
121
- # set to None if initial_scale (nullable) is None
122
- # and model_fields_set contains the field
123
- if self.initial_scale is None and "initial_scale" in self.model_fields_set:
124
- _dict['initial_scale'] = None
125
-
126
- # set to None if concurrency (nullable) is None
127
- # and model_fields_set contains the field
128
- if self.concurrency is None and "concurrency" in self.model_fields_set:
129
- _dict['concurrency'] = None
130
-
131
- return _dict
132
-
133
- @classmethod
134
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
135
- """Create an instance of CreateCServeV2DeploymentRequest from a dict"""
136
- if obj is None:
137
- return None
138
-
139
- if not isinstance(obj, dict):
140
- return cls.model_validate(obj)
141
-
142
- _obj = cls.model_validate({
143
- "name": obj.get("name"),
144
- "cluster_id": obj.get("cluster_id"),
145
- "hardware_instance_id": obj.get("hardware_instance_id"),
146
- "user_annotations": obj.get("user_annotations"),
147
- "recipe": CServeV2Recipe.from_dict(obj["recipe"]) if obj.get("recipe") is not None else None,
148
- "cserve_version": obj.get("cserve_version"),
149
- "hf_token": obj.get("hf_token"),
150
- "endpoint_bearer_token": obj.get("endpoint_bearer_token"),
151
- "endpoint_certificate_authority": obj.get("endpoint_certificate_authority"),
152
- "min_scale": obj.get("min_scale"),
153
- "max_scale": obj.get("max_scale"),
154
- "initial_scale": obj.get("initial_scale"),
155
- "concurrency": obj.get("concurrency"),
156
- "env_vars": obj.get("env_vars")
157
- })
158
- return _obj
159
-
160
-