Skip to content

Commit

Permalink
Return type can be None
Browse files Browse the repository at this point in the history
  • Loading branch information
ximenesuk committed Sep 13, 2023
1 parent fa3183a commit 88a45ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etlhelper/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def fetchone(
row_factory: Callable = dict_row_factory,
transform: Optional[Callable[[Chunk], Chunk]] = None,
chunk_size: int = 1
) -> Row:
) -> Optional[Row]:
"""
Get first result of query. See iter_rows for details. Note: iter_rows is
recommended for looping over rows individually.
Expand Down

0 comments on commit 88a45ea

Please sign in to comment.