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

Method _f_getattr

tables/node.py:903–910  ·  view source on GitHub ↗

Get a PyTables attribute from this node. If the named attribute does not exist, an AttributeError is raised.

(self, name: str)

Source from the content-addressed store, hash-verified

901 )
902
903 def _f_getattr(self, name: str) -> Any:
904 """Get a PyTables attribute from this node.
905
906 If the named attribute does not exist, an AttributeError is
907 raised.
908
909 """
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.

Callers 5

get_attrMethod · 0.80
get_node_attrMethod · 0.80
check_nameMethod · 0.80
test02_setAttributesMethod · 0.80
test03b_titleLengthMethod · 0.80

Calls

no outgoing calls

Tested by 3

check_nameMethod · 0.64
test02_setAttributesMethod · 0.64
test03b_titleLengthMethod · 0.64