File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
airbyte_cdk/cli/source_declarative_manifest Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,12 @@ def _get_local_yaml_source(args: list[str]) -> SourceLocalYaml:
9595 try :
9696 parsed_args = AirbyteEntrypoint .parse_args (args )
9797 config , catalog , state = _parse_inputs_into_config_catalog_state (parsed_args )
98- return SourceLocalYaml (config = config , catalog = catalog , state = state )
98+ return SourceLocalYaml (
99+ config = config ,
100+ catalog = catalog ,
101+ state = state ,
102+ config_path = parsed_args .config if hasattr (parsed_args , "config" ) else None ,
103+ )
99104 except Exception as error :
100105 print (
101106 orjson .dumps (
@@ -204,6 +209,7 @@ def create_declarative_source(
204209 catalog = catalog ,
205210 state = state ,
206211 source_config = cast (dict [str , Any ], config ["__injected_declarative_manifest" ]),
212+ config_path = parsed_args .config if hasattr (parsed_args , "config" ) else None ,
207213 )
208214 except Exception as error :
209215 print (
You can’t perform that action at this time.
0 commit comments