Get next GridOut object from cursor.
(self)
| 1979 | ) |
| 1980 | |
| 1981 | async def next(self) -> AsyncGridOut: |
| 1982 | """Get next GridOut object from cursor.""" |
| 1983 | _disallow_transactions(self.session) |
| 1984 | next_file = await super().next() |
| 1985 | return AsyncGridOut(self._root_collection, file_document=next_file, session=self.session) |
| 1986 | |
| 1987 | async def to_list(self, length: Optional[int] = None) -> list[AsyncGridOut]: |
| 1988 | """Convert the cursor to a list.""" |
no test coverage detected