Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions nuon/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@
from .credentials_assume_role_config import CredentialsAssumeRoleConfig
from .credentials_service_principal_credentials import CredentialsServicePrincipalCredentials
from .credentials_static_credentials import CredentialsStaticCredentials
from .generics_null_string import GenericsNullString
from .generics_null_time import GenericsNullTime
from .get_app_config_template_type import GetAppConfigTemplateType
from .get_current_org_features_response_200 import GetCurrentOrgFeaturesResponse200
Expand Down Expand Up @@ -672,7 +671,6 @@
"CredentialsAssumeRoleConfig",
"CredentialsServicePrincipalCredentials",
"CredentialsStaticCredentials",
"GenericsNullString",
"GenericsNullTime",
"GetAppConfigTemplateType",
"GetCurrentOrgFeaturesResponse200",
Expand Down
32 changes: 8 additions & 24 deletions nuon/models/app_install_action_workflow_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from ..models.app_log_stream import AppLogStream
from ..models.app_runner_job import AppRunnerJob
from ..models.app_workflow import AppWorkflow
from ..models.generics_null_string import GenericsNullString


T = TypeVar("T", bound="AppInstallActionWorkflowRun")
Expand All @@ -30,15 +29,15 @@
class AppInstallActionWorkflowRun:
"""
Attributes:
action_workflow_config_id (GenericsNullString | Unset):
action_workflow_config_id (str | Unset):
config (AppActionWorkflowConfig | Unset):
created_at (str | Unset):
created_by (AppAccount | Unset):
created_by_id (str | Unset):
execution_time (int | Unset): after query
id (str | Unset):
install_action_workflow (AppInstallActionWorkflow | Unset):
install_action_workflow_id (GenericsNullString | Unset):
install_action_workflow_id (str | Unset):
install_id (str | Unset):
install_workflow_id (str | Unset):
log_stream (AppLogStream | Unset):
Expand All @@ -57,15 +56,15 @@ class AppInstallActionWorkflowRun:
workflow_id (str | Unset):
"""

action_workflow_config_id: GenericsNullString | Unset = UNSET
action_workflow_config_id: str | Unset = UNSET
config: AppActionWorkflowConfig | Unset = UNSET
created_at: str | Unset = UNSET
created_by: AppAccount | Unset = UNSET
created_by_id: str | Unset = UNSET
execution_time: int | Unset = UNSET
id: str | Unset = UNSET
install_action_workflow: AppInstallActionWorkflow | Unset = UNSET
install_action_workflow_id: GenericsNullString | Unset = UNSET
install_action_workflow_id: str | Unset = UNSET
install_id: str | Unset = UNSET
install_workflow_id: str | Unset = UNSET
log_stream: AppLogStream | Unset = UNSET
Expand All @@ -85,9 +84,7 @@ class AppInstallActionWorkflowRun:
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)

def to_dict(self) -> dict[str, Any]:
action_workflow_config_id: dict[str, Any] | Unset = UNSET
if not isinstance(self.action_workflow_config_id, Unset):
action_workflow_config_id = self.action_workflow_config_id.to_dict()
action_workflow_config_id = self.action_workflow_config_id

config: dict[str, Any] | Unset = UNSET
if not isinstance(self.config, Unset):
Expand All @@ -109,9 +106,7 @@ def to_dict(self) -> dict[str, Any]:
if not isinstance(self.install_action_workflow, Unset):
install_action_workflow = self.install_action_workflow.to_dict()

install_action_workflow_id: dict[str, Any] | Unset = UNSET
if not isinstance(self.install_action_workflow_id, Unset):
install_action_workflow_id = self.install_action_workflow_id.to_dict()
install_action_workflow_id = self.install_action_workflow_id

install_id = self.install_id

Expand Down Expand Up @@ -232,15 +227,9 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
from ..models.app_log_stream import AppLogStream
from ..models.app_runner_job import AppRunnerJob
from ..models.app_workflow import AppWorkflow
from ..models.generics_null_string import GenericsNullString

d = dict(src_dict)
_action_workflow_config_id = d.pop("action_workflow_config_id", UNSET)
action_workflow_config_id: GenericsNullString | Unset
if isinstance(_action_workflow_config_id, Unset):
action_workflow_config_id = UNSET
else:
action_workflow_config_id = GenericsNullString.from_dict(_action_workflow_config_id)
action_workflow_config_id = d.pop("action_workflow_config_id", UNSET)

_config = d.pop("config", UNSET)
config: AppActionWorkflowConfig | Unset
Expand Down Expand Up @@ -271,12 +260,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
else:
install_action_workflow = AppInstallActionWorkflow.from_dict(_install_action_workflow)

_install_action_workflow_id = d.pop("install_action_workflow_id", UNSET)
install_action_workflow_id: GenericsNullString | Unset
if isinstance(_install_action_workflow_id, Unset):
install_action_workflow_id = UNSET
else:
install_action_workflow_id = GenericsNullString.from_dict(_install_action_workflow_id)
install_action_workflow_id = d.pop("install_action_workflow_id", UNSET)

install_id = d.pop("install_id", UNSET)

Expand Down
17 changes: 4 additions & 13 deletions nuon/models/app_install_action_workflow_run_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

if TYPE_CHECKING:
from ..models.app_ad_hoc_step_config import AppAdHocStepConfig
from ..models.generics_null_string import GenericsNullString


T = TypeVar("T", bound="AppInstallActionWorkflowRunStep")
Expand All @@ -28,7 +27,7 @@ class AppInstallActionWorkflowRunStep:
id (str | Unset):
install_action_workflow_run_id (str | Unset):
status (AppInstallActionWorkflowRunStepStatus | Unset):
step_id (GenericsNullString | Unset):
step_id (str | Unset):
updated_at (str | Unset):
"""

Expand All @@ -39,7 +38,7 @@ class AppInstallActionWorkflowRunStep:
id: str | Unset = UNSET
install_action_workflow_run_id: str | Unset = UNSET
status: AppInstallActionWorkflowRunStepStatus | Unset = UNSET
step_id: GenericsNullString | Unset = UNSET
step_id: str | Unset = UNSET
updated_at: str | Unset = UNSET
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)

Expand All @@ -62,9 +61,7 @@ def to_dict(self) -> dict[str, Any]:
if not isinstance(self.status, Unset):
status = self.status.value

step_id: dict[str, Any] | Unset = UNSET
if not isinstance(self.step_id, Unset):
step_id = self.step_id.to_dict()
step_id = self.step_id

updated_at = self.updated_at

Expand Down Expand Up @@ -95,7 +92,6 @@ def to_dict(self) -> dict[str, Any]:
@classmethod
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
from ..models.app_ad_hoc_step_config import AppAdHocStepConfig
from ..models.generics_null_string import GenericsNullString

d = dict(src_dict)
_adhoc_config = d.pop("adhoc_config", UNSET)
Expand All @@ -122,12 +118,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
else:
status = AppInstallActionWorkflowRunStepStatus(_status)

_step_id = d.pop("step_id", UNSET)
step_id: GenericsNullString | Unset
if isinstance(_step_id, Unset):
step_id = UNSET
else:
step_id = GenericsNullString.from_dict(_step_id)
step_id = d.pop("step_id", UNSET)

updated_at = d.pop("updated_at", UNSET)

Expand Down
70 changes: 0 additions & 70 deletions nuon/models/generics_null_string.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nuon"
version = "0.19.784"
version = "0.19.787"
description = "A client library for accessing Nuon"
authors = []
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.19.784
0.19.787
Loading