Yield every machine, transparently following ``next_cursor``.
(
self, *, presence: str = "any", q: str | None = None, limit: int = 100
)
| 79 | # -- pagination -------------------------------------------------------- |
| 80 | |
| 81 | async def iter( |
| 82 | self, *, presence: str = "any", q: str | None = None, limit: int = 100 |
| 83 | ) -> AsyncIterator[Any]: |
| 84 | """Yield every machine, transparently following ``next_cursor``.""" |
| 85 | async for page in self.pages(presence=presence, q=q, limit=limit): |
| 86 | for item in page.items: |
| 87 | yield item |
| 88 | |
| 89 | async def pages( |
| 90 | self, *, presence: str = "any", q: str | None = None, limit: int = 100 |