Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 28f37dc

Browse files
committed
fix lint
1 parent 3798440 commit 28f37dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/codegate/db/connection.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,12 +741,13 @@ async def get_prompts(
741741
"""
742742
# Build base query
743743
base_query = """
744-
SELECT DISTINCT p.id, p.timestamp, p.provider, p.request, p.type, p.workspace_id FROM prompts p
744+
SELECT DISTINCT p.id, p.timestamp, p.provider, p.request, p.type,
745+
p.workspace_id FROM prompts p
745746
LEFT JOIN alerts a ON p.id = a.prompt_id
746747
WHERE p.workspace_id = :workspace_id
747748
{filter_conditions}
748749
ORDER BY p.timestamp DESC
749-
LIMIT :page_size OFFSET :offset
750+
LIMIT :page_size OFFSET :offset
750751
"""
751752
# Build conditions and filters
752753
conditions = {

0 commit comments

Comments
 (0)