File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -617,7 +617,8 @@ def _uses_dynamic_schema_loader(self) -> bool:
617617 Returns:
618618 bool: True if any stream uses a DynamicSchemaLoader, False otherwise.
619619 """
620- for stream_config in self ._stream_configs (self ._source_config ):
620+ empty_config : Dict [str , Any ] = {}
621+ for stream_config in self ._stream_configs (self ._source_config , empty_config ):
621622 schema_loader = stream_config .get ("schema_loader" , {})
622623 if (
623624 isinstance (schema_loader , dict )
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ def test_check(
136136 and not result .errors
137137 ):
138138 raise AssertionError (f"Expected error in `check` but got success." )
139+
139140 @classmethod
140141 def get_connector_root_dir (cls ) -> Path :
141142 """Get the root directory of the connector."""
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def test_fail_read_with_bad_catalog(
159159 # Recreate the scenario with the same config but set the status to "failed".
160160 scenario = ConnectorTestScenario (
161161 config_dict = scenario .get_config_dict (
162- connector_root = scenario . connector_root ,
162+ connector_root = self . get_connector_root_dir () ,
163163 empty_if_missing = False ,
164164 ),
165165 status = "failed" ,
You can’t perform that action at this time.
0 commit comments