"""Ready-made workbook specs. Each template returns a `create_excel` spec (dict).""" from __future__ import annotations from collections.abc import Callable from typing import Any from app.tools.excel_templates import ( age_vie, comparables_ajustes, methode_du_cout, sensibilite, six_fonctions, tableau_amortissement, ) TEMPLATES: dict[str, Callable[[dict[str, Any]], dict[str, Any]]] = { "methode_du_cout": methode_du_cout.build, "comparables_ajustes": comparables_ajustes.build, "age_vie": age_vie.build, "tableau_amortissement": tableau_amortissement.build, "six_fonctions": six_fonctions.build, "sensibilite": sensibilite.build, }