File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 15
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/zeroentropy%2Fzeroentropy-f06c49dfd4b38a4f9d5bcad56348156bbf641aa8b7968acfbf655ad6ceff2126.yml
33openapi_spec_hash : cac52dd65fbcb65ffa7a183e764b7f06
4- config_hash : 34c8a6deaedce51a258bc46b38c9caa0
4+ config_hash : beba80a17ba64c5439712e85129ab5ad
Original file line number Diff line number Diff line change 1212
1313@runtime_checkable
1414class GetDocumentInfoListCursorItem (Protocol ):
15- id : str
15+ path : str
1616
1717
1818class SyncGetDocumentInfoListCursor (BaseSyncPage [_T ], BasePage [_T ], Generic [_T ]):
@@ -32,11 +32,11 @@ def next_page_info(self) -> Optional[PageInfo]:
3232 return None
3333
3434 item = cast (Any , documents [- 1 ])
35- if not isinstance (item , GetDocumentInfoListCursorItem ) or item .id is None : # pyright: ignore[reportUnnecessaryComparison]
35+ if not isinstance (item , GetDocumentInfoListCursorItem ) or item .path is None : # pyright: ignore[reportUnnecessaryComparison]
3636 # TODO emit warning log
3737 return None
3838
39- return PageInfo (json = {"path_gt" : item .id })
39+ return PageInfo (json = {"path_gt" : item .path })
4040
4141
4242class AsyncGetDocumentInfoListCursor (BaseAsyncPage [_T ], BasePage [_T ], Generic [_T ]):
@@ -56,8 +56,8 @@ def next_page_info(self) -> Optional[PageInfo]:
5656 return None
5757
5858 item = cast (Any , documents [- 1 ])
59- if not isinstance (item , GetDocumentInfoListCursorItem ) or item .id is None : # pyright: ignore[reportUnnecessaryComparison]
59+ if not isinstance (item , GetDocumentInfoListCursorItem ) or item .path is None : # pyright: ignore[reportUnnecessaryComparison]
6060 # TODO emit warning log
6161 return None
6262
63- return PageInfo (json = {"path_gt" : item .id })
63+ return PageInfo (json = {"path_gt" : item .path })
You can’t perform that action at this time.
0 commit comments