Coverage for /home/runner/work/viur-core/viur-core/viur/src/viur/core/bones/treeleaf.py: 80%

5 statements  

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

1""" 

2TreeLeafBone is a subclass of RelationalBone specifically designed to represent a leaf node in a tree-like data 

3structure. It provides an additional level of hierarchy and organization for relational data in ViUR applications. 

4""" 

5from viur.core.bones.relational import RelationalBone 

6 

7 

8class TreeLeafBone(RelationalBone): 

9 """ 

10 TreeLeafBone is a subclass of RelationalBone specifically designed to represent a leaf node in a tree-like data 

11 structure. It provides an additional level of hierarchy and organization for relational data in ViUR applications. 

12 """ 

13 type = "relational.tree.leaf" 

14 

15 def __init__(self, **kwargs): 

16 super(TreeLeafBone, self).__init__(**kwargs)