🐛 fix(flows.py): remove unused imports and fix function call to read_flows

🐛 fix(test_database.py): fix function call to Flow.model_validate
🐛 fix(test_llms_template.py): fix values in test cases
🔥 chore(test_store.py): remove unused test file and test case
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-21 14:45:02 -03:00
commit c6dfb90bcf
4 changed files with 9 additions and 68 deletions

View file

@ -182,7 +182,7 @@ def test_download_file(
with session_getter(db_manager) as session:
for flow in flow_list.flows:
flow.user_id = active_user.id
db_flow = Flow.from_orm(flow)
db_flow = Flow.model_validate(flow)
session.add(db_flow)
session.commit()
# Make request to endpoint