MCPcopy Create free account
hub / github.com/PyTables/PyTables / is_undo_enabled

Method is_undo_enabled

tables/file.py:2351–2361  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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:

Callers 9

enable_undoMethod · 0.95
disable_undoMethod · 0.95
_logMethod · 0.95
__init__Method · 0.80
_f_removeMethod · 0.80
_f_moveMethod · 0.80
_f_copyMethod · 0.80
__setattr__Method · 0.80
__delattr__Method · 0.80

Calls 1

_check_openMethod · 0.95

Tested by

no test coverage detected