Skip to content

Commit f7728f9

Browse files
feat(api): api update
1 parent 8c134f2 commit f7728f9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 35
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-43921054bad3c6969dc10f5899faa5924f3c029ccffb55965bbb6e7c9a0f22c6.yml
3-
openapi_spec_hash: 17b74748a86bc159767dbb66ba46f54d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-c9b5ca9e03141b62fa981944af1c880cd4562f0b697ed5f110c0e0e754f455ba.yml
3+
openapi_spec_hash: 9ed347fceac28248d2a0acb49c4eb356
44
config_hash: 32eb65911c08ac84d117cecdf2759869

tests/api_resources/test_spans.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ def test_method_list(self, client: Agentex) -> None:
185185
@parametrize
186186
def test_method_list_with_all_params(self, client: Agentex) -> None:
187187
span = client.spans.list(
188-
limit=0,
188+
limit=1,
189189
order_by="order_by",
190190
order_direction="order_direction",
191-
page_number=0,
191+
page_number=1,
192192
trace_id="trace_id",
193193
)
194194
assert_matches_type(SpanListResponse, span, path=["response"])
@@ -387,10 +387,10 @@ async def test_method_list(self, async_client: AsyncAgentex) -> None:
387387
@parametrize
388388
async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> None:
389389
span = await async_client.spans.list(
390-
limit=0,
390+
limit=1,
391391
order_by="order_by",
392392
order_direction="order_direction",
393-
page_number=0,
393+
page_number=1,
394394
trace_id="trace_id",
395395
)
396396
assert_matches_type(SpanListResponse, span, path=["response"])

0 commit comments

Comments
 (0)