Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
armanddidierjean committed Oct 20, 2023
1 parent ee1d51c commit d71c488
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/cruds/cruds_todos.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Sequence

from sqlalchemy import select, update
from sqlalchemy.exc import IntegrityError
from sqlalchemy.ext.asyncio import AsyncSession
Expand All @@ -8,7 +10,7 @@
async def get_items_by_user_id(
db: AsyncSession,
user_id: str,
) -> list[models_todos.TodosItem]:
) -> Sequence[models_todos.TodosItem]:
"""
Return all items from a given user
"""
Expand Down

0 comments on commit d71c488

Please sign in to comment.