Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Sep 26, 2024
1 parent 564ba1f commit 498987f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arroyo/processing/strategies/unfold.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import time
from collections import deque
from typing import Callable, Iterable, Deque, Generic, Optional, TypeVar, Union, cast
from typing import Callable, Deque, Generic, Iterable, Optional, TypeVar, Union, cast

from arroyo.processing.strategies.abstract import MessageRejected, ProcessingStrategy
from arroyo.types import FilteredPayload, Message
from arroyo.types import BaseValue, FilteredPayload, Message

TInput = TypeVar("TInput")
TOutput = TypeVar("TOutput")
Expand All @@ -27,7 +27,7 @@ class Unfold(

def __init__(
self,
generator: Callable[[TInput], Iterable[TOutput]],
generator: Callable[[TInput], Iterable[BaseValue[TOutput]]],
next_step: ProcessingStrategy[Union[FilteredPayload, TOutput]],
) -> None:
self.__generator = generator
Expand Down

0 comments on commit 498987f

Please sign in to comment.