get_attr#
- NamedObject.get_attr(attr, attr_type_or_types=None)#
Get the requested attribute for the object.
- Parameters:
- Returns:
Any
attribute value
- Raises:
RuntimeError
If any attribute other than
"active?
is queried when the object is not active.