Skip to content

Commit 68e6214

Browse files
Mention search in the list_todos docstring
1 parent 0cdb0d0 commit 68e6214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎backend/app/routes/todos.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async def list_todos(
3131
),
3232
db: AsyncSession = Depends(get_db),
3333
) -> list[Todo]:
34-
"""Retrieve all todos, optionally filtered by completion status."""
34+
"""Retrieve todos, optionally filtered by completion status or a search term."""
3535
query = select(Todo).order_by(Todo.created_at.desc())
3636

3737
if completed is not None:

0 commit comments

Comments
 (0)