File tree 1 file changed +0
-42
lines changed
1 file changed +0
-42
lines changed Original file line number Diff line number Diff line change 12
12
"AsyncDocumentsPage" ,
13
13
"SyncAgentsPage" ,
14
14
"AsyncAgentsPage" ,
15
- "SyncPage" ,
16
- "AsyncPage" ,
17
15
]
18
16
19
17
_T = TypeVar ("_T" )
@@ -137,43 +135,3 @@ def next_page_info(self) -> Optional[PageInfo]:
137
135
return None
138
136
139
137
return PageInfo (params = {"cursor" : next_cursor })
140
-
141
-
142
- class SyncPage (BaseSyncPage [_T ], BasePage [_T ], Generic [_T ]):
143
- data : List [_T ]
144
- next_cursor : Optional [str ] = None
145
-
146
- @override
147
- def _get_page_items (self ) -> List [_T ]:
148
- data = self .data
149
- if not data :
150
- return []
151
- return data
152
-
153
- @override
154
- def next_page_info (self ) -> Optional [PageInfo ]:
155
- next_cursor = self .next_cursor
156
- if not next_cursor :
157
- return None
158
-
159
- return PageInfo (params = {"cursor" : next_cursor })
160
-
161
-
162
- class AsyncPage (BaseAsyncPage [_T ], BasePage [_T ], Generic [_T ]):
163
- data : List [_T ]
164
- next_cursor : Optional [str ] = None
165
-
166
- @override
167
- def _get_page_items (self ) -> List [_T ]:
168
- data = self .data
169
- if not data :
170
- return []
171
- return data
172
-
173
- @override
174
- def next_page_info (self ) -> Optional [PageInfo ]:
175
- next_cursor = self .next_cursor
176
- if not next_cursor :
177
- return None
178
-
179
- return PageInfo (params = {"cursor" : next_cursor })
You can’t perform that action at this time.
0 commit comments