Method
__init__
(self, history_manager: HistoryManager)
Source from the content-addressed store, hash-verified
| 1135 | _stopped = False |
| 1136 | |
| 1137 | def __init__(self, history_manager: HistoryManager) -> None: |
| 1138 | super(HistorySavingThread, self).__init__(name="IPythonHistorySavingThread") |
| 1139 | self.history_manager = ref(history_manager) |
| 1140 | self.enabled = history_manager.enabled |
| 1141 | self.save_flag = threading.Event() |
| 1142 | |
| 1143 | @only_when_enabled |
| 1144 | def run(self) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected