Get 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 retrieve. If the named
(
self, where: Node | str, attrname: str, name: str | None = None
)
| 1987 | obj._f_remove(recursive) |
| 1988 | |
| 1989 | def get_node_attr( |
| 1990 | self, where: Node | str, attrname: str, name: str | None = None |
| 1991 | ) -> Any: |
| 1992 | """Get a PyTables attribute from the given node. |
| 1993 | |
| 1994 | Parameters |
| 1995 | ---------- |
| 1996 | where, name |
| 1997 | These arguments work as in :meth:`File.get_node`, referencing the |
| 1998 | node to be acted upon. |
| 1999 | attrname |
| 2000 | The name of the attribute to retrieve. If the named |
| 2001 | attribute does not exist, an AttributeError is raised. |
| 2002 | |
| 2003 | """ |
| 2004 | obj = self.get_node(where, name=name) |
| 2005 | return obj._f_getattr(attrname) |
| 2006 | |
| 2007 | def set_node_attr( |
| 2008 | self, |