From 2e7437f740fd398f7120a7c1df4a89448f78ba00 Mon Sep 17 00:00:00 2001 From: nuonbot Date: Fri, 31 Jul 2026 20:03:06 +0000 Subject: [PATCH] ci: generate from api 0.19.1099 --- nuon/models/app_component_config_connection.py | 11 +++++++++++ .../service_create_helm_component_config_request.py | 11 +++++++++++ ...te_kubernetes_manifest_component_config_request.py | 11 +++++++++++ pyproject.toml | 2 +- version.txt | 2 +- 5 files changed, 35 insertions(+), 2 deletions(-) diff --git a/nuon/models/app_component_config_connection.py b/nuon/models/app_component_config_connection.py index 19a8b673..33b5ff00 100644 --- a/nuon/models/app_component_config_connection.py +++ b/nuon/models/app_component_config_connection.py @@ -47,6 +47,7 @@ class AppComponentConfigConnection: health_block_deploy (bool | None | Unset): health_enabled (bool | None | Unset): health_probes (list[AppComponentHealthProbe] | Unset): + health_required_checks (list[str] | Unset): health_stabilization_window (str | Unset): Duration string for how long health must hold after a deploy applies (e.g., "3m"). Max 1h. helm (AppHelmComponentConfig | Unset): @@ -90,6 +91,7 @@ class AppComponentConfigConnection: health_block_deploy: bool | None | Unset = UNSET health_enabled: bool | None | Unset = UNSET health_probes: list[AppComponentHealthProbe] | Unset = UNSET + health_required_checks: list[str] | Unset = UNSET health_stabilization_window: str | Unset = UNSET helm: AppHelmComponentConfig | Unset = UNSET id: str | Unset = UNSET @@ -166,6 +168,10 @@ def to_dict(self) -> dict[str, Any]: health_probes_item = health_probes_item_data.to_dict() health_probes.append(health_probes_item) + health_required_checks: list[str] | Unset = UNSET + if not isinstance(self.health_required_checks, Unset): + health_required_checks = self.health_required_checks + health_stabilization_window = self.health_stabilization_window helm: dict[str, Any] | Unset = UNSET @@ -262,6 +268,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["health_enabled"] = health_enabled if health_probes is not UNSET: field_dict["health_probes"] = health_probes + if health_required_checks is not UNSET: + field_dict["health_required_checks"] = health_required_checks if health_stabilization_window is not UNSET: field_dict["health_stabilization_window"] = health_stabilization_window if helm is not UNSET: @@ -382,6 +390,8 @@ def _parse_health_enabled(data: object) -> bool | None | Unset: health_probes.append(health_probes_item) + health_required_checks = cast(list[str], d.pop("health_required_checks", UNSET)) + health_stabilization_window = d.pop("health_stabilization_window", UNSET) _helm = d.pop("helm", UNSET) @@ -479,6 +489,7 @@ def _parse_health_enabled(data: object) -> bool | None | Unset: health_block_deploy=health_block_deploy, health_enabled=health_enabled, health_probes=health_probes, + health_required_checks=health_required_checks, health_stabilization_window=health_stabilization_window, helm=helm, id=id, diff --git a/nuon/models/service_create_helm_component_config_request.py b/nuon/models/service_create_helm_component_config_request.py index 349f97e0..248829ae 100644 --- a/nuon/models/service_create_helm_component_config_request.py +++ b/nuon/models/service_create_helm_component_config_request.py @@ -42,6 +42,7 @@ class ServiceCreateHelmComponentConfigRequest: health_block_deploy (bool | None | Unset): health_enabled (bool | None | Unset): health_probes (list[ServiceHealthProbeRequest] | Unset): + health_required_checks (list[str] | Unset): health_stabilization_window (str | Unset): Duration string for the health stabilization window (e.g., "3m") helm_repo_config (ServiceHelmRepoConfigRequest | Unset): kubernetes_context (str | Unset): @@ -72,6 +73,7 @@ class ServiceCreateHelmComponentConfigRequest: health_block_deploy: bool | None | Unset = UNSET health_enabled: bool | None | Unset = UNSET health_probes: list[ServiceHealthProbeRequest] | Unset = UNSET + health_required_checks: list[str] | Unset = UNSET health_stabilization_window: str | Unset = UNSET helm_repo_config: ServiceHelmRepoConfigRequest | Unset = UNSET kubernetes_context: str | Unset = UNSET @@ -134,6 +136,10 @@ def to_dict(self) -> dict[str, Any]: health_probes_item = health_probes_item_data.to_dict() health_probes.append(health_probes_item) + health_required_checks: list[str] | Unset = UNSET + if not isinstance(self.health_required_checks, Unset): + health_required_checks = self.health_required_checks + health_stabilization_window = self.health_stabilization_window helm_repo_config: dict[str, Any] | Unset = UNSET @@ -204,6 +210,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["health_enabled"] = health_enabled if health_probes is not UNSET: field_dict["health_probes"] = health_probes + if health_required_checks is not UNSET: + field_dict["health_required_checks"] = health_required_checks if health_stabilization_window is not UNSET: field_dict["health_stabilization_window"] = health_stabilization_window if helm_repo_config is not UNSET: @@ -303,6 +311,8 @@ def _parse_health_enabled(data: object) -> bool | None | Unset: health_probes.append(health_probes_item) + health_required_checks = cast(list[str], d.pop("health_required_checks", UNSET)) + health_stabilization_window = d.pop("health_stabilization_window", UNSET) _helm_repo_config = d.pop("helm_repo_config", UNSET) @@ -361,6 +371,7 @@ def _parse_health_enabled(data: object) -> bool | None | Unset: health_block_deploy=health_block_deploy, health_enabled=health_enabled, health_probes=health_probes, + health_required_checks=health_required_checks, health_stabilization_window=health_stabilization_window, helm_repo_config=helm_repo_config, kubernetes_context=kubernetes_context, diff --git a/nuon/models/service_create_kubernetes_manifest_component_config_request.py b/nuon/models/service_create_kubernetes_manifest_component_config_request.py index 860087f7..145a554e 100644 --- a/nuon/models/service_create_kubernetes_manifest_component_config_request.py +++ b/nuon/models/service_create_kubernetes_manifest_component_config_request.py @@ -37,6 +37,7 @@ class ServiceCreateKubernetesManifestComponentConfigRequest: health_block_deploy (bool | None | Unset): health_enabled (bool | None | Unset): health_probes (list[ServiceHealthProbeRequest] | Unset): + health_required_checks (list[str] | Unset): health_stabilization_window (str | Unset): Duration string for the health stabilization window (e.g., "3m") kubernetes_context (str | Unset): kustomize (ServiceKustomizeConfigRequest | Unset): @@ -62,6 +63,7 @@ class ServiceCreateKubernetesManifestComponentConfigRequest: health_block_deploy: bool | None | Unset = UNSET health_enabled: bool | None | Unset = UNSET health_probes: list[ServiceHealthProbeRequest] | Unset = UNSET + health_required_checks: list[str] | Unset = UNSET health_stabilization_window: str | Unset = UNSET kubernetes_context: str | Unset = UNSET kustomize: ServiceKustomizeConfigRequest | Unset = UNSET @@ -117,6 +119,10 @@ def to_dict(self) -> dict[str, Any]: health_probes_item = health_probes_item_data.to_dict() health_probes.append(health_probes_item) + health_required_checks: list[str] | Unset = UNSET + if not isinstance(self.health_required_checks, Unset): + health_required_checks = self.health_required_checks + health_stabilization_window = self.health_stabilization_window kubernetes_context = self.kubernetes_context @@ -174,6 +180,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["health_enabled"] = health_enabled if health_probes is not UNSET: field_dict["health_probes"] = health_probes + if health_required_checks is not UNSET: + field_dict["health_required_checks"] = health_required_checks if health_stabilization_window is not UNSET: field_dict["health_stabilization_window"] = health_stabilization_window if kubernetes_context is not UNSET: @@ -260,6 +268,8 @@ def _parse_health_enabled(data: object) -> bool | None | Unset: health_probes.append(health_probes_item) + health_required_checks = cast(list[str], d.pop("health_required_checks", UNSET)) + health_stabilization_window = d.pop("health_stabilization_window", UNSET) kubernetes_context = d.pop("kubernetes_context", UNSET) @@ -312,6 +322,7 @@ def _parse_health_enabled(data: object) -> bool | None | Unset: health_block_deploy=health_block_deploy, health_enabled=health_enabled, health_probes=health_probes, + health_required_checks=health_required_checks, health_stabilization_window=health_stabilization_window, kubernetes_context=kubernetes_context, kustomize=kustomize, diff --git a/pyproject.toml b/pyproject.toml index 6129f6d2..7e72e0ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nuon" -version = "0.19.1098" +version = "0.19.1099" description = "A client library for accessing Nuon" authors = [] requires-python = ">=3.11" diff --git a/version.txt b/version.txt index b5fbfcc7..c97f0a10 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.19.1098 +0.19.1099