Skip to content

Commit 0b37544

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 40ce8b1 commit 0b37544

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

unit_tests/sources/declarative/incremental/test_concurrent_perpartitioncursor.py

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -311,22 +311,31 @@
311311

312312
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY = deepcopy(SUBSTREAM_MANIFEST)
313313
# Disable incremental_dependency
314-
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY["definitions"]["post_comments_stream"]["retriever"][
315-
"partition_router"
316-
]["parent_stream_configs"][0]["incremental_dependency"] = False
317-
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY["definitions"]["post_comment_votes_stream"]["retriever"][
318-
"partition_router"
319-
]["parent_stream_configs"][0]["incremental_dependency"] = False
314+
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY["definitions"]["post_comments_stream"][
315+
"retriever"
316+
]["partition_router"]["parent_stream_configs"][0]["incremental_dependency"] = False
317+
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY["definitions"]["post_comment_votes_stream"][
318+
"retriever"
319+
]["partition_router"]["parent_stream_configs"][0]["incremental_dependency"] = False
320320
# Enable global_cursor
321-
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY["definitions"]["cursor_incremental_sync"]["global_substream_cursor"] = True
321+
SUBSTREAM_MANIFEST_WITH_GLOBAL_CURSOR_AND_NO_DEPENDENCY["definitions"]["cursor_incremental_sync"][
322+
"global_substream_cursor"
323+
] = True
322324

323325

324326
import orjson
325327
import requests_mock
326328

327329

328330
def run_mocked_test(
329-
mock_requests, manifest, config, stream_name, initial_state, expected_records, expected_state, state_count = None
331+
mock_requests,
332+
manifest,
333+
config,
334+
stream_name,
335+
initial_state,
336+
expected_records,
337+
expected_state,
338+
state_count=None,
330339
):
331340
"""
332341
Helper function to mock requests, run the test, and verify the results.

0 commit comments

Comments
 (0)