Feat: adapt to new models

This commit is contained in:
Bertrand Benjamin 2024-03-05 18:59:01 +01:00
parent 4cc9e7b038
commit 78576270db

View File

@ -40,8 +40,10 @@ def build_pnl_flux(year: int) -> Flux:
CSVSource(filename=f"CRG/crg-{year}.csv"), CSVSource(filename=f"CRG/crg-{year}.csv"),
CSVSource(filename=f"banque/banque-{year}.csv"), CSVSource(filename=f"banque/banque-{year}.csv"),
], ],
transformation=build_pnl, transformation=Transformation(
extra_kwrds={"year": year}, function=build_pnl,
extra_kwrds={"year": year},
),
destination=Destination(name=f"pnl/{year}"), destination=Destination(name=f"pnl/{year}"),
) )