Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# Copyright (c) 2010-2020 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(Related, self).to_tree(tagname)