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

Method _g_check_name

tables/node.py:890–901  ·  view source on GitHub ↗

Check validity of name for this particular kind of node. This is invoked once the standard HDF5 and natural naming checks have successfully passed.

(self, name: str)

Source from the content-addressed store, hash-verified

888 parent._f_get_child(name)._f_remove(True)
889
890 def _g_check_name(self, name: str) -> None:
891 """Check validity of name for this particular kind of node.
892
893 This is invoked once the standard HDF5 and natural naming checks
894 have successfully passed.
895
896 """
897 if name.startswith("_i_"):
898 # This is reserved for table index groups.
899 raise ValueError(
900 "node name starts with reserved prefix ``_i_``: %s" % name
901 )
902
903 def _f_getattr(self, name: str) -> Any:
904 """Get a PyTables attribute from this node.

Callers 1

_g_refnodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected