Skip to content

Commit 1d84a49

Browse files
author
maxime.c
committed
mypy
1 parent 9175283 commit 1d84a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@ def create_declarative_stream(
20692069
# We specifically exclude Connector Builder stuff for now as Brian is working on this anyway
20702070

20712071
stream_name = model.name or ""
2072-
stream_slicer: ConcurrentStreamSlicer = concurrent_cursor
2072+
stream_slicer: ConcurrentStreamSlicer = concurrent_cursor if concurrent_cursor else SinglePartitionRouter()
20732073
cursor: Cursor = FinalStateCursor(stream_name, None, self._message_repository)
20742074
if isinstance(retriever, AsyncRetriever):
20752075
# The AsyncRetriever only ever worked with a cursor from the concurrent package. Hence, the method

0 commit comments

Comments
 (0)