Iterate over
(self)
| 260 | return next_request |
| 261 | |
| 262 | def __iter__(self): |
| 263 | """ |
| 264 | Iterate over |
| 265 | """ |
| 266 | current = self |
| 267 | |
| 268 | while True: |
| 269 | yield from current.items |
| 270 | |
| 271 | next_page_request = current.next_page_request |
| 272 | if not next_page_request: |
| 273 | # No next page |
| 274 | return |
| 275 | |
| 276 | current = current.api.send(current.next_page_request) |
| 277 | |
| 278 | def __getattr__(self, attr_name): |
| 279 | # Delegate everything to Response |