Delete a PyTables attribute from the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to delete. If the named
(
self, where: Node | str, attrname: str, name: str | None = None
)
| 2038 | obj._f_setattr(attrname, attrvalue) |
| 2039 | |
| 2040 | def del_node_attr( |
| 2041 | self, where: Node | str, attrname: str, name: str | None = None |
| 2042 | ) -> None: |
| 2043 | """Delete a PyTables attribute from the given node. |
| 2044 | |
| 2045 | Parameters |
| 2046 | ---------- |
| 2047 | where, name |
| 2048 | These arguments work as in :meth:`File.get_node`, referencing the |
| 2049 | node to be acted upon. |
| 2050 | attrname |
| 2051 | The name of the attribute to delete. If the named |
| 2052 | attribute does not exist, an AttributeError is raised. |
| 2053 | |
| 2054 | """ |
| 2055 | obj = self.get_node(where, name=name) |
| 2056 | obj._f_delattr(attrname) |
| 2057 | |
| 2058 | def copy_node_attrs( |
| 2059 | self, where: Node | str, dstnode: Node | str, name: str | None = None |