sunpeek.components.helpers.AttrSetterMixin#
- class sunpeek.components.helpers.AttrSetterMixin#
Bases:
object
Methods
__init__
()add_component_attr
(name[, unit, minimum, ...])all_subclasses
([c])define_component_attrs
()get_component_attribute
(name)get_default_unit
(name)Return default unit of a class attribute defined as ComponentParam.
register_callback
(callback_type, func)set_component_attribute
(name, value, array_type)