Skip to content

Commit bfcb31e

Browse files
feat(api): api update
1 parent 2e233ea commit bfcb31e

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 39
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-725a0defba4d776777ef33053c239c1e41128f48fffe1dd2b27076a353ec8486.yml
3-
openapi_spec_hash: e02416b4dc63a92be8b82ca5fbc02d73
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-4b22ad455f8bb416a7cd29beefa7d45a3de48382232ba24503867bb6c56da90f.yml
3+
openapi_spec_hash: 98fd3141a41b0270cb651858bc202e78
44
config_hash: dce4dea59023b0a00890fa654fbfffb4

src/steel/resources/sessions/sessions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def events(
734734
735735
limit: Optional pagination limit
736736
737-
pointer: Pagination pointer
737+
pointer: Opaque pagination token. Pass the Next-Cursor header value to get the next page.
738738
739739
extra_headers: Send extra headers
740740
@@ -1537,7 +1537,7 @@ async def events(
15371537
15381538
limit: Optional pagination limit
15391539
1540-
pointer: Pagination pointer
1540+
pointer: Opaque pagination token. Pass the Next-Cursor header value to get the next page.
15411541
15421542
extra_headers: Send extra headers
15431543

src/steel/types/session_events_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ class SessionEventsParams(TypedDict, total=False):
1515
"""Optional pagination limit"""
1616

1717
pointer: str
18-
"""Pagination pointer"""
18+
"""Opaque pagination token.
19+
20+
Pass the Next-Cursor header value to get the next page.
21+
"""

tests/api_resources/test_sessions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def test_method_events_with_all_params(self, client: Steel) -> None:
756756
session = client.sessions.events(
757757
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
758758
compressed=True,
759-
limit=-9007199254740991,
759+
limit=1,
760760
pointer="pointer",
761761
)
762762
assert_matches_type(SessionEventsResponse, session, path=["response"])
@@ -1627,7 +1627,7 @@ async def test_method_events_with_all_params(self, async_client: AsyncSteel) ->
16271627
session = await async_client.sessions.events(
16281628
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
16291629
compressed=True,
1630-
limit=-9007199254740991,
1630+
limit=1,
16311631
pointer="pointer",
16321632
)
16331633
assert_matches_type(SessionEventsResponse, session, path=["response"])

0 commit comments

Comments
 (0)