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

Method _check_group

tables/file.py:2346–2349  ·  view source on GitHub ↗
(self, node: Group)

Source from the content-addressed store, hash-verified

2344 raise FileModeError("the file is not writable")
2345
2346 def _check_group(self, node: Group) -> None:
2347 # `node` must already be a node.
2348 if not isinstance(node, Group):
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.

Callers 4

copy_childrenMethod · 0.95
list_nodesMethod · 0.95
iter_nodesMethod · 0.95
walk_groupsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected