(self)
| 289 | return self._get_page().__await__() |
| 290 | |
| 291 | async def _get_page(self) -> AsyncPageT: |
| 292 | def _parser(resp: AsyncPageT) -> AsyncPageT: |
| 293 | resp._set_private_attributes( |
| 294 | model=self._model, |
| 295 | options=self._options, |
| 296 | client=self._client, |
| 297 | ) |
| 298 | return resp |
| 299 | |
| 300 | self._options.post_parser = _parser |
| 301 | |
| 302 | return await self._client.request(self._page_cls, self._options) |
| 303 | |
| 304 | async def __aiter__(self) -> AsyncIterator[_T]: |
| 305 | # https://github.com/microsoft/pyright/issues/3464 |