PrettyAttr#
- class brainstate.util.PrettyAttr(key, value, start='', end='', comment=None)[source]#
Configuration for pretty representation of attributes.
- key#
The attribute name or key. An empty key renders the value as a positional item (without
key<value_sep>).- Type:
- value#
The attribute value. A
strvalue is inserted verbatim; any other value is rendered recursively.