Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/openpyxl/workbook/function_group.py: 84%
15 statements
« prev ^ index » next coverage.py v6.4.4, created at 2023-07-17 14:22 -0600
« prev ^ index » next coverage.py v6.4.4, created at 2023-07-17 14:22 -0600
1# Copyright (c) 2010-2022 openpyxl
3from openpyxl.descriptors.serialisable import Serialisable
4from openpyxl.descriptors import (
5 Sequence,
6 String,
7 Integer,
8)
10class FunctionGroup(Serialisable):
12 tagname = "functionGroup"
14 name = String()
16 def __init__(self,
17 name=None,
18 ):
19 self.name = name
22class FunctionGroupList(Serialisable):
24 tagname = "functionGroups"
26 builtInGroupCount = Integer(allow_none=True)
27 functionGroup = Sequence(expected_type=FunctionGroup, allow_none=True)
29 __elements__ = ('functionGroup',)
31 def __init__(self,
32 builtInGroupCount=16,
33 functionGroup=(),
34 ):
35 self.builtInGroupCount = builtInGroupCount
36 self.functionGroup = functionGroup