Skip to content

Commit fb83cf4

Browse files
chore(internal): codegen related update (#195)
1 parent 27b9d4f commit fb83cf4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

tests/api_resources/sys/test_projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def test_method_list(self, client: Asktable) -> None:
147147
def test_method_list_with_all_params(self, client: Asktable) -> None:
148148
project = client.sys.projects.list(
149149
page=1,
150-
project_ids=["string"],
150+
project_ids=["string", "string"],
151151
size=1,
152152
)
153153
assert_matches_type(SyncPage[Project], project, path=["response"])
@@ -365,7 +365,7 @@ async def test_method_list(self, async_client: AsyncAsktable) -> None:
365365
async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> None:
366366
project = await async_client.sys.projects.list(
367367
page=1,
368-
project_ids=["string"],
368+
project_ids=["string", "string"],
369369
size=1,
370370
)
371371
assert_matches_type(AsyncPage[Project], project, path=["response"])

tests/api_resources/test_bots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def test_method_list(self, client: Asktable) -> None:
172172
@parametrize
173173
def test_method_list_with_all_params(self, client: Asktable) -> None:
174174
bot = client.bots.list(
175-
bot_ids=["string"],
175+
bot_ids=["string", "string"],
176176
name="name",
177177
page=1,
178178
size=1,
@@ -437,7 +437,7 @@ async def test_method_list(self, async_client: AsyncAsktable) -> None:
437437
@parametrize
438438
async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> None:
439439
bot = await async_client.bots.list(
440-
bot_ids=["string"],
440+
bot_ids=["string", "string"],
441441
name="name",
442442
page=1,
443443
size=1,

tests/api_resources/test_policies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def test_method_list_with_all_params(self, client: Asktable) -> None:
229229
policy = client.policies.list(
230230
name="name",
231231
page=1,
232-
policy_ids=["string"],
232+
policy_ids=["string", "string"],
233233
size=1,
234234
)
235235
assert_matches_type(SyncPage[Policy], policy, path=["response"])
@@ -507,7 +507,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAsktable) ->
507507
policy = await async_client.policies.list(
508508
name="name",
509509
page=1,
510-
policy_ids=["string"],
510+
policy_ids=["string", "string"],
511511
size=1,
512512
)
513513
assert_matches_type(AsyncPage[Policy], policy, path=["response"])

tests/api_resources/test_roles.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_method_list_with_all_params(self, client: Asktable) -> None:
155155
role = client.roles.list(
156156
name="name",
157157
page=1,
158-
role_ids=["string"],
158+
role_ids=["string", "string"],
159159
size=1,
160160
)
161161
assert_matches_type(SyncPage[Role], role, path=["response"])
@@ -268,7 +268,7 @@ def test_method_get_variables_with_all_params(self, client: Asktable) -> None:
268268
role = client.roles.get_variables(
269269
role_id="role_id",
270270
bot_id="bot_id",
271-
datasource_ids=["string"],
271+
datasource_ids=["string", "string"],
272272
)
273273
assert_matches_type(object, role, path=["response"])
274274

@@ -441,7 +441,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAsktable) ->
441441
role = await async_client.roles.list(
442442
name="name",
443443
page=1,
444-
role_ids=["string"],
444+
role_ids=["string", "string"],
445445
size=1,
446446
)
447447
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
554554
role = await async_client.roles.get_variables(
555555
role_id="role_id",
556556
bot_id="bot_id",
557-
datasource_ids=["string"],
557+
datasource_ids=["string", "string"],
558558
)
559559
assert_matches_type(object, role, path=["response"])
560560

0 commit comments

Comments
 (0)