Flush the buffer contents out to a chunk.
(self, force: bool = False)
| 1283 | self._position += len(data) |
| 1284 | |
| 1285 | def _flush_buffer(self, force: bool = False) -> None: |
| 1286 | """Flush the buffer contents out to a chunk.""" |
| 1287 | self._flush_data(self._buffer.getvalue(), force=force) |
| 1288 | self._buffer.close() |
| 1289 | self._buffer = io.BytesIO() |
| 1290 | |
| 1291 | def _flush(self) -> Any: |
| 1292 | """Flush the file to the database.""" |
no test coverage detected