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

Method table

tables/index.py:2538–2545  ·  view source on GitHub ↗

Accessor for the `Table` object of this `IndexesTableG` container.

(self)

Source from the content-addressed store, hash-verified

2536
2537 @property
2538 def table(self) -> Table:
2539 """Accessor for the `Table` object of this `IndexesTableG` container."""
2540 names = self._v_pathname.split("/")
2541 tablename = names.pop()[3:] # "_i_" is at the beginning
2542 parentpathname = "/".join(names)
2543 tablepathname = join_path(parentpathname, tablename)
2544 table = self._v_file._get_node(tablepathname)
2545 return table
2546
2547
2548class OldIndex(NotLoggedMixin, Group):

Callers

nothing calls this directly

Calls 3

join_pathFunction · 0.85
popMethod · 0.80
_get_nodeMethod · 0.80

Tested by

no test coverage detected