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)
| 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. |