Updated script that can be controled by Nodejs web app
This commit is contained in:
35
lib/python3.13/site-packages/openpyxl/worksheet/custom.py
Normal file
35
lib/python3.13/site-packages/openpyxl/worksheet/custom.py
Normal file
@ -0,0 +1,35 @@
|
||||
#Autogenerated schema
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
from openpyxl.descriptors import (
|
||||
String,
|
||||
Sequence,
|
||||
)
|
||||
|
||||
# can be done with a nested sequence
|
||||
|
||||
|
||||
class CustomProperty(Serialisable):
|
||||
|
||||
tagname = "customProperty"
|
||||
|
||||
name = String()
|
||||
|
||||
def __init__(self,
|
||||
name=None,
|
||||
):
|
||||
self.name = name
|
||||
|
||||
|
||||
class CustomProperties(Serialisable):
|
||||
|
||||
tagname = "customProperties"
|
||||
|
||||
customPr = Sequence(expected_type=CustomProperty)
|
||||
|
||||
__elements__ = ('customPr',)
|
||||
|
||||
def __init__(self,
|
||||
customPr=(),
|
||||
):
|
||||
self.customPr = customPr
|
||||
|
Reference in New Issue
Block a user