Skip to content

Commit

Permalink
@sanderegg review: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Sep 13, 2023
1 parent ee4277f commit 19f9715
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ async def iter_products(conn: SAConnection) -> AsyncIterator[ResultProxy]:
async for row in conn.execute(
sa.select(*_COLUMNS_IN_MODEL).order_by(products.c.priority)
):
if row is not None:
yield row
assert row # nosec
yield row


class ProductRepository(BaseRepository):
Expand Down

0 comments on commit 19f9715

Please sign in to comment.