Skip to content

Commit 178faad

Browse files
Update clients to latest platform release (4.1.12)
1 parent 0c676ae commit 178faad

11 files changed

+18
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 0.1.0
7-
- Package version: 4.1.10
7+
- Package version: 4.1.12
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

docs/DeploymentResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
2929
**healthcheck** | **str** | | [optional]
3030
**command** | **List[str]** | | [optional]
3131
**command_args** | **List[str]** | | [optional]
32+
**original_command** | **str** | | [optional]
3233
**image_pull_secret_credentials** | [**ImagePullSecretCredentials**](ImagePullSecretCredentials.md) | | [optional]
3334

3435
## Example

docs/GetInferenceV3DeploymentResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
2727
**env_vars** | **Dict[str, str]** | | [optional]
2828
**command** | **List[str]** | | [optional]
2929
**command_args** | **List[str]** | | [optional]
30+
**original_command** | **str** | | [optional]
3031
**image_pull_secret_credentials** | [**ImagePullSecretCredentials**](ImagePullSecretCredentials.md) | | [optional]
3132

3233
## Example

platform_api_python_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "4.1.10"
17+
__version__ = "4.1.12"
1818

1919
# import apis into sdk package
2020
from platform_api_python_client.api.external_api import EXTERNALApi

platform_api_python_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/4.1.10/python'
93+
self.user_agent = 'OpenAPI-Generator/4.1.12/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

platform_api_python_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def to_debug_report(self):
392392
"OS: {env}\n"\
393393
"Python Version: {pyversion}\n"\
394394
"Version of the API: 0.1.0\n"\
395-
"SDK Package Version: 4.1.10".\
395+
"SDK Package Version: 4.1.12".\
396396
format(env=sys.platform, pyversion=sys.version)
397397

398398
def get_host_settings(self):

platform_api_python_client/models/get_inference_v3_deployment_response.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ class GetInferenceV3DeploymentResponse(BaseModel):
5252
env_vars: Optional[Dict[str, StrictStr]] = None
5353
command: Optional[List[StrictStr]] = None
5454
command_args: Optional[List[StrictStr]] = None
55+
original_command: Optional[StrictStr] = None
5556
image_pull_secret_credentials: Optional[ImagePullSecretCredentials] = None
56-
__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", "image_pull_secret_credentials"]
57+
__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"]
5758

5859
model_config = ConfigDict(
5960
populate_by_name=True,
@@ -142,6 +143,11 @@ def to_dict(self) -> Dict[str, Any]:
142143
if self.command_args is None and "command_args" in self.model_fields_set:
143144
_dict['command_args'] = None
144145

146+
# set to None if original_command (nullable) is None
147+
# and model_fields_set contains the field
148+
if self.original_command is None and "original_command" in self.model_fields_set:
149+
_dict['original_command'] = None
150+
145151
# set to None if image_pull_secret_credentials (nullable) is None
146152
# and model_fields_set contains the field
147153
if self.image_pull_secret_credentials is None and "image_pull_secret_credentials" in self.model_fields_set:
@@ -181,6 +187,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
181187
"env_vars": obj.get("env_vars"),
182188
"command": obj.get("command"),
183189
"command_args": obj.get("command_args"),
190+
"original_command": obj.get("original_command"),
184191
"image_pull_secret_credentials": ImagePullSecretCredentials.from_dict(obj["image_pull_secret_credentials"]) if obj.get("image_pull_secret_credentials") is not None else None
185192
})
186193
return _obj

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "platform_api_python_client"
3-
version = "4.1.10"
3+
version = "4.1.12"
44
description = "Platform External API"
55
authors = ["OpenAPI Generator Community <[email protected]>"]
66
license = "NoLicense"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "platform-api-python-client"
24-
VERSION = "4.1.10"
24+
VERSION = "4.1.12"
2525
PYTHON_REQUIRES = ">= 3.8"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 3.0.0",

test/test_deployment_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def make_instance(self, include_optional) -> DeploymentResponse:
6565
command_args = [
6666
''
6767
],
68+
original_command = '',
6869
image_pull_secret_credentials = platform_api_python_client.models.image_pull_secret_credentials.ImagePullSecretCredentials(
6970
username = '',
7071
password = '', )

0 commit comments

Comments
 (0)