aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py')
-rw-r--r--.venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py b/.venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py
new file mode 100644
index 00000000..b3af5c91
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/openpyxl/worksheet/custom.py
@@ -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
+