Return True uf the Undo/Redo mechanism is enabled. Returns True if the Undo/Redo mechanism has been enabled for this file, False otherwise. Please note that this mechanism is persistent, so a newly opened PyTables file may already have Undo/Redo support enabled.
(self)
| 2349 | raise TypeError(f"node ``{node._v_pathname}`` is not a group") |
| 2350 | |
| 2351 | def is_undo_enabled(self) -> bool: |
| 2352 | """Return True uf the Undo/Redo mechanism is enabled. |
| 2353 | |
| 2354 | Returns True if the Undo/Redo mechanism has been enabled for |
| 2355 | this file, False otherwise. Please note that this mechanism is |
| 2356 | persistent, so a newly opened PyTables file may already have |
| 2357 | Undo/Redo support enabled. |
| 2358 | |
| 2359 | """ |
| 2360 | self._check_open() |
| 2361 | return self._undoEnabled |
| 2362 | |
| 2363 | def _check_undo_enabled(self) -> None: |
| 2364 | if not self._undoEnabled: |
no test coverage detected