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

Method get_attr

tables/leaf.py:883–889  ·  view source on GitHub ↗

Get a PyTables attribute from this node. This method has the behavior described in :meth:`Node._f_getattr`.

(self, name: str)

Source from the content-addressed store, hash-verified

881
882 # Attribute handling
883 def get_attr(self, name: str) -> Any:
884 """Get a PyTables attribute from this node.
885
886 This method has the behavior described in :meth:`Node._f_getattr`.
887
888 """
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.

Callers 10

copy_leafFunction · 0.80
copy_childrenFunction · 0.80
test01_openFileMethod · 0.80
test02_appendFileMethod · 0.80
test02b_appendFile2Method · 0.80
check_nameMethod · 0.80
test02_setAttributesMethod · 0.80
test03b_titleLengthMethod · 0.80

Calls 1

_f_getattrMethod · 0.80

Tested by 8

test01_openFileMethod · 0.64
test02_appendFileMethod · 0.64
test02b_appendFile2Method · 0.64
check_nameMethod · 0.64
test02_setAttributesMethod · 0.64
test03b_titleLengthMethod · 0.64