ingest comdirect as raw strings

This commit is contained in:
2026-09-10 21:55:29 +02:00
parent af4becaee9
commit 603be8db38
5 changed files with 95 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
from src.models import ComdirectCreditCard, ComdirectDepot, ComdirectGiro
ACCOUNT_INGESTION_FUNCTIONS = {
"comdirect": {
"Girokonto": lambda x: ComdirectGiro.model_validate(x),
"Visa-Karte (Kreditkarte)": lambda x: ComdirectCreditCard.model_validate(x),
"Tagesgeld PLUS-Konto": lambda x: ComdirectGiro.model_validate(x),
"Depot": lambda x: ComdirectDepot.model_validate(x),
}
}