Skip to content

Commit c494934

Browse files
author
Oleksandr Bazarnov
committed
formatted
1 parent cdb7710 commit c494934

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

airbyte_cdk/connector_builder/connector_builder_handler.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,17 @@ def get_limits(config: Mapping[str, Any]) -> TestLimits:
5555
max_streams = command_config.get(MAX_STREAMS_KEY) or DEFAULT_MAXIMUM_STREAMS
5656
return TestLimits(max_records, max_pages_per_slice, max_slices, max_streams)
5757

58+
5859
def should_migrate_manifest(config: Mapping[str, Any]) -> bool:
5960
"""
6061
Determines whether the manifest should be migrated,
6162
based on the presence of the "__should_migrate" key in the config.
62-
63+
6364
This flag is set by the UI.
6465
"""
6566
return config.get("__should_migrate", False)
6667

68+
6769
def create_source(config: Mapping[str, Any], limits: TestLimits) -> ManifestDeclarativeSource:
6870
manifest = config["__injected_declarative_manifest"]
6971
return ManifestDeclarativeSource(

0 commit comments

Comments
 (0)