Skip to content

Commit

Permalink
Rm unneeded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox committed Oct 21, 2024
1 parent 0fd1bc5 commit 06e3bd6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/backend/fastapi_app/routes/api_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ async def similar_handler(
)
).fetchall()

# Convert results to ItemWithDistance models,
items = [dict(row._mapping) for row in closest]
return [ItemWithDistance.model_validate(item) for item in items]

Expand Down

0 comments on commit 06e3bd6

Please sign in to comment.