Skip to content

Commit

Permalink
refactor: add temporary stable comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andiserg committed Feb 9, 2024
1 parent 0119683 commit c892ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/costy/adapters/db/category_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def delete_category(self, category_id: CategoryId) -> None:
)
await self.session.execute(query)

async def find_categories(self, user_id: UserId) -> list[CategoryDTO]:
async def find_categories(self, user_id: UserId) -> list[CategoryDTO]: # type: ignore # noqa
filter_expr = or_(
Category.user_id == user_id, # type: ignore
Category.user_id == None # type: ignore # noqa: E711
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ async def __call__(
self, data: Optional[ReadAvailableCategoriesDTO] = None
) -> List[CategoryDTO]:
user_id = await self.id_provider.get_current_user_id()
return await self.category_db_gateway.find_categories(user_id)
return await self.category_db_gateway.find_categories(user_id) # type: ignore # noqa

0 comments on commit c892ada

Please sign in to comment.