Skip to content

Commit

Permalink
fix: add missing await to table check (#5977)
Browse files Browse the repository at this point in the history
fix: make table check method async in database service
  • Loading branch information
ogabrielluiz authored Jan 28, 2025
1 parent f49feef commit 8e12ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/services/database/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ async def run_migrations_test(self):
]
async with self.with_session() as session, session.bind.connect() as conn:
return [
TableResults(sql_model.__tablename__, conn.run_sync(self.check_table, sql_model))
TableResults(sql_model.__tablename__, await conn.run_sync(self.check_table, sql_model))
for sql_model in sql_models
]

Expand Down

0 comments on commit 8e12ca4

Please sign in to comment.