(self, conn: Connection, more_to_come: bool)
| 34 | """Used with exhaust cursors to ensure the connection is returned.""" |
| 35 | |
| 36 | def __init__(self, conn: Connection, more_to_come: bool): |
| 37 | self.conn: Optional[Connection] = conn |
| 38 | self.more_to_come = more_to_come |
| 39 | self._lock = _create_lock() |
| 40 | |
| 41 | def update_exhaust(self, more_to_come: bool) -> None: |
| 42 | self.more_to_come = more_to_come |
nothing calls this directly
no test coverage detected