Stop table reset of better persistent tables. (#373)

This commit is contained in:
2023-11-12 14:27:44 +01:00
committed by GitHub
parent d66e4e2b67
commit af8a907cf9
7 changed files with 108 additions and 41 deletions

View File

@ -183,6 +183,9 @@ def full_db(empty_db: Session, finance_statements: list[dict[str, Any]]) -> Sess
for finance_statement in finance_statements
]
)
empty_db.add(
entities.MissingCompany(name="Some company missing", zip_code="", city="")
)
empty_db.commit()
# print(pd.read_sql_table("company", empty_db.bind).to_string())
return empty_db