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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions nuon/api/actions/get_action_workflow_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ def _get_kwargs(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_nuon_pagination_enabled, Unset):
headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false"

params: dict[str, Any] = {}

params["offset"] = offset
Expand All @@ -38,7 +33,6 @@ def _get_kwargs(
"params": params,
}

_kwargs["headers"] = headers
return _kwargs


Expand Down Expand Up @@ -98,7 +92,6 @@ def sync_detailed(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Response[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]:
"""get action workflow for an app

Expand All @@ -107,7 +100,6 @@ def sync_detailed(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -122,7 +114,6 @@ def sync_detailed(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)

response = client.get_httpx_client().request(
Expand All @@ -139,7 +130,6 @@ def sync(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Optional[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]:
"""get action workflow for an app

Expand All @@ -148,7 +138,6 @@ def sync(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -164,7 +153,6 @@ def sync(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
).parsed


Expand All @@ -175,7 +163,6 @@ async def asyncio_detailed(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Response[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]:
"""get action workflow for an app

Expand All @@ -184,7 +171,6 @@ async def asyncio_detailed(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -199,7 +185,6 @@ async def asyncio_detailed(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)

response = await client.get_async_httpx_client().request(**kwargs)
Expand All @@ -214,7 +199,6 @@ async def asyncio(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Optional[Union[StderrErrResponse, list["AppActionWorkflowConfig"]]]:
"""get action workflow for an app

Expand All @@ -223,7 +207,6 @@ async def asyncio(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -240,6 +223,5 @@ async def asyncio(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)
).parsed
18 changes: 0 additions & 18 deletions nuon/api/actions/get_action_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ def _get_kwargs(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_nuon_pagination_enabled, Unset):
headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false"

params: dict[str, Any] = {}

params["q"] = q
Expand All @@ -41,7 +36,6 @@ def _get_kwargs(
"params": params,
}

_kwargs["headers"] = headers
return _kwargs


Expand Down Expand Up @@ -102,7 +96,6 @@ def sync_detailed(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Response[Union[StderrErrResponse, list["AppActionWorkflow"]]]:
"""get action workflows for an app

Expand All @@ -112,7 +105,6 @@ def sync_detailed(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -128,7 +120,6 @@ def sync_detailed(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)

response = client.get_httpx_client().request(
Expand All @@ -146,7 +137,6 @@ def sync(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Optional[Union[StderrErrResponse, list["AppActionWorkflow"]]]:
"""get action workflows for an app

Expand All @@ -156,7 +146,6 @@ def sync(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -173,7 +162,6 @@ def sync(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
).parsed


Expand All @@ -185,7 +173,6 @@ async def asyncio_detailed(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Response[Union[StderrErrResponse, list["AppActionWorkflow"]]]:
"""get action workflows for an app

Expand All @@ -195,7 +182,6 @@ async def asyncio_detailed(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -211,7 +197,6 @@ async def asyncio_detailed(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)

response = await client.get_async_httpx_client().request(**kwargs)
Expand All @@ -227,7 +212,6 @@ async def asyncio(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Optional[Union[StderrErrResponse, list["AppActionWorkflow"]]]:
"""get action workflows for an app

Expand All @@ -237,7 +221,6 @@ async def asyncio(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -255,6 +238,5 @@ async def asyncio(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)
).parsed
18 changes: 0 additions & 18 deletions nuon/api/actions/get_install_action_workflow_recent_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ def _get_kwargs(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_nuon_pagination_enabled, Unset):
headers["x-nuon-pagination-enabled"] = "true" if x_nuon_pagination_enabled else "false"

params: dict[str, Any] = {}

params["offset"] = offset
Expand All @@ -39,7 +34,6 @@ def _get_kwargs(
"params": params,
}

_kwargs["headers"] = headers
return _kwargs


Expand Down Expand Up @@ -95,7 +89,6 @@ def sync_detailed(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Response[Union[AppInstallActionWorkflow, StderrErrResponse]]:
"""get recent runs for an action workflow by install id

Expand All @@ -105,7 +98,6 @@ def sync_detailed(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -121,7 +113,6 @@ def sync_detailed(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)

response = client.get_httpx_client().request(
Expand All @@ -139,7 +130,6 @@ def sync(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Optional[Union[AppInstallActionWorkflow, StderrErrResponse]]:
"""get recent runs for an action workflow by install id

Expand All @@ -149,7 +139,6 @@ def sync(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -166,7 +155,6 @@ def sync(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
).parsed


Expand All @@ -178,7 +166,6 @@ async def asyncio_detailed(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Response[Union[AppInstallActionWorkflow, StderrErrResponse]]:
"""get recent runs for an action workflow by install id

Expand All @@ -188,7 +175,6 @@ async def asyncio_detailed(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -204,7 +190,6 @@ async def asyncio_detailed(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)

response = await client.get_async_httpx_client().request(**kwargs)
Expand All @@ -220,7 +205,6 @@ async def asyncio(
offset: Union[Unset, int] = 0,
limit: Union[Unset, int] = 10,
page: Union[Unset, int] = 0,
x_nuon_pagination_enabled: Union[Unset, bool] = UNSET,
) -> Optional[Union[AppInstallActionWorkflow, StderrErrResponse]]:
"""get recent runs for an action workflow by install id

Expand All @@ -230,7 +214,6 @@ async def asyncio(
offset (Union[Unset, int]): Default: 0.
limit (Union[Unset, int]): Default: 10.
page (Union[Unset, int]): Default: 0.
x_nuon_pagination_enabled (Union[Unset, bool]):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -248,6 +231,5 @@ async def asyncio(
offset=offset,
limit=limit,
page=page,
x_nuon_pagination_enabled=x_nuon_pagination_enabled,
)
).parsed
Loading
Loading