Unregister a notice message callable previously registered. :param callback: the callback to remove. :type callback: Callable[[~psycopg.errors.Diagnostic], None]
(self, callback: NoticeHandler)
| 329 | self._notice_handlers.append(callback) |
| 330 | |
| 331 | def remove_notice_handler(self, callback: NoticeHandler) -> None: |
| 332 | """ |
| 333 | Unregister a notice message callable previously registered. |
| 334 | |
| 335 | :param callback: the callback to remove. |
| 336 | :type callback: Callable[[~psycopg.errors.Diagnostic], None] |
| 337 | """ |
| 338 | self._notice_handlers.remove(callback) |
| 339 | |
| 340 | @staticmethod |
| 341 | def _notice_handler( |
no outgoing calls