(
self, hard_close: bool = False
)
| 1875 | return self.iterator |
| 1876 | |
| 1877 | def _fetchone_impl( |
| 1878 | self, hard_close: bool = False |
| 1879 | ) -> Optional[_InterimRowType[Row[Unpack[TupleAny]]]]: |
| 1880 | if self._hard_closed: |
| 1881 | self._raise_hard_closed() |
| 1882 | |
| 1883 | row = next(self.iterator, _NO_ROW) |
| 1884 | if row is _NO_ROW: |
| 1885 | self._soft_close(hard=hard_close) |
| 1886 | return None |
| 1887 | else: |
| 1888 | return row |
| 1889 | |
| 1890 | def _fetchall_impl( |
| 1891 | self, |
nothing calls this directly
no test coverage detected