From 9f54bcfe2ab5fa66f26f34183df9e681295a8fdc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 02:15:54 +0000 Subject: [PATCH] chore(internal): codegen related update --- tests/api_resources/sys/test_projects.py | 4 ++-- tests/api_resources/test_bots.py | 4 ++-- tests/api_resources/test_policies.py | 4 ++-- tests/api_resources/test_roles.py | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/api_resources/sys/test_projects.py b/tests/api_resources/sys/test_projects.py index 0b45c0ba..97e7ebc8 100644 --- a/tests/api_resources/sys/test_projects.py +++ b/tests/api_resources/sys/test_projects.py @@ -147,7 +147,7 @@ def test_method_list(self, client: Asktable) -> None: def test_method_list_with_all_params(self, client: Asktable) -> None: project = client.sys.projects.list( page=1, - project_ids=["string"], + project_ids=["string", "string"], size=1, ) assert_matches_type(SyncPage[Project], project, path=["response"]) @@ -365,7 +365,7 @@ async def test_method_list(self, async_client: AsyncAsktable) -> None: async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> None: project = await async_client.sys.projects.list( page=1, - project_ids=["string"], + project_ids=["string", "string"], size=1, ) assert_matches_type(AsyncPage[Project], project, path=["response"]) diff --git a/tests/api_resources/test_bots.py b/tests/api_resources/test_bots.py index d3001846..afd2b6ab 100644 --- a/tests/api_resources/test_bots.py +++ b/tests/api_resources/test_bots.py @@ -172,7 +172,7 @@ def test_method_list(self, client: Asktable) -> None: @parametrize def test_method_list_with_all_params(self, client: Asktable) -> None: bot = client.bots.list( - bot_ids=["string"], + bot_ids=["string", "string"], name="name", page=1, size=1, @@ -437,7 +437,7 @@ async def test_method_list(self, async_client: AsyncAsktable) -> None: @parametrize async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> None: bot = await async_client.bots.list( - bot_ids=["string"], + bot_ids=["string", "string"], name="name", page=1, size=1, diff --git a/tests/api_resources/test_policies.py b/tests/api_resources/test_policies.py index 1832cc19..1c03eafa 100644 --- a/tests/api_resources/test_policies.py +++ b/tests/api_resources/test_policies.py @@ -229,7 +229,7 @@ def test_method_list_with_all_params(self, client: Asktable) -> None: policy = client.policies.list( name="name", page=1, - policy_ids=["string"], + policy_ids=["string", "string"], size=1, ) assert_matches_type(SyncPage[Policy], policy, path=["response"]) @@ -507,7 +507,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> policy = await async_client.policies.list( name="name", page=1, - policy_ids=["string"], + policy_ids=["string", "string"], size=1, ) assert_matches_type(AsyncPage[Policy], policy, path=["response"]) diff --git a/tests/api_resources/test_roles.py b/tests/api_resources/test_roles.py index b1105c52..8f83b821 100644 --- a/tests/api_resources/test_roles.py +++ b/tests/api_resources/test_roles.py @@ -155,7 +155,7 @@ def test_method_list_with_all_params(self, client: Asktable) -> None: role = client.roles.list( name="name", page=1, - role_ids=["string"], + role_ids=["string", "string"], size=1, ) assert_matches_type(SyncPage[Role], role, path=["response"]) @@ -268,7 +268,7 @@ def test_method_get_variables_with_all_params(self, client: Asktable) -> None: role = client.roles.get_variables( role_id="role_id", bot_id="bot_id", - datasource_ids=["string"], + datasource_ids=["string", "string"], ) assert_matches_type(object, role, path=["response"]) @@ -441,7 +441,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> role = await async_client.roles.list( name="name", page=1, - role_ids=["string"], + role_ids=["string", "string"], size=1, ) assert_matches_type(AsyncPage[Role], role, path=["response"]) @@ -554,7 +554,7 @@ async def test_method_get_variables_with_all_params(self, async_client: AsyncAsk role = await async_client.roles.get_variables( role_id="role_id", bot_id="bot_id", - datasource_ids=["string"], + datasource_ids=["string", "string"], ) assert_matches_type(object, role, path=["response"])