From 78576270db3f046cfd750a46775d342e59d92228 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 5 Mar 2024 18:59:01 +0100 Subject: [PATCH] Feat: adapt to new models --- scripts/gold_mart.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}"), )