assets_guardian.core.domain.engines.pdf_engineο
Classes
Engine responsible for generating the audit PDF report. |
- class assets_guardian.core.domain.engines.pdf_engine.PdfEngine[source]ο
Bases:
objectEngine responsible for generating the audit PDF report.
- generate(data: Any, ctx: Context, output_path: str | None = None) None[source]ο
Generates the audit PDF report from the audit findings.
- Parameters:
data β Audit results (dictionary or iterable of Report).
ctx β The application context.
output_path β Destination path for the PDF. If not provided, it is computed from the configured path with todayβs date inserted.