Skip to content

Commit c2f995f

Browse files
author
jacopo
committed
Make type for iterator more specific
1 parent c14f990 commit c2f995f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

postgrestq/task_queue.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ def __iter__(
664664
self,
665665
) -> Iterator[
666666
Tuple[
667-
Optional[Dict[str, Any]],
668-
Optional[UUID],
669-
Optional[str]
667+
Dict[str, Any],
668+
UUID,
669+
str
670670
]
671671
]:
672672
"""Iterate over tasks and mark them as complete.

0 commit comments

Comments
 (0)