You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
348 B
18 lines
348 B
# Copyright (c) 2010-2024 openpyxl
|
|
|
|
from openpyxl.descriptors.serialisable import Serialisable
|
|
from openpyxl.descriptors.excel import Relation
|
|
|
|
|
|
class Related(Serialisable):
|
|
|
|
id = Relation()
|
|
|
|
|
|
def __init__(self, id=None):
|
|
self.id = id
|
|
|
|
|
|
def to_tree(self, tagname, idx=None):
|
|
return super(Related, self).to_tree(tagname)
|