File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,8 @@ def stop_sync_on_stream_failure(self) -> bool:
325325 """
326326 return False
327327
328+ _check_config_during_discover : bool = False
329+
328330 @property
329331 def check_config_during_discover (self ) -> bool :
330332 """
@@ -336,4 +338,14 @@ def check_config_during_discover(self) -> bool:
336338 Returns:
337339 bool: True if config validation should be skipped during discovery, False otherwise.
338340 """
339- return False
341+ return self ._check_config_during_discover
342+
343+ @check_config_during_discover .setter
344+ def check_config_during_discover (self , value : bool ) -> None :
345+ """
346+ Sets whether config validation should be skipped during discovery.
347+
348+ Args:
349+ value: True if config validation should be skipped during discovery, False otherwise.
350+ """
351+ self ._check_config_during_discover = value
Original file line number Diff line number Diff line change 4747)
4848from airbyte_cdk .sources .declarative .resolvers import COMPONENTS_RESOLVER_TYPE_MAPPING
4949from airbyte_cdk .sources .message import MessageRepository
50+ from airbyte_cdk .sources .source import Source
5051from airbyte_cdk .sources .streams .core import Stream
5152from airbyte_cdk .sources .types import ConnectionDefinition
5253from airbyte_cdk .sources .utils .slice_logger import (
@@ -108,9 +109,10 @@ def __init__(
108109
109110 self ._config = config or {}
110111 self ._validate_source ()
111-
112- self .check_config_during_discover = self ._uses_dynamic_schema_loader ()
112+
113113 self .check_config_against_spec = True
114+
115+ self .check_config_during_discover = self ._uses_dynamic_schema_loader ()
114116
115117 @property
116118 def resolved_manifest (self ) -> Mapping [str , Any ]:
You can’t perform that action at this time.
0 commit comments