Skip to content

Commit eb4a95e

Browse files
committed
lint stuff
1 parent 68ceb67 commit eb4a95e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

airbyte_cdk/sources/declarative/partition_routers/cartesian_product_stream_slicer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def stream_slices(self) -> Iterable[StreamSlice]:
149149
for stream_slice_tuple in product:
150150
partition = dict(ChainMap(*[s.partition for s in stream_slice_tuple])) # type: ignore # ChainMap expects a MutableMapping[Never, Never] for reasons
151151
cursor_slices = [s.cursor_slice for s in stream_slice_tuple if s.cursor_slice]
152-
extra_fields = dict(ChainMap(*[s.extra_fields for s in stream_slice_tuple]))
152+
extra_fields = dict(ChainMap(*[s.extra_fields for s in stream_slice_tuple])) # type: ignore # ChainMap expects a MutableMapping[Never, Never] for reasons
153153
if len(cursor_slices) > 1:
154154
raise ValueError(
155155
f"There should only be a single cursor slice. Found {cursor_slices}"

unit_tests/sources/declarative/partition_routers/helpers.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66

77
from airbyte_cdk.models import SyncMode
88
from airbyte_cdk.sources.declarative.declarative_stream import DeclarativeStream
9-
from airbyte_cdk.sources.declarative.incremental.per_partition_cursor import (
10-
StreamSlice,
11-
)
129
from airbyte_cdk.sources.declarative.interpolation import InterpolatedString
1310
from airbyte_cdk.sources.streams.checkpoint import Cursor
14-
from airbyte_cdk.sources.types import Record
11+
from airbyte_cdk.sources.types import Record, StreamSlice
1512

1613

1714
class MockStream(DeclarativeStream):

0 commit comments

Comments
 (0)