Skip to content

Commit

Permalink
Use Iterator[T]
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 12, 2024
1 parent 95908f3 commit d5e4a25
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import TYPE_CHECKING, Generic, Iterator, Union
from typing import TYPE_CHECKING, Iterator, Union

from dagster import AssetMaterialization, MaterializeResult
from typing_extensions import TypeVar
Expand All @@ -11,7 +11,7 @@
T = TypeVar("T", bound=FivetranEventType)


class FivetranEventIterator(Generic[T], Iterator):
class FivetranEventIterator(Iterator[T]):
"""A wrapper around an iterator of Fivetran events which contains additional methods for
post-processing the events, such as fetching column metadata.
"""
Expand Down

0 comments on commit d5e4a25

Please sign in to comment.