Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3865,7 +3865,9 @@ def _instantiate_parent_stream_state_manager(

if not parent_state and not isinstance(parent_state, dict):
cursor_values = child_state.values()
if cursor_values:
if cursor_values and len(cursor_values) == 1:
# We assume the child state is a pair `{<cursor_field>: <cursor_value>}` and we will use the
# cursor value as a parent state.
incremental_sync_model: Union[
DatetimeBasedCursorModel,
IncrementingCountCursorModel,
Expand Down
Loading