Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi297 committed Dec 3, 2024
1 parent f2cb524 commit 7d0b457
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions airbyte_cdk/sources/declarative/concurrent_declarative_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,13 @@ def _group_streams(

return concurrent_streams, synchronous_streams

def _is_datetime_incremental_without_partition_routing(
self, declarative_stream, incremental_sync_component_definition
):
def _is_datetime_incremental_with_partition_routing(
self,
incremental_sync_component_definition: Mapping[str, Any],
declarative_stream: DeclarativeStream,
) -> bool:
return (
incremental_sync_component_definition
bool(incremental_sync_component_definition)
and incremental_sync_component_definition.get("type", "")
== DatetimeBasedCursorModel.__name__
and self._stream_supports_concurrent_partition_processing(
Expand Down

0 comments on commit 7d0b457

Please sign in to comment.