Skip to content

Commit 7d0b457

Browse files
committed
mypy
1 parent f2cb524 commit 7d0b457

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

airbyte_cdk/sources/declarative/concurrent_declarative_source.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,13 @@ def _group_streams(
314314

315315
return concurrent_streams, synchronous_streams
316316

317-
def _is_datetime_incremental_without_partition_routing(
318-
self, declarative_stream, incremental_sync_component_definition
319-
):
317+
def _is_datetime_incremental_with_partition_routing(
318+
self,
319+
incremental_sync_component_definition: Mapping[str, Any],
320+
declarative_stream: DeclarativeStream,
321+
) -> bool:
320322
return (
321-
incremental_sync_component_definition
323+
bool(incremental_sync_component_definition)
322324
and incremental_sync_component_definition.get("type", "")
323325
== DatetimeBasedCursorModel.__name__
324326
and self._stream_supports_concurrent_partition_processing(

0 commit comments

Comments
 (0)