(self, items:Result)
| 67 | return output |
| 68 | |
| 69 | def convert_to_html(self, items:Result): |
| 70 | env = Environment(loader=FileSystemLoader(".")) |
| 71 | template = env.get_template('/templates/result.html') |
| 72 | output = template.render(headers=items.headers, |
| 73 | rows=items.rows, |
| 74 | formatted_rows=items.formatted_rows, |
| 75 | table_name=items.table_name) |
| 76 | return output |
| 77 | |
| 78 | def convert_to_json(self, items:Result): |
| 79 | self._create_directory(self._output_dir) |
no outgoing calls
no test coverage detected