Skip to content

Commit

Permalink
fix: Changes dataset name query from is to equal (#3983)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbarmettlerUZH authored Jul 24, 2024
1 parent 5872e54 commit 3f77759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phoenix/server/api/routers/v1/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async def list_datasets(
status_code=HTTP_422_UNPROCESSABLE_ENTITY,
)
if name:
query = query.filter(models.Dataset.name.is_(name))
query = query.filter(models.Dataset.name == name)

query = query.limit(limit + 1)
result = await session.execute(query)
Expand Down

0 comments on commit 3f77759

Please sign in to comment.