Skip to content

Commit fb40a6b

Browse files
author
maxime.c
committed
fix mypy
1 parent 8c771bb commit fb40a6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@
610610
)
611611
from airbyte_cdk.sources.streams.concurrent.default_stream import DefaultStream
612612
from airbyte_cdk.sources.streams.concurrent.helpers import get_primary_key_from_stream
613+
from airbyte_cdk.sources.streams.concurrent.partitions.stream_slicer import StreamSlicer as ConcurrentStreamSlicer
613614
from airbyte_cdk.sources.streams.concurrent.state_converters.datetime_stream_state_converter import (
614615
CustomFormatConcurrentStreamStateConverter,
615616
DateTimeStreamStateConverter,
@@ -2066,7 +2067,7 @@ def create_declarative_stream(
20662067
# We specifically exclude Connector Builder stuff for now as Brian is working on this anyway
20672068

20682069
stream_name = model.name or ""
2069-
stream_slicer: StreamSlicer = concurrent_cursor
2070+
stream_slicer: ConcurrentStreamSlicer = concurrent_cursor
20702071
cursor: Cursor = FinalStateCursor(stream_name, None, self._message_repository)
20712072
if isinstance(retriever, AsyncRetriever):
20722073
# The AsyncRetriever only ever worked with a cursor from the concurrent package. Hence, the method

0 commit comments

Comments
 (0)