|
@@ -71,9 +71,14 @@ class StructureTableResult(TableRecResult, HtmlMixin, XlsxMixin):
|
|
|
return self["html"]
|
|
return self["html"]
|
|
|
|
|
|
|
|
|
|
|
|
|
-class TableResult(BaseResult):
|
|
|
|
|
|
|
+class TableResult(CVResult, HtmlMixin, XlsxMixin):
|
|
|
"""TableResult"""
|
|
"""TableResult"""
|
|
|
|
|
|
|
|
|
|
+ def __init__(self, data):
|
|
|
|
|
+ super().__init__(data)
|
|
|
|
|
+ HtmlMixin.__init__(self)
|
|
|
|
|
+ XlsxMixin.__init__(self)
|
|
|
|
|
+
|
|
|
def save_to_html(self, save_path):
|
|
def save_to_html(self, save_path):
|
|
|
if not save_path.lower().endswith(("html")):
|
|
if not save_path.lower().endswith(("html")):
|
|
|
input_path = self["input_path"]
|
|
input_path = self["input_path"]
|