Skip to content

Commit c8dd910

Browse files
committed
default to not checking before discover
1 parent 46170ad commit c8dd910

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

airbyte_cdk/connector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ class BaseConnector(ABC, Generic[TConfig]):
3434
check_config_against_spec: bool = True
3535
"""Configure whether `check_config_against_spec_or_exit()` needs to be called."""
3636

37-
check_config_during_discover: bool = False
37+
check_config_during_discover: bool = True
3838
"""Determines whether config validation should be skipped during discovery.
39-
39+
4040
By default, config validation is not skipped during discovery. This can be overridden
4141
by sources that can provide catalog information without requiring authentication.
4242
"""

airbyte_cdk/sources/declarative/manifest_declarative_source.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ def _get_declarative_component_schema() -> Dict[str, Any]:
9090
class ManifestDeclarativeSource(DeclarativeSource):
9191
"""Declarative source defined by a manifest of low-code components that define source connector behavior"""
9292

93+
check_config_during_discover: bool = False
94+
"""Declarative sources default to not checking config before discovery."""
95+
9396
def __init__(
9497
self,
9598
source_config: ConnectionDefinition,

0 commit comments

Comments
 (0)