assets_guardian.core.domain.engines.excel_engine

Classes

ExcelEngine()

Engine responsible for generating the reference Excel repository.

class assets_guardian.core.domain.engines.excel_engine.ExcelEngine[source]

Bases: object

Engine responsible for generating the reference Excel repository.

generate(data: Any, ctx: Context, output_path: str | None = None) None[source]

Generates the Excel file from data collection results.

Parameters:
  • data – Data collection results.

  • ctx – The application context.

  • output_path – Destination path for the Excel file. If not provided, it is computed from the configured path, replacing the β€˜DATE’ placeholder with today’s date if present.