Adds updated_at and folder cols

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-21 20:57:07 -03:00
commit 7a98ce7c36
4 changed files with 93 additions and 13 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.model_validate(flow)
db_flow = Flow.model_validate(flow, from_attributes=True)
session.add(db_flow)
session.commit()
# Make request to endpoint