Coverage for /home/runner/work/viur-core/viur-core/viur/src/viur/core/bones/treenode.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.6.3, created at 2024-10-16 22:16 +0000

1""" 

2TreeNodeBone is a subclass of RelationalBone specifically designed to represent an intermediate node in a tree-like 

3data structure. It provides a way to define hierarchical relationships between entities in a ViUR application. 

4 

5The TreeNodeBone is of type "relational.tree.node", which distinguishes it from other RelationalBone subclasses. 

6""" 

7from viur.core.bones.relational import RelationalBone 

8 

9 

10class TreeNodeBone(RelationalBone): 

11 """ 

12 TreeNodeBone is a subclass of RelationalBone specifically designed to represent an intermediate node in a tree-like 

13 data structure. It provides a way to define hierarchical relationships between entities in a ViUR application. 

14 

15 The TreeNodeBone is of type "relational.tree.node", which distinguishes it from other RelationalBone subclasses. 

16 """ 

17 type = "relational.tree.node"