refactor: excel parse

This commit is contained in:
Blizzard
2026-04-16 10:01:11 +08:00
parent 680ecc320f
commit f62f95ec02
7941 changed files with 2899112 additions and 0 deletions
@@ -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