Files
aufbau2csv/venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py
Sven Riwoldt f7f8c52455 init
2024-10-19 12:31:37 +02:00

36 lines
639 B
Python

#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