(self)
| 296 | return self._get_page().__await__() |
| 297 | |
| 298 | async def _get_page(self) -> AsyncPageT: |
| 299 | def _parser(resp: AsyncPageT) -> AsyncPageT: |
| 300 | resp._set_private_attributes( |
| 301 | model=self._model, |
| 302 | options=self._options, |
| 303 | client=self._client, |
| 304 | ) |
| 305 | return resp |
| 306 | |
| 307 | self._options.post_parser = _parser |
| 308 | |
| 309 | return await self._client.request(self._page_cls, self._options) |
| 310 | |
| 311 | async def __aiter__(self) -> AsyncIterator[_T]: |
| 312 | # https://github.com/microsoft/pyright/issues/3464 |