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

Method set_attr

tables/leaf.py:891–897  ·  view source on GitHub ↗

Set a PyTables attribute for this node. This method has the behavior described in :meth:`Node._f_setattr()`.

(self, name: str, value: Any)

Source from the content-addressed store, hash-verified

889 return self._f_getattr(name)
890
891 def set_attr(self, name: str, value: Any) -> None:
892 """Set a PyTables attribute for this node.
893
894 This method has the behavior described in :meth:`Node._f_setattr()`.
895
896 """
897 self._f_setattr(name, value)
898
899 def del_attr(self, name: str) -> None:
900 """Delete a PyTables attribute from this node.

Callers 4

copy_leafFunction · 0.45
copy_childrenFunction · 0.45
check_nameMethod · 0.45
test02_setAttributesMethod · 0.45

Calls 1

_f_setattrMethod · 0.80

Tested by 2

check_nameMethod · 0.36
test02_setAttributesMethod · 0.36