Refactor code structure for improved readability and maintainability

This commit is contained in:
bolade
2025-10-22 01:11:32 +01:00
parent d862577ecf
commit f5d304aec5
13 changed files with 263 additions and 758 deletions
+7 -1
View File
@@ -6,7 +6,12 @@ from context import context_list
env = Environment(loader=FileSystemLoader("report_gen"))
html_pages = []
a = 1
b = "string"
c = [1,2,3,5]
d = {
"key": "value"
}
header_context = {
"patient_name": "Keirstyn Moran",
"age": 34,
@@ -122,3 +127,4 @@ html_string_to_pdf(html_doc, "multi_page_report.pdf")
# pdfkit.from_string(html_doc, "truth_report.pdf", options=options)
print("✅ PDF generated: multi_page_report.pdf")