Skip to content

Commit eeff98c

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent eb612f9 commit eeff98c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,10 @@ def _generate_slices_from_partition(
281281
self._number_of_partitions += 1
282282
self._cursor_per_partition[partition_key] = cursor
283283

284-
if not self._IS_PARTITION_DUPLICATION_LOGGED and partition_key in self._semaphore_per_partition:
284+
if (
285+
not self._IS_PARTITION_DUPLICATION_LOGGED
286+
and partition_key in self._semaphore_per_partition
287+
):
285288
logger.warning(f"Partition duplication detected for stream {self._stream_name}")
286289
self._IS_PARTITION_DUPLICATION_LOGGED = True
287290
else:

0 commit comments

Comments
 (0)