Updated script that can be controled by Nodejs web app

This commit is contained in:
mac OS
2024-11-25 12:24:18 +07:00
parent c440eda1f4
commit 8b0ab2bd3a
8662 changed files with 1803808 additions and 34 deletions

View File

@ -0,0 +1,36 @@
# Copyright (c) 2010-2024 openpyxl
from openpyxl.descriptors.serialisable import Serialisable
from openpyxl.descriptors import (
Sequence,
String,
Integer,
)
class FunctionGroup(Serialisable):
tagname = "functionGroup"
name = String()
def __init__(self,
name=None,
):
self.name = name
class FunctionGroupList(Serialisable):
tagname = "functionGroups"
builtInGroupCount = Integer(allow_none=True)
functionGroup = Sequence(expected_type=FunctionGroup, allow_none=True)
__elements__ = ('functionGroup',)
def __init__(self,
builtInGroupCount=16,
functionGroup=(),
):
self.builtInGroupCount = builtInGroupCount
self.functionGroup = functionGroup