IdTree¶
-
class
dasha.web.templates.IdTree(parent=None)[source]¶ Bases:
anytree.node.nodemixin.NodeMixinA mixin class that provides unique ids for class instances.
A hierarchy of ids are managed in a tree-like data structure, enabled by the underlying
NodeMixinclass. The id of each tree node is a compositions of the parent’s id and the label of this node.Attributes Summary
The unique id.
The base name of the generated id.
Attributes Documentation
-
id¶ The unique id.
-
idbase¶ The base name of the generated id.
-