diff --git a/scripts/gold_mart.py b/scripts/gold_mart.py index f6ee735..cc990ea 100644 --- a/scripts/gold_mart.py +++ b/scripts/gold_mart.py @@ -40,8 +40,10 @@ def build_pnl_flux(year: int) -> Flux: CSVSource(filename=f"CRG/crg-{year}.csv"), CSVSource(filename=f"banque/banque-{year}.csv"), ], - transformation=build_pnl, - extra_kwrds={"year": year}, + transformation=Transformation( + function=build_pnl, + extra_kwrds={"year": year}, + ), destination=Destination(name=f"pnl/{year}"), )