You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
639 B
36 lines
639 B
#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
|
|
|