Skip to content

Commit 0cd7471

Browse files
committed
Fix mypy
1 parent f0159de commit 0cd7471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,8 +2622,8 @@ def create_state_delegating_retriever(
26222622
client_side_incremental_sync: Optional[Dict[str, Any]] = None,
26232623
transformations: List[RecordTransformation],
26242624
) -> StateDelegatingRetriever:
2625-
if not isinstance(stream_slicer, DeclarativeCursor):
2626-
raise ValueError("StateDelegatingRetriever requires a DeclarativeCursor")
2625+
if not isinstance(stream_slicer, DatetimeBasedCursor):
2626+
raise ValueError("StateDelegatingRetriever requires a DatetimeBasedCursor")
26272627

26282628
full_data_request_options_provider = copy.deepcopy(request_options_provider)
26292629

0 commit comments

Comments
 (0)