Skip to content

Commit 12afc3d

Browse files
[cherry-pick-me]: use kw args
1 parent f091b53 commit 12afc3d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

airbyte_cdk/connector_builder/connector_builder_handler.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ def get_limits(config: Mapping[str, Any]) -> TestLimits:
5353
max_slices = command_config.get(MAX_SLICES_KEY) or DEFAULT_MAXIMUM_NUMBER_OF_SLICES
5454
max_records = command_config.get(MAX_RECORDS_KEY) or DEFAULT_MAXIMUM_RECORDS
5555
max_streams = command_config.get(MAX_STREAMS_KEY) or DEFAULT_MAXIMUM_STREAMS
56-
return TestLimits(max_records, max_pages_per_slice, max_slices, max_streams)
56+
return TestLimits(
57+
max_records=max_records,
58+
max_pages_per_slice=max_pages_per_slice,
59+
max_slices=max_slices,
60+
max_streams=max_streams,
61+
)
5762

5863

5964
def create_source(config: Mapping[str, Any], limits: TestLimits) -> ManifestDeclarativeSource:

0 commit comments

Comments
 (0)