Source code

Download source archive ↓

src/openpyxl/worksheet/cell_watch.py

1#Autogenerated schema
2from openpyxl.descriptors.serialisable import Serialisable
3from openpyxl.descriptors import (
4    Sequence,
5    String,
6)
7
8# could be done using a nestedSequence
9
10class CellWatch(Serialisable):
11
12    tagname = "cellWatch"
13
14    r = String()
15
16    def __init__(self,
17                 r=None,
18                ):
19        self.r = r
20
21
22class CellWatches(Serialisable):
23
24    tagname = "cellWatches"
25
26    cellWatch = Sequence(expected_type=CellWatch)
27
28    __elements__ = ('cellWatch',)
29
30    def __init__(self,
31                 cellWatch=(),
32                ):
33        self.cellWatch = cellWatch
34