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 @@ -97,7 +97,12 @@ def _get_local_yaml_source(args: list[str]) -> SourceLocalYaml:
97
97
try :
98
98
parsed_args = AirbyteEntrypoint .parse_args (args )
99
99
config , catalog , state = _parse_inputs_into_config_catalog_state (parsed_args )
100
- return SourceLocalYaml (config = config , catalog = catalog , state = state )
100
+ return SourceLocalYaml (
101
+ config = config ,
102
+ catalog = catalog ,
103
+ state = state ,
104
+ config_path = parsed_args .config if hasattr (parsed_args , "config" ) else None ,
105
+ )
101
106
except Exception as error :
102
107
print (
103
108
orjson .dumps (
@@ -206,6 +211,7 @@ def create_declarative_source(
206
211
catalog = catalog ,
207
212
state = state ,
208
213
source_config = cast (dict [str , Any ], config ["__injected_declarative_manifest" ]),
214
+ config_path = parsed_args .config if hasattr (parsed_args , "config" ) else None ,
209
215
)
210
216
except Exception as error :
211
217
print (
You can’t perform that action at this time.
0 commit comments