Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/openpyxl/worksheet/related.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

1# Copyright (c) 2010-2024 openpyxl 

2 

3from openpyxl.descriptors.serialisable import Serialisable 

4from openpyxl.descriptors.excel import Relation 

5 

6 

7class Related(Serialisable): 

8 

9 id = Relation() 

10 

11 

12 def __init__(self, id=None): 

13 self.id = id 

14 

15 

16 def to_tree(self, tagname, idx=None): 

17 return super().to_tree(tagname)