(cursor: Optional[str])
| 282 | # underscore) and translate to the generated base's `var_from` here so the |
| 283 | # generator's mangled name never leaks into the public SDK surface. |
| 284 | async def fetch(cursor: Optional[str]) -> Page: |
| 285 | resp = await self._c._read( |
| 286 | lambda h: self._api.list_messages( |
| 287 | email, |
| 288 | direction=direction, |
| 289 | read_status=read_status, |
| 290 | sort=sort, |
| 291 | var_from=from_, |
| 292 | subject_contains=subject_contains, |
| 293 | conversation_id=conversation_id, |
| 294 | labels=labels, |
| 295 | since=since, |
| 296 | until=until, |
| 297 | cursor=cursor, |
| 298 | limit=limit, |
| 299 | _headers=h, |
| 300 | ) |
| 301 | ) |
| 302 | return _page(resp.items, resp.next_cursor) |
| 303 | |
| 304 | return AutoPager(fetch) |
| 305 |
nothing calls this directly
no test coverage detected