Source code

Download source archive ↓

src/openpyxl/workbook/external_reference.py

1# Copyright (c) 2010-2024 openpyxl
2
3from openpyxl.descriptors.serialisable import Serialisable
4from openpyxl.descriptors import (
5    Sequence
6)
7from openpyxl.descriptors.excel import (
8    Relation,
9)
10
11class ExternalReference(Serialisable):
12
13    tagname = "externalReference"
14
15    id = Relation()
16
17    def __init__(self, id):
18        self.id = id