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

Method _f_setattr

tables/node.py:912–919  ·  view source on GitHub ↗

Set a PyTables attribute for this node. If the node already has a large number of attributes, a PerformanceWarning is issued.

(self, name: str, value: Any)

Source from the content-addressed store, hash-verified

910 return getattr(self._v_attrs, name)
911
912 def _f_setattr(self, name: str, value: Any) -> None:
913 """Set a PyTables attribute for this node.
914
915 If the node already has a large number of attributes, a
916 PerformanceWarning is issued.
917
918 """
919 setattr(self._v_attrs, name, value)
920
921 def _f_delattr(self, name: str) -> None:
922 """Delete a PyTables attribute from this node.

Callers 4

set_attrMethod · 0.80
set_node_attrMethod · 0.80
check_nameMethod · 0.80
test02_setAttributesMethod · 0.80

Calls

no outgoing calls

Tested by 2

check_nameMethod · 0.64
test02_setAttributesMethod · 0.64