Skip to content

Commit

Permalink
sqlalchemy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Dec 2, 2024
1 parent d4cca01 commit e7b879f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ async def list(
return [
CompRunsAtDB.model_validate(row)
async for row in conn.execute(
sa.select(comp_runs).where(sa.and_(*conditions))
sa.select(comp_runs).where(
sa.and_(True, *conditions) # noqa: FBT003
)
)
]

Expand Down

0 comments on commit e7b879f

Please sign in to comment.