Skip to content

Commit db1e4c0

Browse files
authored
fix(connector-builder): add normalize and migrate options back for the builder (#693)
1 parent 950acc6 commit db1e4c0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

airbyte_cdk/connector_builder/connector_builder_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def create_source(
8383
state=state,
8484
source_config=manifest,
8585
emit_connector_builder_messages=True,
86+
migrate_manifest=should_migrate_manifest(config),
87+
normalize_manifest=should_normalize_manifest(config),
8688
limits=limits,
8789
)
8890

airbyte_cdk/sources/declarative/concurrent_declarative_source.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def __init__(
9595
source_config: ConnectionDefinition,
9696
debug: bool = False,
9797
emit_connector_builder_messages: bool = False,
98+
migrate_manifest: bool = False,
99+
normalize_manifest: bool = False,
98100
limits: Optional[TestLimits] = None,
99101
config_path: Optional[str] = None,
100102
**kwargs: Any,
@@ -135,6 +137,8 @@ def __init__(
135137
config=config,
136138
debug=debug,
137139
emit_connector_builder_messages=emit_connector_builder_messages,
140+
migrate_manifest=migrate_manifest,
141+
normalize_manifest=normalize_manifest,
138142
component_factory=component_factory,
139143
config_path=config_path,
140144
)

0 commit comments

Comments
 (0)