platform-api-python-client 4.9.7__py3-none-any.whl → 4.10.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.
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "4.9.7"
17
+ __version__ = "4.10.0"
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.9.7/python'
93
+ self.user_agent = 'OpenAPI-Generator/4.10.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.9.7".\
395
+ "SDK Package Version: 4.10.0".\
396
396
  format(env=sys.platform, pyversion=sys.version)
397
397
 
398
398
  def get_host_settings(self):
@@ -45,11 +45,12 @@ class GetJobDeploymentResponse(BaseModel):
45
45
  env_vars: Optional[Dict[str, StrictStr]] = None
46
46
  command: Optional[List[StrictStr]] = None
47
47
  args: Optional[List[StrictStr]] = None
48
+ original_command: Optional[StrictStr] = None
48
49
  completions: Optional[StrictInt] = 1
49
50
  parallelism: Optional[StrictInt] = 1
50
51
  image_pull_secret_credentials: Optional[ImagePullSecretCredentials] = None
51
52
  enable_logging: Optional[StrictBool] = True
52
- __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", "env_vars", "command", "args", "completions", "parallelism", "image_pull_secret_credentials", "enable_logging"]
53
+ __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", "env_vars", "command", "args", "original_command", "completions", "parallelism", "image_pull_secret_credentials", "enable_logging"]
53
54
 
54
55
  model_config = ConfigDict(
55
56
  populate_by_name=True,
@@ -118,6 +119,11 @@ class GetJobDeploymentResponse(BaseModel):
118
119
  if self.args is None and "args" in self.model_fields_set:
119
120
  _dict['args'] = None
120
121
 
122
+ # set to None if original_command (nullable) is None
123
+ # and model_fields_set contains the field
124
+ if self.original_command is None and "original_command" in self.model_fields_set:
125
+ _dict['original_command'] = None
126
+
121
127
  # set to None if image_pull_secret_credentials (nullable) is None
122
128
  # and model_fields_set contains the field
123
129
  if self.image_pull_secret_credentials is None and "image_pull_secret_credentials" in self.model_fields_set:
@@ -150,6 +156,7 @@ class GetJobDeploymentResponse(BaseModel):
150
156
  "env_vars": obj.get("env_vars"),
151
157
  "command": obj.get("command"),
152
158
  "args": obj.get("args"),
159
+ "original_command": obj.get("original_command"),
153
160
  "completions": obj.get("completions") if obj.get("completions") is not None else 1,
154
161
  "parallelism": obj.get("parallelism") if obj.get("parallelism") is not None else 1,
155
162
  "image_pull_secret_credentials": ImagePullSecretCredentials.from_dict(obj["image_pull_secret_credentials"]) if obj.get("image_pull_secret_credentials") is not None else None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: platform-api-python-client
3
- Version: 4.9.7
3
+ Version: 4.10.0
4
4
  Summary: Platform External API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,7 +1,7 @@
1
- platform_api_python_client/__init__.py,sha256=uajg21IusG6sQrdRU_ES3-VRxCn4IwgbzFd9RxzrmIM,8080
2
- platform_api_python_client/api_client.py,sha256=n-mlNjX_ckv2RFk6r0gnSfED_6kGbPG-d0dEDfxw09k,27553
1
+ platform_api_python_client/__init__.py,sha256=C8yuoYBKJb7u3aJm9j9NriENQopyeAogM2zlQ5thIT8,8081
2
+ platform_api_python_client/api_client.py,sha256=WwydUzL6QmpsieOBzkeEv-kEGIIUJsfpXfjvtlEzgsA,27554
3
3
  platform_api_python_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- platform_api_python_client/configuration.py,sha256=03YocFdOW2P7Q2uJTTVW4PcHZPmIbJZlgpjgAIELcXI,15335
4
+ platform_api_python_client/configuration.py,sha256=jUw6TQduqUJ9a3jV07pf5rV6VLcKgHEYcfGPxbxG7so,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
@@ -51,7 +51,7 @@ platform_api_python_client/models/get_deployment_revision_response.py,sha256=jTx
51
51
  platform_api_python_client/models/get_deployment_usage_response.py,sha256=RnEJqDaIFVjuHVU26EScvLICK9tDVFj6hQh_U0yMBdg,3031
52
52
  platform_api_python_client/models/get_inference_deployment_response.py,sha256=_Lz_hJS8Cw_NDeR5KD_o3nBcUG4X3_OiXGiT9cn0tJ0,7482
53
53
  platform_api_python_client/models/get_inference_v3_deployment_response.py,sha256=9foxK5nYW54mj64rHpcHXqQyongYFWMBKFyCyoCHIYQ,10746
54
- platform_api_python_client/models/get_job_deployment_response.py,sha256=3ggV_AtQ6hL3t66kF4gtPXIF28C6U8rrdVftm-Egg9o,6630
54
+ platform_api_python_client/models/get_job_deployment_response.py,sha256=G9z2qBXEfBIjx4E6n9EvPCf5PUD7dxENh_4iLTnx_Ig,7007
55
55
  platform_api_python_client/models/gpu_type_capacity.py,sha256=KdNy4RJB8JIstVTiB4qsY-MAK7nHsKVTGe-kTMwz_XA,3101
56
56
  platform_api_python_client/models/hardware_instance_response.py,sha256=89qNY1wVusuUYSymYFJxo-64cCwtkaHcBYZzL4JeyLo,4161
57
57
  platform_api_python_client/models/http_validation_error.py,sha256=LCSb4Ct_DLOMGFoHLmzwRqUE0jeprHfuTeFgIEF0guk,3030
@@ -82,7 +82,7 @@ platform_api_python_client/models/user_vault_type.py,sha256=omgXu7ipt_j_0IK1mCIb
82
82
  platform_api_python_client/models/validation_error.py,sha256=bAAvyr7kxTVi7Xo-A-7sY64959W_7PISLgJjWBc_Q3k,3122
83
83
  platform_api_python_client/models/validation_error_loc_inner.py,sha256=_ossVs2HphEeptkKNGz_38WRQBvVHRPg00bhnE6imfs,4899
84
84
  platform_api_python_client/models/vault_scope.py,sha256=n_B1F_wYcabdVaW35o-kF8evyzEqMMMD3nWxRArYGAM,747
85
- platform_api_python_client-4.9.7.dist-info/METADATA,sha256=4zY4nAFxTGmd3GTlVvuVkj-D8I2gg8jo8_StAg68TnA,694
86
- platform_api_python_client-4.9.7.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
87
- platform_api_python_client-4.9.7.dist-info/top_level.txt,sha256=yy_3qpZ0HjJKg8tednSa1a2fNj8p5CIw_sAR71ZZz2Q,27
88
- platform_api_python_client-4.9.7.dist-info/RECORD,,
85
+ platform_api_python_client-4.10.0.dist-info/METADATA,sha256=jfl-3zIbzjIbnKSfm-2eAKJJvMGfR7Ht6eKOncJtxVc,695
86
+ platform_api_python_client-4.10.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
87
+ platform_api_python_client-4.10.0.dist-info/top_level.txt,sha256=yy_3qpZ0HjJKg8tednSa1a2fNj8p5CIw_sAR71ZZz2Q,27
88
+ platform_api_python_client-4.10.0.dist-info/RECORD,,