diff --git a/nuon/api/accounts/complete_user_journey.py b/nuon/api/accounts/complete_user_journey.py index a0b83166..4ae29413 100644 --- a/nuon/api/accounts/complete_user_journey.py +++ b/nuon/api/accounts/complete_user_journey.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/account/user-journeys/{journey_name}/complete", + "url": "/v1/account/user-journeys/{journey_name}/complete".format( + journey_name=quote(str(journey_name), safe=""), + ), } return _kwargs diff --git a/nuon/api/accounts/reset_user_journey.py b/nuon/api/accounts/reset_user_journey.py index bd35a5e2..9970bf96 100644 --- a/nuon/api/accounts/reset_user_journey.py +++ b/nuon/api/accounts/reset_user_journey.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/account/user-journeys/{journey_name}/reset", + "url": "/v1/account/user-journeys/{journey_name}/reset".format( + journey_name=quote(str(journey_name), safe=""), + ), } return _kwargs diff --git a/nuon/api/accounts/update_user_journey_step.py b/nuon/api/accounts/update_user_journey_step.py index 0d990734..cc518d52 100644 --- a/nuon/api/accounts/update_user_journey_step.py +++ b/nuon/api/accounts/update_user_journey_step.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/account/user-journeys/{journey_name}/steps/{step_name}", + "url": "/v1/account/user-journeys/{journey_name}/steps/{step_name}".format( + journey_name=quote(str(journey_name), safe=""), + step_name=quote(str(step_name), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/create_action_config.py b/nuon/api/actions/create_action_config.py index b1956961..50a03e3e 100644 --- a/nuon/api/actions/create_action_config.py +++ b/nuon/api/actions/create_action_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/actions/{action_id}/configs", + "url": "/v1/apps/{app_id}/actions/{action_id}/configs".format( + app_id=quote(str(app_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/create_action_workflow_config.py b/nuon/api/actions/create_action_workflow_config.py index 3f2fa79f..3244e279 100644 --- a/nuon/api/actions/create_action_workflow_config.py +++ b/nuon/api/actions/create_action_workflow_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/action-workflows/{action_workflow_id}/configs", + "url": "/v1/action-workflows/{action_workflow_id}/configs".format( + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/create_app_action.py b/nuon/api/actions/create_app_action.py index 7bbf180d..eac2dd83 100644 --- a/nuon/api/actions/create_app_action.py +++ b/nuon/api/actions/create_app_action.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/actions", + "url": "/v1/apps/{app_id}/actions".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/create_app_action_workflow.py b/nuon/api/actions/create_app_action_workflow.py index 2060acc5..1b03a980 100644 --- a/nuon/api/actions/create_app_action_workflow.py +++ b/nuon/api/actions/create_app_action_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/action-workflows", + "url": "/v1/apps/{app_id}/action-workflows".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/create_install_action_run.py b/nuon/api/actions/create_install_action_run.py index 92537fdb..a80622ab 100644 --- a/nuon/api/actions/create_install_action_run.py +++ b/nuon/api/actions/create_install_action_run.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/actions/runs", + "url": "/v1/installs/{install_id}/actions/runs".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() @@ -85,10 +88,9 @@ def sync_detailed( client: AuthenticatedClient, body: ServiceCreateInstallActionWorkflowRunRequest, ) -> Response[StderrErrResponse | str]: - """create an action workflow run for an install + """create an action run for an install + - AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses - currently install id to lookup related appworkflowconfigId Args: install_id (str): @@ -120,10 +122,9 @@ def sync( client: AuthenticatedClient, body: ServiceCreateInstallActionWorkflowRunRequest, ) -> StderrErrResponse | str | None: - """create an action workflow run for an install + """create an action run for an install + - AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses - currently install id to lookup related appworkflowconfigId Args: install_id (str): @@ -150,10 +151,9 @@ async def asyncio_detailed( client: AuthenticatedClient, body: ServiceCreateInstallActionWorkflowRunRequest, ) -> Response[StderrErrResponse | str]: - """create an action workflow run for an install + """create an action run for an install + - AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses - currently install id to lookup related appworkflowconfigId Args: install_id (str): @@ -183,10 +183,9 @@ async def asyncio( client: AuthenticatedClient, body: ServiceCreateInstallActionWorkflowRunRequest, ) -> StderrErrResponse | str | None: - """create an action workflow run for an install + """create an action run for an install + - AppWorkflowConfigId param has been deprecated and is no longer being consumed, the api uses - currently install id to lookup related appworkflowconfigId Args: install_id (str): diff --git a/nuon/api/actions/create_install_action_workflow_run.py b/nuon/api/actions/create_install_action_workflow_run.py index e49393da..7262e204 100644 --- a/nuon/api/actions/create_install_action_workflow_run.py +++ b/nuon/api/actions/create_install_action_workflow_run.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/action-workflows/runs", + "url": "/v1/installs/{install_id}/action-workflows/runs".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/delete_action.py b/nuon/api/actions/delete_action.py index d6e68ab2..02491a9e 100644 --- a/nuon/api/actions/delete_action.py +++ b/nuon/api/actions/delete_action.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/actions/{action_id}", + "url": "/v1/actions/{action_id}".format( + action_id=quote(str(action_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/delete_action_workflow.py b/nuon/api/actions/delete_action_workflow.py index cddf6813..fb9d041b 100644 --- a/nuon/api/actions/delete_action_workflow.py +++ b/nuon/api/actions/delete_action_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/action-workflows/{action_workflow_id}", + "url": "/v1/action-workflows/{action_workflow_id}".format( + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_action_latest_config.py b/nuon/api/actions/get_action_latest_config.py index 11e628bf..d898077b 100644 --- a/nuon/api/actions/get_action_latest_config.py +++ b/nuon/api/actions/get_action_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/actions/{action_id}/latest-config", + "url": "/v1/apps/{app_id}/actions/{action_id}/latest-config".format( + app_id=quote(str(app_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_action_workflow.py b/nuon/api/actions/get_action_workflow.py index 8d5d39b7..166ef59c 100644 --- a/nuon/api/actions/get_action_workflow.py +++ b/nuon/api/actions/get_action_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/action-workflows/{action_workflow_id}", + "url": "/v1/action-workflows/{action_workflow_id}".format( + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_action_workflow_config.py b/nuon/api/actions/get_action_workflow_config.py index dfbc28f0..07cfcdc8 100644 --- a/nuon/api/actions/get_action_workflow_config.py +++ b/nuon/api/actions/get_action_workflow_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/action-workflows/configs/{action_workflow_config_id}", + "url": "/v1/action-workflows/configs/{action_workflow_config_id}".format( + action_workflow_config_id=quote(str(action_workflow_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_action_workflow_configs.py b/nuon/api/actions/get_action_workflow_configs.py index d78bde09..cc0e40f9 100644 --- a/nuon/api/actions/get_action_workflow_configs.py +++ b/nuon/api/actions/get_action_workflow_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/action-workflows/{action_workflow_id}/configs", + "url": "/v1/action-workflows/{action_workflow_id}/configs".format( + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_action_workflow_latest_config.py b/nuon/api/actions/get_action_workflow_latest_config.py index a4024fe5..b76725c9 100644 --- a/nuon/api/actions/get_action_workflow_latest_config.py +++ b/nuon/api/actions/get_action_workflow_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/action-workflows/{action_workflow_id}/latest-config", + "url": "/v1/action-workflows/{action_workflow_id}/latest-config".format( + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_action_workflows.py b/nuon/api/actions/get_action_workflows.py index 70ae62ce..ba557c1a 100644 --- a/nuon/api/actions/get_action_workflows.py +++ b/nuon/api/actions/get_action_workflows.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -32,7 +33,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/action-workflows", + "url": "/v1/apps/{app_id}/action-workflows".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_app_action.py b/nuon/api/actions/get_app_action.py index 61172286..db31c572 100644 --- a/nuon/api/actions/get_app_action.py +++ b/nuon/api/actions/get_app_action.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/actions/{action_id}", + "url": "/v1/apps/{app_id}/actions/{action_id}".format( + app_id=quote(str(app_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_app_action_config.py b/nuon/api/actions/get_app_action_config.py index a5d9e309..df96f75f 100644 --- a/nuon/api/actions/get_app_action_config.py +++ b/nuon/api/actions/get_app_action_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/actions/{action_id}/configs/{action_config_id}", + "url": "/v1/apps/{app_id}/actions/{action_id}/configs/{action_config_id}".format( + app_id=quote(str(app_id), safe=""), + action_id=quote(str(action_id), safe=""), + action_config_id=quote(str(action_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_app_action_configs.py b/nuon/api/actions/get_app_action_configs.py index a92e3329..fa3955fc 100644 --- a/nuon/api/actions/get_app_action_configs.py +++ b/nuon/api/actions/get_app_action_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/action/{action_id}/configs", + "url": "/v1/apps/{app_id}/action/{action_id}/configs".format( + app_id=quote(str(app_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_app_action_workflow.py b/nuon/api/actions/get_app_action_workflow.py index 2d135f50..93a8da48 100644 --- a/nuon/api/actions/get_app_action_workflow.py +++ b/nuon/api/actions/get_app_action_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/action-workflows/{action_workflow_id}", + "url": "/v1/apps/{app_id}/action-workflows/{action_workflow_id}".format( + app_id=quote(str(app_id), safe=""), + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_app_actions.py b/nuon/api/actions/get_app_actions.py index fbd8c53a..a17c96bb 100644 --- a/nuon/api/actions/get_app_actions.py +++ b/nuon/api/actions/get_app_actions.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -32,7 +33,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/actions", + "url": "/v1/apps/{app_id}/actions".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_install_action_recent_runs.py b/nuon/api/actions/get_install_action_recent_runs.py index b0bc64fb..0462e5e9 100644 --- a/nuon/api/actions/get_install_action_recent_runs.py +++ b/nuon/api/actions/get_install_action_recent_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions/{action_id}/recent-runs", + "url": "/v1/installs/{install_id}/actions/{action_id}/recent-runs".format( + install_id=quote(str(install_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_install_action_run.py b/nuon/api/actions/get_install_action_run.py index a78d38e4..2c793075 100644 --- a/nuon/api/actions/get_install_action_run.py +++ b/nuon/api/actions/get_install_action_run.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions/runs/{run_id}", + "url": "/v1/installs/{install_id}/actions/runs/{run_id}".format( + install_id=quote(str(install_id), safe=""), + run_id=quote(str(run_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_install_action_run_step.py b/nuon/api/actions/get_install_action_run_step.py index af23367a..efbb0984 100644 --- a/nuon/api/actions/get_install_action_run_step.py +++ b/nuon/api/actions/get_install_action_run_step.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions/runs/{run_id}/steps/{step_id}", + "url": "/v1/installs/{install_id}/actions/runs/{run_id}/steps/{step_id}".format( + install_id=quote(str(install_id), safe=""), + run_id=quote(str(run_id), safe=""), + step_id=quote(str(step_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_install_action_runs.py b/nuon/api/actions/get_install_action_runs.py index d7306997..f71f6f0b 100644 --- a/nuon/api/actions/get_install_action_runs.py +++ b/nuon/api/actions/get_install_action_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions/runs", + "url": "/v1/installs/{install_id}/actions/runs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_install_action_workflow_recent_runs.py b/nuon/api/actions/get_install_action_workflow_recent_runs.py index 9dfe6daf..df2bf14b 100644 --- a/nuon/api/actions/get_install_action_workflow_recent_runs.py +++ b/nuon/api/actions/get_install_action_workflow_recent_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows/{action_workflow_id}/recent-runs", + "url": "/v1/installs/{install_id}/action-workflows/{action_workflow_id}/recent-runs".format( + install_id=quote(str(install_id), safe=""), + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_install_action_workflow_run.py b/nuon/api/actions/get_install_action_workflow_run.py index cf010ecb..0657cb85 100644 --- a/nuon/api/actions/get_install_action_workflow_run.py +++ b/nuon/api/actions/get_install_action_workflow_run.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows/runs/{run_id}", + "url": "/v1/installs/{install_id}/action-workflows/runs/{run_id}".format( + install_id=quote(str(install_id), safe=""), + run_id=quote(str(run_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_install_action_workflow_run_step.py b/nuon/api/actions/get_install_action_workflow_run_step.py index c60dc3f2..21fb1207 100644 --- a/nuon/api/actions/get_install_action_workflow_run_step.py +++ b/nuon/api/actions/get_install_action_workflow_run_step.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows/runs/{workflow_run_id}/steps/{step_id}", + "url": "/v1/installs/{install_id}/action-workflows/runs/{workflow_run_id}/steps/{step_id}".format( + install_id=quote(str(install_id), safe=""), + workflow_run_id=quote(str(workflow_run_id), safe=""), + step_id=quote(str(step_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/actions/get_install_action_workflow_runs.py b/nuon/api/actions/get_install_action_workflow_runs.py index 4a25ad1c..2e284300 100644 --- a/nuon/api/actions/get_install_action_workflow_runs.py +++ b/nuon/api/actions/get_install_action_workflow_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows/runs", + "url": "/v1/installs/{install_id}/action-workflows/runs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_install_action_workflows_latest_runs.py b/nuon/api/actions/get_install_action_workflows_latest_runs.py index 88afe048..f5889ed6 100644 --- a/nuon/api/actions/get_install_action_workflows_latest_runs.py +++ b/nuon/api/actions/get_install_action_workflows_latest_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -35,7 +36,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows/latest-runs", + "url": "/v1/installs/{install_id}/action-workflows/latest-runs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/get_install_actions_latest_runs.py b/nuon/api/actions/get_install_actions_latest_runs.py index 51455204..bc9d191d 100644 --- a/nuon/api/actions/get_install_actions_latest_runs.py +++ b/nuon/api/actions/get_install_actions_latest_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -35,7 +36,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions/latest-runs", + "url": "/v1/installs/{install_id}/actions/latest-runs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/actions/update_app_action.py b/nuon/api/actions/update_app_action.py index 2105c771..c7dbd937 100644 --- a/nuon/api/actions/update_app_action.py +++ b/nuon/api/actions/update_app_action.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/apps/{app_id}/actions/{action_id}", + "url": "/v1/apps/{app_id}/actions/{action_id}".format( + app_id=quote(str(app_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/actions/update_app_action_workflow.py b/nuon/api/actions/update_app_action_workflow.py index 99084305..e64e58b4 100644 --- a/nuon/api/actions/update_app_action_workflow.py +++ b/nuon/api/actions/update_app_action_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/action-workflows/{action_workflow_id}", + "url": "/v1/action-workflows/{action_workflow_id}".format( + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_branch.py b/nuon/api/apps/create_app_branch.py index df6e5aea..5a75ef78 100644 --- a/nuon/api/apps/create_app_branch.py +++ b/nuon/api/apps/create_app_branch.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/branches", + "url": "/v1/apps/{app_id}/branches".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_break_glass_config.py b/nuon/api/apps/create_app_break_glass_config.py index 8357bb0e..cbe46476 100644 --- a/nuon/api/apps/create_app_break_glass_config.py +++ b/nuon/api/apps/create_app_break_glass_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/break-glass-configs", + "url": "/v1/apps/{app_id}/break-glass-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_config.py b/nuon/api/apps/create_app_config.py index b9762af7..5b637049 100644 --- a/nuon/api/apps/create_app_config.py +++ b/nuon/api/apps/create_app_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/config", + "url": "/v1/apps/{app_id}/config".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_config_v2.py b/nuon/api/apps/create_app_config_v2.py index 2faea51f..a3e38021 100644 --- a/nuon/api/apps/create_app_config_v2.py +++ b/nuon/api/apps/create_app_config_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/configs", + "url": "/v1/apps/{app_id}/configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_input_config.py b/nuon/api/apps/create_app_input_config.py index 9dbc683f..5eb5e172 100644 --- a/nuon/api/apps/create_app_input_config.py +++ b/nuon/api/apps/create_app_input_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/input-config", + "url": "/v1/apps/{app_id}/input-config".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_permissions_config.py b/nuon/api/apps/create_app_permissions_config.py index 782b4c60..738fb471 100644 --- a/nuon/api/apps/create_app_permissions_config.py +++ b/nuon/api/apps/create_app_permissions_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/permissions-configs", + "url": "/v1/apps/{app_id}/permissions-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_policies_config.py b/nuon/api/apps/create_app_policies_config.py index 8b1d643a..4e4b92c6 100644 --- a/nuon/api/apps/create_app_policies_config.py +++ b/nuon/api/apps/create_app_policies_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/policies-configs", + "url": "/v1/apps/{app_id}/policies-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_runner_config.py b/nuon/api/apps/create_app_runner_config.py index 22f5327b..a30b0cb0 100644 --- a/nuon/api/apps/create_app_runner_config.py +++ b/nuon/api/apps/create_app_runner_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/runner-configs", + "url": "/v1/apps/{app_id}/runner-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_sandbox_config.py b/nuon/api/apps/create_app_sandbox_config.py index d0b5f09a..487cf137 100644 --- a/nuon/api/apps/create_app_sandbox_config.py +++ b/nuon/api/apps/create_app_sandbox_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/sandbox-config", + "url": "/v1/apps/{app_id}/sandbox-config".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_sandbox_config_v2.py b/nuon/api/apps/create_app_sandbox_config_v2.py index dea1b776..ba7a13b3 100644 --- a/nuon/api/apps/create_app_sandbox_config_v2.py +++ b/nuon/api/apps/create_app_sandbox_config_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/sandbox-configs", + "url": "/v1/apps/{app_id}/sandbox-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_secret.py b/nuon/api/apps/create_app_secret.py index f26a6b0c..5be9fd63 100644 --- a/nuon/api/apps/create_app_secret.py +++ b/nuon/api/apps/create_app_secret.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/secret", + "url": "/v1/apps/{app_id}/secret".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_secret_v2.py b/nuon/api/apps/create_app_secret_v2.py index aaad1a24..31609544 100644 --- a/nuon/api/apps/create_app_secret_v2.py +++ b/nuon/api/apps/create_app_secret_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/secrets", + "url": "/v1/apps/{app_id}/secrets".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_secrets_config.py b/nuon/api/apps/create_app_secrets_config.py index 0d73a525..073a7702 100644 --- a/nuon/api/apps/create_app_secrets_config.py +++ b/nuon/api/apps/create_app_secrets_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/secrets-configs", + "url": "/v1/apps/{app_id}/secrets-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/create_app_stack_config.py b/nuon/api/apps/create_app_stack_config.py index d8222fa8..f75932cc 100644 --- a/nuon/api/apps/create_app_stack_config.py +++ b/nuon/api/apps/create_app_stack_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/stack-configs", + "url": "/v1/apps/{app_id}/stack-configs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/delete_app.py b/nuon/api/apps/delete_app.py index 58dbeb4c..d8f2776f 100644 --- a/nuon/api/apps/delete_app.py +++ b/nuon/api/apps/delete_app.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/apps/{app_id}", + "url": "/v1/apps/{app_id}".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/delete_app_secret.py b/nuon/api/apps/delete_app_secret.py index 42e30135..03dc30b1 100644 --- a/nuon/api/apps/delete_app_secret.py +++ b/nuon/api/apps/delete_app_secret.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/apps/{app_id}/secret/{secret_id}", + "url": "/v1/apps/{app_id}/secret/{secret_id}".format( + app_id=quote(str(app_id), safe=""), + secret_id=quote(str(secret_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/delete_app_secret_v2.py b/nuon/api/apps/delete_app_secret_v2.py index 6f4c023b..e06b8552 100644 --- a/nuon/api/apps/delete_app_secret_v2.py +++ b/nuon/api/apps/delete_app_secret_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/apps/{app_id}/secrets/{secret_id}", + "url": "/v1/apps/{app_id}/secrets/{secret_id}".format( + app_id=quote(str(app_id), safe=""), + secret_id=quote(str(secret_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app.py b/nuon/api/apps/get_app.py index a3dc1f5e..5251b41c 100644 --- a/nuon/api/apps/get_app.py +++ b/nuon/api/apps/get_app.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}", + "url": "/v1/apps/{app_id}".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_branch_app_configs.py b/nuon/api/apps/get_app_branch_app_configs.py index 991e49c7..d8b38eda 100644 --- a/nuon/api/apps/get_app_branch_app_configs.py +++ b/nuon/api/apps/get_app_branch_app_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/branches/{app_branch_id}/configs", + "url": "/v1/apps/{app_id}/branches/{app_branch_id}/configs".format( + app_id=quote(str(app_id), safe=""), + app_branch_id=quote(str(app_branch_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_branches.py b/nuon/api/apps/get_app_branches.py index c1bcdf51..516b6026 100644 --- a/nuon/api/apps/get_app_branches.py +++ b/nuon/api/apps/get_app_branches.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/branches", + "url": "/v1/apps/{app_id}/branches".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_break_glass_config.py b/nuon/api/apps/get_app_break_glass_config.py index 9c63dc4c..04f0165c 100644 --- a/nuon/api/apps/get_app_break_glass_config.py +++ b/nuon/api/apps/get_app_break_glass_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/break-glass-configs/{break_glass_config_id}", + "url": "/v1/apps/{app_id}/break-glass-configs/{break_glass_config_id}".format( + app_id=quote(str(app_id), safe=""), + break_glass_config_id=quote(str(break_glass_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_config.py b/nuon/api/apps/get_app_config.py index 4c575ca1..5a594c7d 100644 --- a/nuon/api/apps/get_app_config.py +++ b/nuon/api/apps/get_app_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -24,7 +25,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/config/{app_config_id}", + "url": "/v1/apps/{app_id}/config/{app_config_id}".format( + app_id=quote(str(app_id), safe=""), + app_config_id=quote(str(app_config_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_config_graph.py b/nuon/api/apps/get_app_config_graph.py index d16a464b..5d92f42e 100644 --- a/nuon/api/apps/get_app_config_graph.py +++ b/nuon/api/apps/get_app_config_graph.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/config/{app_config_id}/graph", + "url": "/v1/apps/{app_id}/config/{app_config_id}/graph".format( + app_id=quote(str(app_id), safe=""), + app_config_id=quote(str(app_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_config_graph_v2.py b/nuon/api/apps/get_app_config_graph_v2.py index 7607457a..7f9e1a8a 100644 --- a/nuon/api/apps/get_app_config_graph_v2.py +++ b/nuon/api/apps/get_app_config_graph_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/configs/{config_id}/graph", + "url": "/v1/apps/{app_id}/configs/{config_id}/graph".format( + app_id=quote(str(app_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_config_template.py b/nuon/api/apps/get_app_config_template.py index 5e3a8b83..2eed4910 100644 --- a/nuon/api/apps/get_app_config_template.py +++ b/nuon/api/apps/get_app_config_template.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -25,7 +26,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/template-config", + "url": "/v1/apps/{app_id}/template-config".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_configs.py b/nuon/api/apps/get_app_configs.py index 16ecc6f7..62f9d863 100644 --- a/nuon/api/apps/get_app_configs.py +++ b/nuon/api/apps/get_app_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/configs", + "url": "/v1/apps/{app_id}/configs".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_conflg_v2.py b/nuon/api/apps/get_app_conflg_v2.py index 9b0331d8..a8b8e2e9 100644 --- a/nuon/api/apps/get_app_conflg_v2.py +++ b/nuon/api/apps/get_app_conflg_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -24,7 +25,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/configs/{config_id}", + "url": "/v1/apps/{app_id}/configs/{config_id}".format( + app_id=quote(str(app_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_input_config.py b/nuon/api/apps/get_app_input_config.py index a9f22364..f2cb8180 100644 --- a/nuon/api/apps/get_app_input_config.py +++ b/nuon/api/apps/get_app_input_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/input-configs/{input_config_id}", + "url": "/v1/apps/{app_id}/input-configs/{input_config_id}".format( + app_id=quote(str(app_id), safe=""), + input_config_id=quote(str(input_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_input_configs.py b/nuon/api/apps/get_app_input_configs.py index 2c0515f3..28872135 100644 --- a/nuon/api/apps/get_app_input_configs.py +++ b/nuon/api/apps/get_app_input_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/input-configs", + "url": "/v1/apps/{app_id}/input-configs".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_input_latest_config.py b/nuon/api/apps/get_app_input_latest_config.py index 958eef0d..6e59cea6 100644 --- a/nuon/api/apps/get_app_input_latest_config.py +++ b/nuon/api/apps/get_app_input_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/input-latest-config", + "url": "/v1/apps/{app_id}/input-latest-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_latest_config.py b/nuon/api/apps/get_app_latest_config.py index 4fe6bbde..293a1d43 100644 --- a/nuon/api/apps/get_app_latest_config.py +++ b/nuon/api/apps/get_app_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -23,7 +24,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/latest-config", + "url": "/v1/apps/{app_id}/latest-config".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_permissions_config.py b/nuon/api/apps/get_app_permissions_config.py index affbca1f..f9e9fee5 100644 --- a/nuon/api/apps/get_app_permissions_config.py +++ b/nuon/api/apps/get_app_permissions_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/permissions-configs/{permissions_config_id}", + "url": "/v1/apps/{app_id}/permissions-configs/{permissions_config_id}".format( + app_id=quote(str(app_id), safe=""), + permissions_config_id=quote(str(permissions_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_policies_config.py b/nuon/api/apps/get_app_policies_config.py index f19b647b..0274907b 100644 --- a/nuon/api/apps/get_app_policies_config.py +++ b/nuon/api/apps/get_app_policies_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/policies-configs/{policies_config_id}", + "url": "/v1/apps/{app_id}/policies-configs/{policies_config_id}".format( + app_id=quote(str(app_id), safe=""), + policies_config_id=quote(str(policies_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_runner_configs.py b/nuon/api/apps/get_app_runner_configs.py index 7481b47e..e0414981 100644 --- a/nuon/api/apps/get_app_runner_configs.py +++ b/nuon/api/apps/get_app_runner_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/runner-configs", + "url": "/v1/apps/{app_id}/runner-configs".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_runner_latest_config.py b/nuon/api/apps/get_app_runner_latest_config.py index 219aa2c8..7b1ee5f6 100644 --- a/nuon/api/apps/get_app_runner_latest_config.py +++ b/nuon/api/apps/get_app_runner_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/runner-latest-config", + "url": "/v1/apps/{app_id}/runner-latest-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_sandbox_configs.py b/nuon/api/apps/get_app_sandbox_configs.py index 18500f8b..7d946713 100644 --- a/nuon/api/apps/get_app_sandbox_configs.py +++ b/nuon/api/apps/get_app_sandbox_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/sandbox-configs", + "url": "/v1/apps/{app_id}/sandbox-configs".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_sandbox_latest_config.py b/nuon/api/apps/get_app_sandbox_latest_config.py index 5c98621a..52ab53d9 100644 --- a/nuon/api/apps/get_app_sandbox_latest_config.py +++ b/nuon/api/apps/get_app_sandbox_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/sandbox-latest-config", + "url": "/v1/apps/{app_id}/sandbox-latest-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_secrets.py b/nuon/api/apps/get_app_secrets.py index ebd2d6ba..7b1b6f43 100644 --- a/nuon/api/apps/get_app_secrets.py +++ b/nuon/api/apps/get_app_secrets.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/secrets", + "url": "/v1/apps/{app_id}/secrets".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/apps/get_app_secrets_config.py b/nuon/api/apps/get_app_secrets_config.py index e8a0b71b..8e075715 100644 --- a/nuon/api/apps/get_app_secrets_config.py +++ b/nuon/api/apps/get_app_secrets_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/secrets-configs/{app_secrets_config_id}", + "url": "/v1/apps/{app_id}/secrets-configs/{app_secrets_config_id}".format( + app_id=quote(str(app_id), safe=""), + app_secrets_config_id=quote(str(app_secrets_config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_app_stack_config.py b/nuon/api/apps/get_app_stack_config.py index f1ea0af4..2bc2ca39 100644 --- a/nuon/api/apps/get_app_stack_config.py +++ b/nuon/api/apps/get_app_stack_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/stack-configs/{config_id}", + "url": "/v1/apps/{app_id}/stack-configs/{config_id}".format( + app_id=quote(str(app_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_latest_app_break_glass_config.py b/nuon/api/apps/get_latest_app_break_glass_config.py index b1bf815b..8046ffa0 100644 --- a/nuon/api/apps/get_latest_app_break_glass_config.py +++ b/nuon/api/apps/get_latest_app_break_glass_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/latest-app-break-glass-config", + "url": "/v1/apps/{app_id}/latest-app-break-glass-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_latest_app_permissions_config.py b/nuon/api/apps/get_latest_app_permissions_config.py index 6af9699f..a1ecfdfb 100644 --- a/nuon/api/apps/get_latest_app_permissions_config.py +++ b/nuon/api/apps/get_latest_app_permissions_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/latest-app-permissions-config", + "url": "/v1/apps/{app_id}/latest-app-permissions-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_latest_app_policies_config.py b/nuon/api/apps/get_latest_app_policies_config.py index f8a22af2..7ec847c2 100644 --- a/nuon/api/apps/get_latest_app_policies_config.py +++ b/nuon/api/apps/get_latest_app_policies_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/latest-app-policies-config", + "url": "/v1/apps/{app_id}/latest-app-policies-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/get_latest_app_secrets_config.py b/nuon/api/apps/get_latest_app_secrets_config.py index 616a58b2..acca117e 100644 --- a/nuon/api/apps/get_latest_app_secrets_config.py +++ b/nuon/api/apps/get_latest_app_secrets_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/latest-app-secrets-config", + "url": "/v1/apps/{app_id}/latest-app-secrets-config".format( + app_id=quote(str(app_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/apps/update_app.py b/nuon/api/apps/update_app.py index 45eed23a..38b96546 100644 --- a/nuon/api/apps/update_app.py +++ b/nuon/api/apps/update_app.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/apps/{app_id}", + "url": "/v1/apps/{app_id}".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/update_app_config.py b/nuon/api/apps/update_app_config.py index fb417296..781f984c 100644 --- a/nuon/api/apps/update_app_config.py +++ b/nuon/api/apps/update_app_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/apps/{app_id}/config/{app_config_id}", + "url": "/v1/apps/{app_id}/config/{app_config_id}".format( + app_id=quote(str(app_id), safe=""), + app_config_id=quote(str(app_config_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/update_app_config_installs.py b/nuon/api/apps/update_app_config_installs.py index 28ea76e7..f641ede6 100644 --- a/nuon/api/apps/update_app_config_installs.py +++ b/nuon/api/apps/update_app_config_installs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -20,7 +21,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/config/{app_config_id}/update-installs", + "url": "/v1/apps/{app_id}/config/{app_config_id}/update-installs".format( + app_id=quote(str(app_id), safe=""), + app_config_id=quote(str(app_config_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/update_app_config_installs_v2.py b/nuon/api/apps/update_app_config_installs_v2.py index 49ba75c7..54d301a7 100644 --- a/nuon/api/apps/update_app_config_installs_v2.py +++ b/nuon/api/apps/update_app_config_installs_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -20,7 +21,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/configs/{config_id}/update-installs", + "url": "/v1/apps/{app_id}/configs/{config_id}/update-installs".format( + app_id=quote(str(app_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/apps/update_app_conflg_v2.py b/nuon/api/apps/update_app_conflg_v2.py index b819509f..ee8180a2 100644 --- a/nuon/api/apps/update_app_conflg_v2.py +++ b/nuon/api/apps/update_app_conflg_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/apps/{app_id}/configs/{config_id}", + "url": "/v1/apps/{app_id}/configs/{config_id}".format( + app_id=quote(str(app_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/build_all_components.py b/nuon/api/components/build_all_components.py index 11c93aee..1a2f6e7b 100644 --- a/nuon/api/components/build_all_components.py +++ b/nuon/api/components/build_all_components.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/build-all", + "url": "/v1/apps/{app_id}/components/build-all".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_component_build.py b/nuon/api/components/create_app_component_build.py index 87031014..f7213879 100644 --- a/nuon/api/components/create_app_component_build.py +++ b/nuon/api/components/create_app_component_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/builds", + "url": "/v1/apps/{app_id}/components/{component_id}/builds".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_docker_build_component_config.py b/nuon/api/components/create_app_docker_build_component_config.py index 07f172d1..f28d78e3 100644 --- a/nuon/api/components/create_app_docker_build_component_config.py +++ b/nuon/api/components/create_app_docker_build_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -23,7 +24,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/docker-build", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/docker-build".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_external_image_component_config.py b/nuon/api/components/create_app_external_image_component_config.py index ceeba119..74294c26 100644 --- a/nuon/api/components/create_app_external_image_component_config.py +++ b/nuon/api/components/create_app_external_image_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -23,7 +24,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/external-image", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/external-image".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_helm_component_config.py b/nuon/api/components/create_app_helm_component_config.py index 68d46c6d..65994079 100644 --- a/nuon/api/components/create_app_helm_component_config.py +++ b/nuon/api/components/create_app_helm_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/helm", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/helm".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_job_component_config.py b/nuon/api/components/create_app_job_component_config.py index 31f7015c..b4dbb5aa 100644 --- a/nuon/api/components/create_app_job_component_config.py +++ b/nuon/api/components/create_app_job_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/job", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/job".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_kubernetes_manifest_component_config.py b/nuon/api/components/create_app_kubernetes_manifest_component_config.py index 865431fb..8a6f9d73 100644 --- a/nuon/api/components/create_app_kubernetes_manifest_component_config.py +++ b/nuon/api/components/create_app_kubernetes_manifest_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -23,7 +24,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/kubernetes-manifest", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/kubernetes-manifest".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_app_terraform_module_component_config.py b/nuon/api/components/create_app_terraform_module_component_config.py index df2d4449..e8f0d829 100644 --- a/nuon/api/components/create_app_terraform_module_component_config.py +++ b/nuon/api/components/create_app_terraform_module_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -23,7 +24,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/terraform-module", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/terraform-module".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_component.py b/nuon/api/components/create_component.py index fe8f08bf..f3bc479e 100644 --- a/nuon/api/components/create_component.py +++ b/nuon/api/components/create_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/components", + "url": "/v1/apps/{app_id}/components".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_component_build.py b/nuon/api/components/create_component_build.py index 8626d2af..a0e97e03 100644 --- a/nuon/api/components/create_component_build.py +++ b/nuon/api/components/create_component_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/builds", + "url": "/v1/components/{component_id}/builds".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_docker_build_component_config.py b/nuon/api/components/create_docker_build_component_config.py index 6bd15a24..dd53beb6 100644 --- a/nuon/api/components/create_docker_build_component_config.py +++ b/nuon/api/components/create_docker_build_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -22,7 +23,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/configs/docker-build", + "url": "/v1/components/{component_id}/configs/docker-build".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_external_image_component_config.py b/nuon/api/components/create_external_image_component_config.py index dea4b2c8..4080c870 100644 --- a/nuon/api/components/create_external_image_component_config.py +++ b/nuon/api/components/create_external_image_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -22,7 +23,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/configs/external-image", + "url": "/v1/components/{component_id}/configs/external-image".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_helm_component_config.py b/nuon/api/components/create_helm_component_config.py index 141d5b4b..e2c0dd88 100644 --- a/nuon/api/components/create_helm_component_config.py +++ b/nuon/api/components/create_helm_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/configs/helm", + "url": "/v1/components/{component_id}/configs/helm".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_job_component_config.py b/nuon/api/components/create_job_component_config.py index c8df20b9..7d97f02e 100644 --- a/nuon/api/components/create_job_component_config.py +++ b/nuon/api/components/create_job_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/configs/job", + "url": "/v1/components/{component_id}/configs/job".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_kubernetes_manifest_component_config.py b/nuon/api/components/create_kubernetes_manifest_component_config.py index 966bdc0d..37eebdcd 100644 --- a/nuon/api/components/create_kubernetes_manifest_component_config.py +++ b/nuon/api/components/create_kubernetes_manifest_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -22,7 +23,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/configs/kubernetes-manifest", + "url": "/v1/components/{component_id}/configs/kubernetes-manifest".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/create_terraform_module_component_config.py b/nuon/api/components/create_terraform_module_component_config.py index 9e322ae9..81643adb 100644 --- a/nuon/api/components/create_terraform_module_component_config.py +++ b/nuon/api/components/create_terraform_module_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -22,7 +23,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/configs/terraform-module", + "url": "/v1/components/{component_id}/configs/terraform-module".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/delete_app_component.py b/nuon/api/components/delete_app_component.py index db154ca6..0d9be1be 100644 --- a/nuon/api/components/delete_app_component.py +++ b/nuon/api/components/delete_app_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/apps/{app_id}/components/{component_id}", + "url": "/v1/apps/{app_id}/components/{component_id}".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/delete_component.py b/nuon/api/components/delete_component.py index d4867948..809d5333 100644 --- a/nuon/api/components/delete_component.py +++ b/nuon/api/components/delete_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/components/{component_id}", + "url": "/v1/components/{component_id}".format( + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component.py b/nuon/api/components/get_app_component.py index 1e7dff60..5346c7fa 100644 --- a/nuon/api/components/get_app_component.py +++ b/nuon/api/components/get_app_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/component/{component_name_or_id}", + "url": "/v1/apps/{app_id}/component/{component_name_or_id}".format( + app_id=quote(str(app_id), safe=""), + component_name_or_id=quote(str(component_name_or_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component_build.py b/nuon/api/components/get_app_component_build.py index e9411e0e..c8b48417 100644 --- a/nuon/api/components/get_app_component_build.py +++ b/nuon/api/components/get_app_component_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/builds/{build_id}", + "url": "/v1/apps/{app_id}/components/{component_id}/builds/{build_id}".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + build_id=quote(str(build_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component_builds.py b/nuon/api/components/get_app_component_builds.py index 48466b82..de97de7b 100644 --- a/nuon/api/components/get_app_component_builds.py +++ b/nuon/api/components/get_app_component_builds.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/builds", + "url": "/v1/apps/{app_id}/components/{component_id}/builds".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), "params": params, } diff --git a/nuon/api/components/get_app_component_config.py b/nuon/api/components/get_app_component_config.py index 66f93354..378b0496 100644 --- a/nuon/api/components/get_app_component_config.py +++ b/nuon/api/components/get_app_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/{config_id}", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/{config_id}".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component_configs.py b/nuon/api/components/get_app_component_configs.py index 1e8114a9..e4935ab3 100644 --- a/nuon/api/components/get_app_component_configs.py +++ b/nuon/api/components/get_app_component_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs", + "url": "/v1/apps/{app_id}/components/{component_id}/configs".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), "params": params, } diff --git a/nuon/api/components/get_app_component_dependencies.py b/nuon/api/components/get_app_component_dependencies.py index 930dd227..0cda8a08 100644 --- a/nuon/api/components/get_app_component_dependencies.py +++ b/nuon/api/components/get_app_component_dependencies.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/dependencies", + "url": "/v1/apps/{app_id}/components/{component_id}/dependencies".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component_dependents.py b/nuon/api/components/get_app_component_dependents.py index 2db0ba61..320a494e 100644 --- a/nuon/api/components/get_app_component_dependents.py +++ b/nuon/api/components/get_app_component_dependents.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/dependents", + "url": "/v1/apps/{app_id}/components/{component_id}/dependents".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component_latest_build.py b/nuon/api/components/get_app_component_latest_build.py index aa497930..10c5e9e2 100644 --- a/nuon/api/components/get_app_component_latest_build.py +++ b/nuon/api/components/get_app_component_latest_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/builds/latest", + "url": "/v1/apps/{app_id}/components/{component_id}/builds/latest".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_component_latest_config.py b/nuon/api/components/get_app_component_latest_config.py index 31dea0e1..95896947 100644 --- a/nuon/api/components/get_app_component_latest_config.py +++ b/nuon/api/components/get_app_component_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components/{component_id}/configs/latest", + "url": "/v1/apps/{app_id}/components/{component_id}/configs/latest".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_app_components.py b/nuon/api/components/get_app_components.py index 9e8d2e49..e82b987b 100644 --- a/nuon/api/components/get_app_components.py +++ b/nuon/api/components/get_app_components.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -38,7 +39,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/components", + "url": "/v1/apps/{app_id}/components".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/components/get_build.py b/nuon/api/components/get_build.py index 770a8777..d6f8aa9a 100644 --- a/nuon/api/components/get_build.py +++ b/nuon/api/components/get_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/builds/{build_id}", + "url": "/v1/components/builds/{build_id}".format( + build_id=quote(str(build_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component.py b/nuon/api/components/get_component.py index ec2ace38..1455c242 100644 --- a/nuon/api/components/get_component.py +++ b/nuon/api/components/get_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}", + "url": "/v1/components/{component_id}".format( + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component_build.py b/nuon/api/components/get_component_build.py index f695e30a..06236c23 100644 --- a/nuon/api/components/get_component_build.py +++ b/nuon/api/components/get_component_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/builds/{build_id}", + "url": "/v1/components/{component_id}/builds/{build_id}".format( + component_id=quote(str(component_id), safe=""), + build_id=quote(str(build_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component_config.py b/nuon/api/components/get_component_config.py index 6d62e7b1..04fc9782 100644 --- a/nuon/api/components/get_component_config.py +++ b/nuon/api/components/get_component_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/configs/{config_id}", + "url": "/v1/components/{component_id}/configs/{config_id}".format( + component_id=quote(str(component_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component_configs.py b/nuon/api/components/get_component_configs.py index 5d28487c..5a6b1d17 100644 --- a/nuon/api/components/get_component_configs.py +++ b/nuon/api/components/get_component_configs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/configs", + "url": "/v1/components/{component_id}/configs".format( + component_id=quote(str(component_id), safe=""), + ), "params": params, } diff --git a/nuon/api/components/get_component_dependencies.py b/nuon/api/components/get_component_dependencies.py index 54c6ef77..2eac251d 100644 --- a/nuon/api/components/get_component_dependencies.py +++ b/nuon/api/components/get_component_dependencies.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/dependencies", + "url": "/v1/components/{component_id}/dependencies".format( + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component_dependents.py b/nuon/api/components/get_component_dependents.py index a6b3fabd..ba6d26d1 100644 --- a/nuon/api/components/get_component_dependents.py +++ b/nuon/api/components/get_component_dependents.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/dependents", + "url": "/v1/components/{component_id}/dependents".format( + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component_latest_build.py b/nuon/api/components/get_component_latest_build.py index 563fa5d7..66f708bc 100644 --- a/nuon/api/components/get_component_latest_build.py +++ b/nuon/api/components/get_component_latest_build.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/builds/latest", + "url": "/v1/components/{component_id}/builds/latest".format( + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/get_component_latest_config.py b/nuon/api/components/get_component_latest_config.py index b1ceca8a..413a114d 100644 --- a/nuon/api/components/get_component_latest_config.py +++ b/nuon/api/components/get_component_latest_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/configs/latest", + "url": "/v1/components/{component_id}/configs/latest".format( + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/components/update_app_component.py b/nuon/api/components/update_app_component.py index bb8607e5..80ce7046 100644 --- a/nuon/api/components/update_app_component.py +++ b/nuon/api/components/update_app_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/apps/{app_id}/components/{component_id}", + "url": "/v1/apps/{app_id}/components/{component_id}".format( + app_id=quote(str(app_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/components/update_component.py b/nuon/api/components/update_component.py index 4551ed92..040c59a5 100644 --- a/nuon/api/components/update_component.py +++ b/nuon/api/components/update_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/components/{component_id}", + "url": "/v1/components/{component_id}".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/general/get_cloud_platform_regions.py b/nuon/api/general/get_cloud_platform_regions.py index 98dbf1fd..9b6af9cc 100644 --- a/nuon/api/general/get_cloud_platform_regions.py +++ b/nuon/api/general/get_cloud_platform_regions.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/general/cloud-platform/{cloud_platform}/regions", + "url": "/v1/general/cloud-platform/{cloud_platform}/regions".format( + cloud_platform=quote(str(cloud_platform), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/cancel_install_workflow.py b/nuon/api/installs/cancel_install_workflow.py index 6a442a47..552019e8 100644 --- a/nuon/api/installs/cancel_install_workflow.py +++ b/nuon/api/installs/cancel_install_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/install-workflows/{install_workflow_id}/cancel", + "url": "/v1/install-workflows/{install_workflow_id}/cancel".format( + install_workflow_id=quote(str(install_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/cancel_workflow.py b/nuon/api/installs/cancel_workflow.py index 9c8cd09a..f60230c4 100644 --- a/nuon/api/installs/cancel_workflow.py +++ b/nuon/api/installs/cancel_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/workflows/{workflow_id}/cancel", + "url": "/v1/workflows/{workflow_id}/cancel".format( + workflow_id=quote(str(workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/create_install.py b/nuon/api/installs/create_install.py index 7a777121..4364776f 100644 --- a/nuon/api/installs/create_install.py +++ b/nuon/api/installs/create_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/apps/{app_id}/installs", + "url": "/v1/apps/{app_id}/installs".format( + app_id=quote(str(app_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/create_install_component_deploy.py b/nuon/api/installs/create_install_component_deploy.py index b9a14e71..f1fda23f 100644 --- a/nuon/api/installs/create_install_component_deploy.py +++ b/nuon/api/installs/create_install_component_deploy.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/components/{component_id}/deploys", + "url": "/v1/installs/{install_id}/components/{component_id}/deploys".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/create_install_config.py b/nuon/api/installs/create_install_config.py index f4f8d9ea..7ca59afc 100644 --- a/nuon/api/installs/create_install_config.py +++ b/nuon/api/installs/create_install_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/configs", + "url": "/v1/installs/{install_id}/configs".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/create_install_deploy.py b/nuon/api/installs/create_install_deploy.py index cb37897c..34d1ea26 100644 --- a/nuon/api/installs/create_install_deploy.py +++ b/nuon/api/installs/create_install_deploy.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/deploys", + "url": "/v1/installs/{install_id}/deploys".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/create_install_inputs.py b/nuon/api/installs/create_install_inputs.py index 3b3ca97b..b90e68b7 100644 --- a/nuon/api/installs/create_install_inputs.py +++ b/nuon/api/installs/create_install_inputs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/inputs", + "url": "/v1/installs/{install_id}/inputs".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/create_workflow_step_approval_response.py b/nuon/api/installs/create_workflow_step_approval_response.py index dcf7ac76..4f2fe7ff 100644 --- a/nuon/api/installs/create_workflow_step_approval_response.py +++ b/nuon/api/installs/create_workflow_step_approval_response.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -26,7 +27,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/workflows/{workflow_id}/steps/{step_id}/approvals/{approval_id}/response", + "url": "/v1/workflows/{workflow_id}/steps/{step_id}/approvals/{approval_id}/response".format( + workflow_id=quote(str(workflow_id), safe=""), + step_id=quote(str(step_id), safe=""), + approval_id=quote(str(approval_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/delete_install.py b/nuon/api/installs/delete_install.py index 904794aa..afdbf489 100644 --- a/nuon/api/installs/delete_install.py +++ b/nuon/api/installs/delete_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/installs/{install_id}", + "url": "/v1/installs/{install_id}".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/deploy_install_components.py b/nuon/api/installs/deploy_install_components.py index 21584d75..7caf9e43 100644 --- a/nuon/api/installs/deploy_install_components.py +++ b/nuon/api/installs/deploy_install_components.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -7,22 +8,25 @@ from ...client import AuthenticatedClient, Client from ...models.service_deploy_install_components_request import ServiceDeployInstallComponentsRequest from ...models.stderr_err_response import StderrErrResponse -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( install_id: str, *, - body: ServiceDeployInstallComponentsRequest, + body: ServiceDeployInstallComponentsRequest | Unset = UNSET, ) -> dict[str, Any]: headers: dict[str, Any] = {} _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/components/deploy-all", + "url": "/v1/installs/{install_id}/components/deploy-all".format( + install_id=quote(str(install_id), safe=""), + ), } - _kwargs["json"] = body.to_dict() + if not isinstance(body, Unset): + _kwargs["json"] = body.to_dict() headers["Content-Type"] = "application/json" @@ -83,7 +87,7 @@ def sync_detailed( install_id: str, *, client: AuthenticatedClient, - body: ServiceDeployInstallComponentsRequest, + body: ServiceDeployInstallComponentsRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """deploy all components on an install @@ -94,7 +98,7 @@ def sync_detailed( Args: install_id (str): - body (ServiceDeployInstallComponentsRequest): + body (ServiceDeployInstallComponentsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,7 +124,7 @@ def sync( install_id: str, *, client: AuthenticatedClient, - body: ServiceDeployInstallComponentsRequest, + body: ServiceDeployInstallComponentsRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """deploy all components on an install @@ -131,7 +135,7 @@ def sync( Args: install_id (str): - body (ServiceDeployInstallComponentsRequest): + body (ServiceDeployInstallComponentsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -152,7 +156,7 @@ async def asyncio_detailed( install_id: str, *, client: AuthenticatedClient, - body: ServiceDeployInstallComponentsRequest, + body: ServiceDeployInstallComponentsRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """deploy all components on an install @@ -163,7 +167,7 @@ async def asyncio_detailed( Args: install_id (str): - body (ServiceDeployInstallComponentsRequest): + body (ServiceDeployInstallComponentsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -187,7 +191,7 @@ async def asyncio( install_id: str, *, client: AuthenticatedClient, - body: ServiceDeployInstallComponentsRequest, + body: ServiceDeployInstallComponentsRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """deploy all components on an install @@ -198,7 +202,7 @@ async def asyncio( Args: install_id (str): - body (ServiceDeployInstallComponentsRequest): + body (ServiceDeployInstallComponentsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/nuon/api/installs/deprovision_install.py b/nuon/api/installs/deprovision_install.py index e62d4068..7202fd9d 100644 --- a/nuon/api/installs/deprovision_install.py +++ b/nuon/api/installs/deprovision_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/deprovision", + "url": "/v1/installs/{install_id}/deprovision".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/deprovision_install_sandbox.py b/nuon/api/installs/deprovision_install_sandbox.py index c980f72f..d3a1e991 100644 --- a/nuon/api/installs/deprovision_install_sandbox.py +++ b/nuon/api/installs/deprovision_install_sandbox.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/deprovision-sandbox", + "url": "/v1/installs/{install_id}/deprovision-sandbox".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/forget_install.py b/nuon/api/installs/forget_install.py index 8855adaf..fb1f2a8f 100644 --- a/nuon/api/installs/forget_install.py +++ b/nuon/api/installs/forget_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/forget", + "url": "/v1/installs/{install_id}/forget".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/generate_cli_install_config.py b/nuon/api/installs/generate_cli_install_config.py index ce7d0b18..33bfbc50 100644 --- a/nuon/api/installs/generate_cli_install_config.py +++ b/nuon/api/installs/generate_cli_install_config.py @@ -1,6 +1,7 @@ from http import HTTPStatus from io import BytesIO from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/generate-cli-install-config", + "url": "/v1/installs/{install_id}/generate-cli-install-config".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/generate_terraform_installer_config.py b/nuon/api/installs/generate_terraform_installer_config.py index 038e71c0..c825b25b 100644 --- a/nuon/api/installs/generate_terraform_installer_config.py +++ b/nuon/api/installs/generate_terraform_installer_config.py @@ -1,6 +1,7 @@ from http import HTTPStatus from io import BytesIO from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/generate-terraform-installer-config", + "url": "/v1/installs/{install_id}/generate-terraform-installer-config".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_app_installs.py b/nuon/api/installs/get_app_installs.py index 8180ebe1..77b69ac2 100644 --- a/nuon/api/installs/get_app_installs.py +++ b/nuon/api/installs/get_app_installs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -32,7 +33,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/installs", + "url": "/v1/apps/{app_id}/installs".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_current_install_inputs.py b/nuon/api/installs/get_current_install_inputs.py index b4feda0f..12a0ebd6 100644 --- a/nuon/api/installs/get_current_install_inputs.py +++ b/nuon/api/installs/get_current_install_inputs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/inputs/current", + "url": "/v1/installs/{install_id}/inputs/current".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_drifted_objects.py b/nuon/api/installs/get_drifted_objects.py index 1fd7f912..6f59e0ab 100644 --- a/nuon/api/installs/get_drifted_objects.py +++ b/nuon/api/installs/get_drifted_objects.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/drifted-objects", + "url": "/v1/installs/{install_id}/drifted-objects".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install.py b/nuon/api/installs/get_install.py index d2cb04b7..cdd23506 100644 --- a/nuon/api/installs/get_install.py +++ b/nuon/api/installs/get_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -23,7 +24,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}", + "url": "/v1/installs/{install_id}".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_action.py b/nuon/api/installs/get_install_action.py index 697e1c99..9817a4da 100644 --- a/nuon/api/installs/get_install_action.py +++ b/nuon/api/installs/get_install_action.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions/{action_id}", + "url": "/v1/installs/{install_id}/actions/{action_id}".format( + install_id=quote(str(install_id), safe=""), + action_id=quote(str(action_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_action_workflow.py b/nuon/api/installs/get_install_action_workflow.py index 1d731afe..a670ae09 100644 --- a/nuon/api/installs/get_install_action_workflow.py +++ b/nuon/api/installs/get_install_action_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows/{action_workflow_id}", + "url": "/v1/installs/{install_id}/action-workflows/{action_workflow_id}".format( + install_id=quote(str(install_id), safe=""), + action_workflow_id=quote(str(action_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_action_workflows.py b/nuon/api/installs/get_install_action_workflows.py index 2c4ab1a4..83226acd 100644 --- a/nuon/api/installs/get_install_action_workflows.py +++ b/nuon/api/installs/get_install_action_workflows.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/action-workflows", + "url": "/v1/installs/{install_id}/action-workflows".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_actions.py b/nuon/api/installs/get_install_actions.py index 9e2e9391..e0f2c86f 100644 --- a/nuon/api/installs/get_install_actions.py +++ b/nuon/api/installs/get_install_actions.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/actions", + "url": "/v1/installs/{install_id}/actions".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_audit_logs.py b/nuon/api/installs/get_install_audit_logs.py index 85097191..4f6bace3 100644 --- a/nuon/api/installs/get_install_audit_logs.py +++ b/nuon/api/installs/get_install_audit_logs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -26,7 +27,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/audit_logs", + "url": "/v1/installs/{install_id}/audit_logs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_component.py b/nuon/api/installs/get_install_component.py index faceeaa0..05c1117d 100644 --- a/nuon/api/installs/get_install_component.py +++ b/nuon/api/installs/get_install_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components/{component_id}", + "url": "/v1/installs/{install_id}/components/{component_id}".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_component_deploy.py b/nuon/api/installs/get_install_component_deploy.py index b2ddb48c..060d6d0c 100644 --- a/nuon/api/installs/get_install_component_deploy.py +++ b/nuon/api/installs/get_install_component_deploy.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components/{component_id}/deploys/{deploy_id}", + "url": "/v1/installs/{install_id}/components/{component_id}/deploys/{deploy_id}".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + deploy_id=quote(str(deploy_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_component_deploys.py b/nuon/api/installs/get_install_component_deploys.py index 0c5c9b49..1d8c5374 100644 --- a/nuon/api/installs/get_install_component_deploys.py +++ b/nuon/api/installs/get_install_component_deploys.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -30,7 +31,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components/{component_id}/deploys", + "url": "/v1/installs/{install_id}/components/{component_id}/deploys".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_component_latest_deploy.py b/nuon/api/installs/get_install_component_latest_deploy.py index e7db518e..81de0299 100644 --- a/nuon/api/installs/get_install_component_latest_deploy.py +++ b/nuon/api/installs/get_install_component_latest_deploy.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components/{component_id}/deploys/latest", + "url": "/v1/installs/{install_id}/components/{component_id}/deploys/latest".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_component_outputs.py b/nuon/api/installs/get_install_component_outputs.py index d6e983f4..686e61e7 100644 --- a/nuon/api/installs/get_install_component_outputs.py +++ b/nuon/api/installs/get_install_component_outputs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components/{component_id}/outputs", + "url": "/v1/installs/{install_id}/components/{component_id}/outputs".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_components.py b/nuon/api/installs/get_install_components.py index 51c2c844..f1c5fe5f 100644 --- a/nuon/api/installs/get_install_components.py +++ b/nuon/api/installs/get_install_components.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -32,7 +33,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components", + "url": "/v1/installs/{install_id}/components".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_components_deploys.py b/nuon/api/installs/get_install_components_deploys.py index fb60e4e4..d4e1350d 100644 --- a/nuon/api/installs/get_install_components_deploys.py +++ b/nuon/api/installs/get_install_components_deploys.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/components/deploys", + "url": "/v1/installs/{install_id}/components/deploys".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_deploy.py b/nuon/api/installs/get_install_deploy.py index 07d23c74..1d205060 100644 --- a/nuon/api/installs/get_install_deploy.py +++ b/nuon/api/installs/get_install_deploy.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/deploys/{deploy_id}", + "url": "/v1/installs/{install_id}/deploys/{deploy_id}".format( + install_id=quote(str(install_id), safe=""), + deploy_id=quote(str(deploy_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_deploys.py b/nuon/api/installs/get_install_deploys.py index c2c04ba8..3ec36f8e 100644 --- a/nuon/api/installs/get_install_deploys.py +++ b/nuon/api/installs/get_install_deploys.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/deploys", + "url": "/v1/installs/{install_id}/deploys".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_event.py b/nuon/api/installs/get_install_event.py index b73acf16..692aa370 100644 --- a/nuon/api/installs/get_install_event.py +++ b/nuon/api/installs/get_install_event.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/events/{event_id}", + "url": "/v1/installs/{install_id}/events/{event_id}".format( + install_id=quote(str(install_id), safe=""), + event_id=quote(str(event_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_events.py b/nuon/api/installs/get_install_events.py index d7a2e98f..1b81d2e8 100644 --- a/nuon/api/installs/get_install_events.py +++ b/nuon/api/installs/get_install_events.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/events", + "url": "/v1/installs/{install_id}/events".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_inputs.py b/nuon/api/installs/get_install_inputs.py index 14bb20df..1a7f4d27 100644 --- a/nuon/api/installs/get_install_inputs.py +++ b/nuon/api/installs/get_install_inputs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/inputs", + "url": "/v1/installs/{install_id}/inputs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_latest_deploy.py b/nuon/api/installs/get_install_latest_deploy.py index 56a85093..c3ba8ad2 100644 --- a/nuon/api/installs/get_install_latest_deploy.py +++ b/nuon/api/installs/get_install_latest_deploy.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/deploys/latest", + "url": "/v1/installs/{install_id}/deploys/latest".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_readme.py b/nuon/api/installs/get_install_readme.py index d9b00d77..62dbec7b 100644 --- a/nuon/api/installs/get_install_readme.py +++ b/nuon/api/installs/get_install_readme.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/readme", + "url": "/v1/installs/{install_id}/readme".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_runner_group.py b/nuon/api/installs/get_install_runner_group.py index c9b2b2f0..66139e14 100644 --- a/nuon/api/installs/get_install_runner_group.py +++ b/nuon/api/installs/get_install_runner_group.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/runner-group", + "url": "/v1/installs/{install_id}/runner-group".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_sandbox_run.py b/nuon/api/installs/get_install_sandbox_run.py index d83515da..5b46b838 100644 --- a/nuon/api/installs/get_install_sandbox_run.py +++ b/nuon/api/installs/get_install_sandbox_run.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/sandbox-runs/{run_id}", + "url": "/v1/installs/sandbox-runs/{run_id}".format( + run_id=quote(str(run_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_sandbox_run_v2.py b/nuon/api/installs/get_install_sandbox_run_v2.py index 178c2ec9..dc613be4 100644 --- a/nuon/api/installs/get_install_sandbox_run_v2.py +++ b/nuon/api/installs/get_install_sandbox_run_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/sandbox-runs/{run_id}", + "url": "/v1/installs/{install_id}/sandbox-runs/{run_id}".format( + install_id=quote(str(install_id), safe=""), + run_id=quote(str(run_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_sandbox_runs.py b/nuon/api/installs/get_install_sandbox_runs.py index 08c01827..c9d06d29 100644 --- a/nuon/api/installs/get_install_sandbox_runs.py +++ b/nuon/api/installs/get_install_sandbox_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/sandbox-runs", + "url": "/v1/installs/{install_id}/sandbox-runs".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_stack.py b/nuon/api/installs/get_install_stack.py index 83ac4585..3871fecf 100644 --- a/nuon/api/installs/get_install_stack.py +++ b/nuon/api/installs/get_install_stack.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/stacks/{stack_id}", + "url": "/v1/installs/stacks/{stack_id}".format( + stack_id=quote(str(stack_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_stack_by_install_id.py b/nuon/api/installs/get_install_stack_by_install_id.py index 0a5d493c..492bd184 100644 --- a/nuon/api/installs/get_install_stack_by_install_id.py +++ b/nuon/api/installs/get_install_stack_by_install_id.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/stack", + "url": "/v1/installs/{install_id}/stack".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_stack_runs.py b/nuon/api/installs/get_install_stack_runs.py index 5f23864f..50790cbb 100644 --- a/nuon/api/installs/get_install_stack_runs.py +++ b/nuon/api/installs/get_install_stack_runs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/stack-runs", + "url": "/v1/installs/{install_id}/stack-runs".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_state.py b/nuon/api/installs/get_install_state.py index e3462612..6bd01011 100644 --- a/nuon/api/installs/get_install_state.py +++ b/nuon/api/installs/get_install_state.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/state", + "url": "/v1/installs/{install_id}/state".format( + install_id=quote(str(install_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_state_history.py b/nuon/api/installs/get_install_state_history.py index 374f98f5..e49f9b35 100644 --- a/nuon/api/installs/get_install_state_history.py +++ b/nuon/api/installs/get_install_state_history.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/state-history", + "url": "/v1/installs/{install_id}/state-history".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/get_install_workflow.py b/nuon/api/installs/get_install_workflow.py index fc7e6cf9..85eef389 100644 --- a/nuon/api/installs/get_install_workflow.py +++ b/nuon/api/installs/get_install_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/install-workflows/{install_workflow_id}", + "url": "/v1/install-workflows/{install_workflow_id}".format( + install_workflow_id=quote(str(install_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_workflow_step.py b/nuon/api/installs/get_install_workflow_step.py index 76eda400..b0588587 100644 --- a/nuon/api/installs/get_install_workflow_step.py +++ b/nuon/api/installs/get_install_workflow_step.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/install-workflows/{install_workflow_id}/steps/{install_workflow_step_id}", + "url": "/v1/install-workflows/{install_workflow_id}/steps/{install_workflow_step_id}".format( + install_workflow_id=quote(str(install_workflow_id), safe=""), + install_workflow_step_id=quote(str(install_workflow_step_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_workflow_step_approval.py b/nuon/api/installs/get_install_workflow_step_approval.py index cae498c0..efd1c1cc 100644 --- a/nuon/api/installs/get_install_workflow_step_approval.py +++ b/nuon/api/installs/get_install_workflow_step_approval.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/install-workflows/{install_workflow_id}/steps/{install_workflow_step_id}/approvals/{approval_id}", + "url": "/v1/install-workflows/{install_workflow_id}/steps/{install_workflow_step_id}/approvals/{approval_id}".format( + install_workflow_id=quote(str(install_workflow_id), safe=""), + install_workflow_step_id=quote(str(install_workflow_step_id), safe=""), + approval_id=quote(str(approval_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_install_workflow_steps.py b/nuon/api/installs/get_install_workflow_steps.py index 25a1cdb6..098c645a 100644 --- a/nuon/api/installs/get_install_workflow_steps.py +++ b/nuon/api/installs/get_install_workflow_steps.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/install-workflows/{install_workflow_id}/steps", + "url": "/v1/install-workflows/{install_workflow_id}/steps".format( + install_workflow_id=quote(str(install_workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_workflow.py b/nuon/api/installs/get_workflow.py index 1fc29ebb..0d2c5207 100644 --- a/nuon/api/installs/get_workflow.py +++ b/nuon/api/installs/get_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/workflows/{workflow_id}", + "url": "/v1/workflows/{workflow_id}".format( + workflow_id=quote(str(workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_workflow_step.py b/nuon/api/installs/get_workflow_step.py index 9623c60f..21db9afb 100644 --- a/nuon/api/installs/get_workflow_step.py +++ b/nuon/api/installs/get_workflow_step.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/workflows/{workflow_id}/steps/{step_id}", + "url": "/v1/workflows/{workflow_id}/steps/{step_id}".format( + workflow_id=quote(str(workflow_id), safe=""), + step_id=quote(str(step_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_workflow_step_approval.py b/nuon/api/installs/get_workflow_step_approval.py index ea7eae27..26c60d99 100644 --- a/nuon/api/installs/get_workflow_step_approval.py +++ b/nuon/api/installs/get_workflow_step_approval.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/workflows/{workflow_id}/steps/{step_id}/approvals/{approval_id}", + "url": "/v1/workflows/{workflow_id}/steps/{step_id}/approvals/{approval_id}".format( + workflow_id=quote(str(workflow_id), safe=""), + step_id=quote(str(step_id), safe=""), + approval_id=quote(str(approval_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_workflow_step_approval_contents.py b/nuon/api/installs/get_workflow_step_approval_contents.py index 2fff07ee..148cf3d5 100644 --- a/nuon/api/installs/get_workflow_step_approval_contents.py +++ b/nuon/api/installs/get_workflow_step_approval_contents.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/workflows/{workflow_id}/steps/{step_id}/approvals/{approval_id}/contents", + "url": "/v1/workflows/{workflow_id}/steps/{step_id}/approvals/{approval_id}/contents".format( + workflow_id=quote(str(workflow_id), safe=""), + step_id=quote(str(step_id), safe=""), + approval_id=quote(str(approval_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_workflow_steps.py b/nuon/api/installs/get_workflow_steps.py index 4d6a2d95..3c729d45 100644 --- a/nuon/api/installs/get_workflow_steps.py +++ b/nuon/api/installs/get_workflow_steps.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/workflows/{workflow_id}/steps", + "url": "/v1/workflows/{workflow_id}/steps".format( + workflow_id=quote(str(workflow_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/installs/get_workflows.py b/nuon/api/installs/get_workflows.py index 0546e2b7..7941b0a7 100644 --- a/nuon/api/installs/get_workflows.py +++ b/nuon/api/installs/get_workflows.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -41,7 +42,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/installs/{install_id}/workflows", + "url": "/v1/installs/{install_id}/workflows".format( + install_id=quote(str(install_id), safe=""), + ), "params": params, } diff --git a/nuon/api/installs/phone_home.py b/nuon/api/installs/phone_home.py index c8ac2999..c70bf002 100644 --- a/nuon/api/installs/phone_home.py +++ b/nuon/api/installs/phone_home.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -20,7 +21,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/phone-home/{phone_home_id}", + "url": "/v1/installs/{install_id}/phone-home/{phone_home_id}".format( + install_id=quote(str(install_id), safe=""), + phone_home_id=quote(str(phone_home_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/reprovision_install.py b/nuon/api/installs/reprovision_install.py index 769a3028..257acae4 100644 --- a/nuon/api/installs/reprovision_install.py +++ b/nuon/api/installs/reprovision_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -7,22 +8,25 @@ from ...client import AuthenticatedClient, Client from ...models.service_reprovision_install_request import ServiceReprovisionInstallRequest from ...models.stderr_err_response import StderrErrResponse -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( install_id: str, *, - body: ServiceReprovisionInstallRequest, + body: ServiceReprovisionInstallRequest | Unset = UNSET, ) -> dict[str, Any]: headers: dict[str, Any] = {} _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/reprovision", + "url": "/v1/installs/{install_id}/reprovision".format( + install_id=quote(str(install_id), safe=""), + ), } - _kwargs["json"] = body.to_dict() + if not isinstance(body, Unset): + _kwargs["json"] = body.to_dict() headers["Content-Type"] = "application/json" @@ -83,7 +87,7 @@ def sync_detailed( install_id: str, *, client: AuthenticatedClient, - body: ServiceReprovisionInstallRequest, + body: ServiceReprovisionInstallRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """reprovision an install @@ -92,7 +96,7 @@ def sync_detailed( Args: install_id (str): - body (ServiceReprovisionInstallRequest): + body (ServiceReprovisionInstallRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,7 +122,7 @@ def sync( install_id: str, *, client: AuthenticatedClient, - body: ServiceReprovisionInstallRequest, + body: ServiceReprovisionInstallRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """reprovision an install @@ -127,7 +131,7 @@ def sync( Args: install_id (str): - body (ServiceReprovisionInstallRequest): + body (ServiceReprovisionInstallRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,7 +152,7 @@ async def asyncio_detailed( install_id: str, *, client: AuthenticatedClient, - body: ServiceReprovisionInstallRequest, + body: ServiceReprovisionInstallRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """reprovision an install @@ -157,7 +161,7 @@ async def asyncio_detailed( Args: install_id (str): - body (ServiceReprovisionInstallRequest): + body (ServiceReprovisionInstallRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,7 +185,7 @@ async def asyncio( install_id: str, *, client: AuthenticatedClient, - body: ServiceReprovisionInstallRequest, + body: ServiceReprovisionInstallRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """reprovision an install @@ -190,7 +194,7 @@ async def asyncio( Args: install_id (str): - body (ServiceReprovisionInstallRequest): + body (ServiceReprovisionInstallRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/nuon/api/installs/reprovision_install_sandbox.py b/nuon/api/installs/reprovision_install_sandbox.py index 3cd0e1b4..355b6b15 100644 --- a/nuon/api/installs/reprovision_install_sandbox.py +++ b/nuon/api/installs/reprovision_install_sandbox.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/reprovision-sandbox", + "url": "/v1/installs/{install_id}/reprovision-sandbox".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/retry_owner_workflow_by_id.py b/nuon/api/installs/retry_owner_workflow_by_id.py index 5ad796bf..c95de912 100644 --- a/nuon/api/installs/retry_owner_workflow_by_id.py +++ b/nuon/api/installs/retry_owner_workflow_by_id.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/workflows/{workflow_id}/retry", + "url": "/v1/workflows/{workflow_id}/retry".format( + workflow_id=quote(str(workflow_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/retry_workflow.py b/nuon/api/installs/retry_workflow.py index 2e12a5e0..c5f8d255 100644 --- a/nuon/api/installs/retry_workflow.py +++ b/nuon/api/installs/retry_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/retry-workflow", + "url": "/v1/installs/{install_id}/retry-workflow".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/retry_workflow_step.py b/nuon/api/installs/retry_workflow_step.py index 58ad56bb..ad9ddea9 100644 --- a/nuon/api/installs/retry_workflow_step.py +++ b/nuon/api/installs/retry_workflow_step.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/workflows/{workflow_id}/step/{step_id}/retry", + "url": "/v1/workflows/{workflow_id}/step/{step_id}/retry".format( + workflow_id=quote(str(workflow_id), safe=""), + step_id=quote(str(step_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/sync_secrets.py b/nuon/api/installs/sync_secrets.py index 8b33dcf1..b8d39444 100644 --- a/nuon/api/installs/sync_secrets.py +++ b/nuon/api/installs/sync_secrets.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -7,22 +8,25 @@ from ...client import AuthenticatedClient, Client from ...models.service_sync_secrets_request import ServiceSyncSecretsRequest from ...models.stderr_err_response import StderrErrResponse -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( install_id: str, *, - body: ServiceSyncSecretsRequest, + body: ServiceSyncSecretsRequest | Unset = UNSET, ) -> dict[str, Any]: headers: dict[str, Any] = {} _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/sync-secrets", + "url": "/v1/installs/{install_id}/sync-secrets".format( + install_id=quote(str(install_id), safe=""), + ), } - _kwargs["json"] = body.to_dict() + if not isinstance(body, Unset): + _kwargs["json"] = body.to_dict() headers["Content-Type"] = "application/json" @@ -83,7 +87,7 @@ def sync_detailed( install_id: str, *, client: AuthenticatedClient, - body: ServiceSyncSecretsRequest, + body: ServiceSyncSecretsRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """sync secrets install @@ -91,7 +95,7 @@ def sync_detailed( Args: install_id (str): - body (ServiceSyncSecretsRequest): + body (ServiceSyncSecretsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,7 +121,7 @@ def sync( install_id: str, *, client: AuthenticatedClient, - body: ServiceSyncSecretsRequest, + body: ServiceSyncSecretsRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """sync secrets install @@ -125,7 +129,7 @@ def sync( Args: install_id (str): - body (ServiceSyncSecretsRequest): + body (ServiceSyncSecretsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -146,7 +150,7 @@ async def asyncio_detailed( install_id: str, *, client: AuthenticatedClient, - body: ServiceSyncSecretsRequest, + body: ServiceSyncSecretsRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """sync secrets install @@ -154,7 +158,7 @@ async def asyncio_detailed( Args: install_id (str): - body (ServiceSyncSecretsRequest): + body (ServiceSyncSecretsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -178,7 +182,7 @@ async def asyncio( install_id: str, *, client: AuthenticatedClient, - body: ServiceSyncSecretsRequest, + body: ServiceSyncSecretsRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """sync secrets install @@ -186,7 +190,7 @@ async def asyncio( Args: install_id (str): - body (ServiceSyncSecretsRequest): + body (ServiceSyncSecretsRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/nuon/api/installs/teardown_install_component.py b/nuon/api/installs/teardown_install_component.py index 87f0f0c6..cafdc342 100644 --- a/nuon/api/installs/teardown_install_component.py +++ b/nuon/api/installs/teardown_install_component.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -7,23 +8,27 @@ from ...client import AuthenticatedClient, Client from ...models.service_teardown_install_component_request import ServiceTeardownInstallComponentRequest from ...models.stderr_err_response import StderrErrResponse -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( install_id: str, component_id: str, *, - body: ServiceTeardownInstallComponentRequest, + body: ServiceTeardownInstallComponentRequest | Unset = UNSET, ) -> dict[str, Any]: headers: dict[str, Any] = {} _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/components/{component_id}/teardown", + "url": "/v1/installs/{install_id}/components/{component_id}/teardown".format( + install_id=quote(str(install_id), safe=""), + component_id=quote(str(component_id), safe=""), + ), } - _kwargs["json"] = body.to_dict() + if not isinstance(body, Unset): + _kwargs["json"] = body.to_dict() headers["Content-Type"] = "application/json" @@ -85,14 +90,14 @@ def sync_detailed( component_id: str, *, client: AuthenticatedClient, - body: ServiceTeardownInstallComponentRequest, + body: ServiceTeardownInstallComponentRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """teardown an install component Args: install_id (str): component_id (str): - body (ServiceTeardownInstallComponentRequest): + body (ServiceTeardownInstallComponentRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,14 +125,14 @@ def sync( component_id: str, *, client: AuthenticatedClient, - body: ServiceTeardownInstallComponentRequest, + body: ServiceTeardownInstallComponentRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """teardown an install component Args: install_id (str): component_id (str): - body (ServiceTeardownInstallComponentRequest): + body (ServiceTeardownInstallComponentRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,14 +155,14 @@ async def asyncio_detailed( component_id: str, *, client: AuthenticatedClient, - body: ServiceTeardownInstallComponentRequest, + body: ServiceTeardownInstallComponentRequest | Unset = UNSET, ) -> Response[StderrErrResponse | str]: """teardown an install component Args: install_id (str): component_id (str): - body (ServiceTeardownInstallComponentRequest): + body (ServiceTeardownInstallComponentRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -183,14 +188,14 @@ async def asyncio( component_id: str, *, client: AuthenticatedClient, - body: ServiceTeardownInstallComponentRequest, + body: ServiceTeardownInstallComponentRequest | Unset = UNSET, ) -> StderrErrResponse | str | None: """teardown an install component Args: install_id (str): component_id (str): - body (ServiceTeardownInstallComponentRequest): + body (ServiceTeardownInstallComponentRequest | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/nuon/api/installs/teardown_install_components.py b/nuon/api/installs/teardown_install_components.py index 6e26b9f3..eb846215 100644 --- a/nuon/api/installs/teardown_install_components.py +++ b/nuon/api/installs/teardown_install_components.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/installs/{install_id}/components/teardown-all", + "url": "/v1/installs/{install_id}/components/teardown-all".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/update_install.py b/nuon/api/installs/update_install.py index 7ac3a314..2797b223 100644 --- a/nuon/api/installs/update_install.py +++ b/nuon/api/installs/update_install.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/installs/{install_id}", + "url": "/v1/installs/{install_id}".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/update_install_config.py b/nuon/api/installs/update_install_config.py index 7997d98a..b6f2f1a0 100644 --- a/nuon/api/installs/update_install_config.py +++ b/nuon/api/installs/update_install_config.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/installs/{install_id}/configs/{config_id}", + "url": "/v1/installs/{install_id}/configs/{config_id}".format( + install_id=quote(str(install_id), safe=""), + config_id=quote(str(config_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/update_install_inputs.py b/nuon/api/installs/update_install_inputs.py index f1264b7c..c272c20c 100644 --- a/nuon/api/installs/update_install_inputs.py +++ b/nuon/api/installs/update_install_inputs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/installs/{install_id}/inputs", + "url": "/v1/installs/{install_id}/inputs".format( + install_id=quote(str(install_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/update_install_workflow.py b/nuon/api/installs/update_install_workflow.py index 94b37893..64a9e992 100644 --- a/nuon/api/installs/update_install_workflow.py +++ b/nuon/api/installs/update_install_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/install-workflows/{install_workflow_id}", + "url": "/v1/install-workflows/{install_workflow_id}".format( + install_workflow_id=quote(str(install_workflow_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/installs/update_workflow.py b/nuon/api/installs/update_workflow.py index e9648b61..e3f1e6d3 100644 --- a/nuon/api/installs/update_workflow.py +++ b/nuon/api/installs/update_workflow.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/workflows/{workflow_id}", + "url": "/v1/workflows/{workflow_id}".format( + workflow_id=quote(str(workflow_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/releases/create_component_release.py b/nuon/api/releases/create_component_release.py index 0591b98f..c737da57 100644 --- a/nuon/api/releases/create_component_release.py +++ b/nuon/api/releases/create_component_release.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/components/{component_id}/releases", + "url": "/v1/components/{component_id}/releases".format( + component_id=quote(str(component_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/releases/get_app_releases.py b/nuon/api/releases/get_app_releases.py index 107c7357..5b184629 100644 --- a/nuon/api/releases/get_app_releases.py +++ b/nuon/api/releases/get_app_releases.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/apps/{app_id}/releases", + "url": "/v1/apps/{app_id}/releases".format( + app_id=quote(str(app_id), safe=""), + ), "params": params, } diff --git a/nuon/api/releases/get_component_releases.py b/nuon/api/releases/get_component_releases.py index 7a30a83a..1b45be30 100644 --- a/nuon/api/releases/get_component_releases.py +++ b/nuon/api/releases/get_component_releases.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/components/{component_id}/releases", + "url": "/v1/components/{component_id}/releases".format( + component_id=quote(str(component_id), safe=""), + ), "params": params, } diff --git a/nuon/api/releases/get_release.py b/nuon/api/releases/get_release.py index cc35e3e2..f46b5eda 100644 --- a/nuon/api/releases/get_release.py +++ b/nuon/api/releases/get_release.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/releases/{release_id}", + "url": "/v1/releases/{release_id}".format( + release_id=quote(str(release_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/releases/get_release_steps.py b/nuon/api/releases/get_release_steps.py index 67355624..ee0a9262 100644 --- a/nuon/api/releases/get_release_steps.py +++ b/nuon/api/releases/get_release_steps.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/releases/{release_id}/steps", + "url": "/v1/releases/{release_id}/steps".format( + release_id=quote(str(release_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/cancel_runner_job.py b/nuon/api/runners/cancel_runner_job.py index 780b84b3..ed844ebd 100644 --- a/nuon/api/runners/cancel_runner_job.py +++ b/nuon/api/runners/cancel_runner_job.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/runner-jobs/{runner_job_id}/cancel", + "url": "/v1/runner-jobs/{runner_job_id}/cancel".format( + runner_job_id=quote(str(runner_job_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/delete_terraform_workspace.py b/nuon/api/runners/delete_terraform_workspace.py index 16b3bef3..c7585d48 100644 --- a/nuon/api/runners/delete_terraform_workspace.py +++ b/nuon/api/runners/delete_terraform_workspace.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/terraform-workspaces/{workspace_id}", + "url": "/v1/terraform-workspaces/{workspace_id}".format( + workspace_id=quote(str(workspace_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/force_shut_down_runner.py b/nuon/api/runners/force_shut_down_runner.py index 05827190..c3b0950d 100644 --- a/nuon/api/runners/force_shut_down_runner.py +++ b/nuon/api/runners/force_shut_down_runner.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/runners/{runner_id}/force-shutdown", + "url": "/v1/runners/{runner_id}/force-shutdown".format( + runner_id=quote(str(runner_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/get_latest_runner_heart_beat.py b/nuon/api/runners/get_latest_runner_heart_beat.py index 5592580b..0b969a74 100644 --- a/nuon/api/runners/get_latest_runner_heart_beat.py +++ b/nuon/api/runners/get_latest_runner_heart_beat.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/heart-beats/latest", + "url": "/v1/runners/{runner_id}/heart-beats/latest".format( + runner_id=quote(str(runner_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_log_stream.py b/nuon/api/runners/get_log_stream.py index c982379c..843f902a 100644 --- a/nuon/api/runners/get_log_stream.py +++ b/nuon/api/runners/get_log_stream.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/log-streams/{log_stream_id}", + "url": "/v1/log-streams/{log_stream_id}".format( + log_stream_id=quote(str(log_stream_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_card_details.py b/nuon/api/runners/get_runner_card_details.py index 8f8a3502..05ed9421 100644 --- a/nuon/api/runners/get_runner_card_details.py +++ b/nuon/api/runners/get_runner_card_details.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/card-details", + "url": "/v1/runners/{runner_id}/card-details".format( + runner_id=quote(str(runner_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_connect_status.py b/nuon/api/runners/get_runner_connect_status.py index e1f067a5..33e035e3 100644 --- a/nuon/api/runners/get_runner_connect_status.py +++ b/nuon/api/runners/get_runner_connect_status.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/connected", + "url": "/v1/runners/{runner_id}/connected".format( + runner_id=quote(str(runner_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_job.py b/nuon/api/runners/get_runner_job.py index 9d1b14ce..af46d0d2 100644 --- a/nuon/api/runners/get_runner_job.py +++ b/nuon/api/runners/get_runner_job.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runner-jobs/{runner_job_id}", + "url": "/v1/runner-jobs/{runner_job_id}".format( + runner_job_id=quote(str(runner_job_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_job_composite_plan.py b/nuon/api/runners/get_runner_job_composite_plan.py index 01727512..e04ddedb 100644 --- a/nuon/api/runners/get_runner_job_composite_plan.py +++ b/nuon/api/runners/get_runner_job_composite_plan.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runner-jobs/{runner_job_id}/composite-plan", + "url": "/v1/runner-jobs/{runner_job_id}/composite-plan".format( + runner_job_id=quote(str(runner_job_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_job_plan.py b/nuon/api/runners/get_runner_job_plan.py index 52ffb6b2..df0efbea 100644 --- a/nuon/api/runners/get_runner_job_plan.py +++ b/nuon/api/runners/get_runner_job_plan.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runner-jobs/{runner_job_id}/plan", + "url": "/v1/runner-jobs/{runner_job_id}/plan".format( + runner_job_id=quote(str(runner_job_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_job_plan_v2.py b/nuon/api/runners/get_runner_job_plan_v2.py index f4cf2b5a..746056bc 100644 --- a/nuon/api/runners/get_runner_job_plan_v2.py +++ b/nuon/api/runners/get_runner_job_plan_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runner/{runner_id}/jobs/{job_id}/plan", + "url": "/v1/runner/{runner_id}/jobs/{job_id}/plan".format( + runner_id=quote(str(runner_id), safe=""), + job_id=quote(str(job_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_job_v2.py b/nuon/api/runners/get_runner_job_v2.py index a1197c73..dfdd0e43 100644 --- a/nuon/api/runners/get_runner_job_v2.py +++ b/nuon/api/runners/get_runner_job_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/jobs/{job_id}", + "url": "/v1/runners/{runner_id}/jobs/{job_id}".format( + runner_id=quote(str(runner_id), safe=""), + job_id=quote(str(job_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_jobs.py b/nuon/api/runners/get_runner_jobs.py index 1f77fa65..d1b91b54 100644 --- a/nuon/api/runners/get_runner_jobs.py +++ b/nuon/api/runners/get_runner_jobs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -41,7 +42,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/jobs", + "url": "/v1/runners/{runner_id}/jobs".format( + runner_id=quote(str(runner_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/get_runner_latest_heart_beat.py b/nuon/api/runners/get_runner_latest_heart_beat.py index d0bd12fe..6385b107 100644 --- a/nuon/api/runners/get_runner_latest_heart_beat.py +++ b/nuon/api/runners/get_runner_latest_heart_beat.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/latest-heart-beat", + "url": "/v1/runners/{runner_id}/latest-heart-beat".format( + runner_id=quote(str(runner_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_runner_recent_health_checks.py b/nuon/api/runners/get_runner_recent_health_checks.py index 3cd48b29..786e35ea 100644 --- a/nuon/api/runners/get_runner_recent_health_checks.py +++ b/nuon/api/runners/get_runner_recent_health_checks.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -34,7 +35,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/recent-health-checks", + "url": "/v1/runners/{runner_id}/recent-health-checks".format( + runner_id=quote(str(runner_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/get_runner_settings.py b/nuon/api/runners/get_runner_settings.py index b7bb70fb..4df3441d 100644 --- a/nuon/api/runners/get_runner_settings.py +++ b/nuon/api/runners/get_runner_settings.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/{runner_id}/settings", + "url": "/v1/runners/{runner_id}/settings".format( + runner_id=quote(str(runner_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_states.py b/nuon/api/runners/get_terraform_states.py index c31b4d7c..2c3e3abe 100644 --- a/nuon/api/runners/get_terraform_states.py +++ b/nuon/api/runners/get_terraform_states.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/terraform-workspace/{workspace_id}/states", + "url": "/v1/runners/terraform-workspace/{workspace_id}/states".format( + workspace_id=quote(str(workspace_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/get_terraform_states_v2.py b/nuon/api/runners/get_terraform_states_v2.py index 637db000..22cfe7aa 100644 --- a/nuon/api/runners/get_terraform_states_v2.py +++ b/nuon/api/runners/get_terraform_states_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspace/{workspace_id}/states", + "url": "/v1/terraform-workspace/{workspace_id}/states".format( + workspace_id=quote(str(workspace_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/get_terraform_workspace.py b/nuon/api/runners/get_terraform_workspace.py index a43274a2..74eb9ed4 100644 --- a/nuon/api/runners/get_terraform_workspace.py +++ b/nuon/api/runners/get_terraform_workspace.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspaces/{workspace_id}", + "url": "/v1/terraform-workspaces/{workspace_id}".format( + workspace_id=quote(str(workspace_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_lock.py b/nuon/api/runners/get_terraform_workspace_lock.py index f41cfc1b..ad67c50f 100644 --- a/nuon/api/runners/get_terraform_workspace_lock.py +++ b/nuon/api/runners/get_terraform_workspace_lock.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspaces/{workspace_id}/lock", + "url": "/v1/terraform-workspaces/{workspace_id}/lock".format( + workspace_id=quote(str(workspace_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_state_by_id.py b/nuon/api/runners/get_terraform_workspace_state_by_id.py index 55875497..818e9eee 100644 --- a/nuon/api/runners/get_terraform_workspace_state_by_id.py +++ b/nuon/api/runners/get_terraform_workspace_state_by_id.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/terraform-workspace/{workspace_id}/states/{state_id}", + "url": "/v1/runners/terraform-workspace/{workspace_id}/states/{state_id}".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_state_by_idv2.py b/nuon/api/runners/get_terraform_workspace_state_by_idv2.py index b81a01a3..6c8bc374 100644 --- a/nuon/api/runners/get_terraform_workspace_state_by_idv2.py +++ b/nuon/api/runners/get_terraform_workspace_state_by_idv2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspaces/{workspace_id}/states/{state_id}", + "url": "/v1/terraform-workspaces/{workspace_id}/states/{state_id}".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_state_json_resources.py b/nuon/api/runners/get_terraform_workspace_state_json_resources.py index 19e6b7d0..25f1e59e 100644 --- a/nuon/api/runners/get_terraform_workspace_state_json_resources.py +++ b/nuon/api/runners/get_terraform_workspace_state_json_resources.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -18,7 +19,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/terraform-workspace/{workspace_id}/state-json/{state_id}/resources", + "url": "/v1/runners/terraform-workspace/{workspace_id}/state-json/{state_id}/resources".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_state_json_resources_v2.py b/nuon/api/runners/get_terraform_workspace_state_json_resources_v2.py index b62ef8fb..ec9aa990 100644 --- a/nuon/api/runners/get_terraform_workspace_state_json_resources_v2.py +++ b/nuon/api/runners/get_terraform_workspace_state_json_resources_v2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -18,7 +19,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspace/{workspace_id}/state-json/{state_id}/resources", + "url": "/v1/terraform-workspace/{workspace_id}/state-json/{state_id}/resources".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_state_resources.py b/nuon/api/runners/get_terraform_workspace_state_resources.py index 3045ed6c..53eb465d 100644 --- a/nuon/api/runners/get_terraform_workspace_state_resources.py +++ b/nuon/api/runners/get_terraform_workspace_state_resources.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/terraform-workspace/{workspace_id}/states/{state_id}/resources", + "url": "/v1/runners/terraform-workspace/{workspace_id}/states/{state_id}/resources".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_states_json.py b/nuon/api/runners/get_terraform_workspace_states_json.py index 1d8f626d..8603bf9e 100644 --- a/nuon/api/runners/get_terraform_workspace_states_json.py +++ b/nuon/api/runners/get_terraform_workspace_states_json.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/terraform-workspace/{workspace_id}/state-json", + "url": "/v1/runners/terraform-workspace/{workspace_id}/state-json".format( + workspace_id=quote(str(workspace_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/get_terraform_workspace_states_json_by_id.py b/nuon/api/runners/get_terraform_workspace_states_json_by_id.py index 4ccbf8b0..20acab17 100644 --- a/nuon/api/runners/get_terraform_workspace_states_json_by_id.py +++ b/nuon/api/runners/get_terraform_workspace_states_json_by_id.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -18,7 +19,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runners/terraform-workspace/{workspace_id}/state-json/{state_id}", + "url": "/v1/runners/terraform-workspace/{workspace_id}/state-json/{state_id}".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_states_json_by_idv2.py b/nuon/api/runners/get_terraform_workspace_states_json_by_idv2.py index 124f4f0d..2911f7fe 100644 --- a/nuon/api/runners/get_terraform_workspace_states_json_by_idv2.py +++ b/nuon/api/runners/get_terraform_workspace_states_json_by_idv2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -18,7 +19,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspaces/{workspace_id}/state-json/{state_id}", + "url": "/v1/terraform-workspaces/{workspace_id}/state-json/{state_id}".format( + workspace_id=quote(str(workspace_id), safe=""), + state_id=quote(str(state_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/runners/get_terraform_workspace_states_jsonv2.py b/nuon/api/runners/get_terraform_workspace_states_jsonv2.py index 9c810609..6fb5ecd9 100644 --- a/nuon/api/runners/get_terraform_workspace_states_jsonv2.py +++ b/nuon/api/runners/get_terraform_workspace_states_jsonv2.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/terraform-workspaces/{workspace_id}/state-json", + "url": "/v1/terraform-workspaces/{workspace_id}/state-json".format( + workspace_id=quote(str(workspace_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/graceful_shut_down_runner.py b/nuon/api/runners/graceful_shut_down_runner.py index 761949ea..fbe5f233 100644 --- a/nuon/api/runners/graceful_shut_down_runner.py +++ b/nuon/api/runners/graceful_shut_down_runner.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/runners/{runner_id}/graceful-shutdown", + "url": "/v1/runners/{runner_id}/graceful-shutdown".format( + runner_id=quote(str(runner_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/lock_terraform_workspace.py b/nuon/api/runners/lock_terraform_workspace.py index c95b0f8b..b0fa0b7f 100644 --- a/nuon/api/runners/lock_terraform_workspace.py +++ b/nuon/api/runners/lock_terraform_workspace.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -27,7 +28,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/terraform-workspaces/{workspace_id}/lock", + "url": "/v1/terraform-workspaces/{workspace_id}/lock".format( + workspace_id=quote(str(workspace_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/log_stream_read_logs.py b/nuon/api/runners/log_stream_read_logs.py index 5abe8708..2427390c 100644 --- a/nuon/api/runners/log_stream_read_logs.py +++ b/nuon/api/runners/log_stream_read_logs.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -28,7 +29,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/log-streams/{log_stream_id}/logs", + "url": "/v1/log-streams/{log_stream_id}/logs".format( + log_stream_id=quote(str(log_stream_id), safe=""), + ), "params": params, } diff --git a/nuon/api/runners/mng_vm_shut_down.py b/nuon/api/runners/mng_vm_shut_down.py index 924644a1..0d7fcd4f 100644 --- a/nuon/api/runners/mng_vm_shut_down.py +++ b/nuon/api/runners/mng_vm_shut_down.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/runners/{runner_id}/mng/shutdown-vm", + "url": "/v1/runners/{runner_id}/mng/shutdown-vm".format( + runner_id=quote(str(runner_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/shut_down_runner_mng.py b/nuon/api/runners/shut_down_runner_mng.py index 8d624ae8..35490daf 100644 --- a/nuon/api/runners/shut_down_runner_mng.py +++ b/nuon/api/runners/shut_down_runner_mng.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/runners/{runner_id}/mng/shutdown", + "url": "/v1/runners/{runner_id}/mng/shutdown".format( + runner_id=quote(str(runner_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/unlock_terraform_workspace.py b/nuon/api/runners/unlock_terraform_workspace.py index 85b37e33..a0ae26bc 100644 --- a/nuon/api/runners/unlock_terraform_workspace.py +++ b/nuon/api/runners/unlock_terraform_workspace.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/terraform-workspaces/{workspace_id}/unlock", + "url": "/v1/terraform-workspaces/{workspace_id}/unlock".format( + workspace_id=quote(str(workspace_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/update_runner_mng.py b/nuon/api/runners/update_runner_mng.py index b1e833fe..f787cee0 100644 --- a/nuon/api/runners/update_runner_mng.py +++ b/nuon/api/runners/update_runner_mng.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/v1/runners/{runner_id}/mng/update", + "url": "/v1/runners/{runner_id}/mng/update".format( + runner_id=quote(str(runner_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runners/update_runner_settings.py b/nuon/api/runners/update_runner_settings.py index 954c3f40..2434698b 100644 --- a/nuon/api/runners/update_runner_settings.py +++ b/nuon/api/runners/update_runner_settings.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "patch", - "url": f"/v1/runners/{runner_id}/settings", + "url": "/v1/runners/{runner_id}/settings".format( + runner_id=quote(str(runner_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/nuon/api/runnersrunner/get_runner_job_executions.py b/nuon/api/runnersrunner/get_runner_job_executions.py index 9413ef93..79399ed4 100644 --- a/nuon/api/runnersrunner/get_runner_job_executions.py +++ b/nuon/api/runnersrunner/get_runner_job_executions.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -29,7 +30,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/runner-jobs/{runner_job_id}/executions", + "url": "/v1/runner-jobs/{runner_job_id}/executions".format( + runner_job_id=quote(str(runner_job_id), safe=""), + ), "params": params, } diff --git a/nuon/api/vcs/delete_vcs_connection.py b/nuon/api/vcs/delete_vcs_connection.py index dabfd592..0dbd11c5 100644 --- a/nuon/api/vcs/delete_vcs_connection.py +++ b/nuon/api/vcs/delete_vcs_connection.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/v1/vcs/connections/{connection_id}", + "url": "/v1/vcs/connections/{connection_id}".format( + connection_id=quote(str(connection_id), safe=""), + ), } return _kwargs diff --git a/nuon/api/vcs/get_vcs_connection.py b/nuon/api/vcs/get_vcs_connection.py index 5cfcfa65..aa112afb 100644 --- a/nuon/api/vcs/get_vcs_connection.py +++ b/nuon/api/vcs/get_vcs_connection.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/v1/vcs/connections/{connection_id}", + "url": "/v1/vcs/connections/{connection_id}".format( + connection_id=quote(str(connection_id), safe=""), + ), } return _kwargs diff --git a/pyproject.toml b/pyproject.toml index 08e3037f..be94160e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nuon" -version = "0.19.709" +version = "0.19.712" description = "A client library for accessing Nuon" authors = [] requires-python = ">=3.10" diff --git a/version.txt b/version.txt index b64cb5f7..7e482276 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.19.709 +0.19.712