I am new to kedro and airflow. I am trying to deploy a kedro pipeline in airflow by using docker. But while executing my DAG I get this error:
2022-01-27 16:17:19,659 - airflow.task - ERROR - Task failed with exception
Traceback (most recent call last):
self._prepare_and_execute_task_with_callbacks(context, task)
File "/usr/local/lib/python3.7/site-packages/airflow/models/taskinstance.py", line 1286, in _prepare_and_execute_task_with_callbacks
result = self._execute_task(context, task_copy)
File "/usr/local/lib/python3.7/site-packages/airflow/models/taskinstance.py", line 1316, in _execute_task
result = task_copy.execute(context=context)
File "/usr/local/airflow/dags/adag.py", line 39, in execute
session.run(self.pipeline_name, node_names=[self.node_name])
File "/home/astro/.local/lib/python3.7/site-packages/kedro/framework/session/session.py", line 410, in run
run_params=record_data, pipeline=filtered_pipeline, catalog=catalog
File "/usr/local/lib/python3.7/site-packages/pluggy/hooks.py", line 286, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/usr/local/lib/python3.7/site-packages/pluggy/manager.py", line 93, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/usr/local/lib/python3.7/site-packages/pluggy/manager.py", line 87, in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
File "/usr/local/lib/python3.7/site-packages/pluggy/callers.py", line 208, in _multicall
return outcome.get_result()
File "/usr/local/lib/python3.7/site-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/usr/local/lib/python3.7/site-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.7/site-packages/kedro_mlflow/framework/hooks/pipeline_hook.py", line 108, in before_pipeline_run
self._is_mlflow_enabled = _assert_mlflow_enabled(run_params["pipeline_name"])
File "/usr/local/lib/python3.7/site-packages/kedro_mlflow/framework/hooks/utils.py", line 8, in _assert_mlflow_enabled
mlflow_config = get_mlflow_config()
File "/usr/local/lib/python3.7/site-packages/kedro_mlflow/config/kedro_mlflow_config.py", line 228, in get_mlflow_config
mlflow_config = KedroMlflowConfig.parse_obj(conf_mlflow_yml)
File "pydantic/main.py", line 511, in pydantic.main.BaseModel.parse_obj
File "/usr/local/lib/python3.7/site-packages/kedro_mlflow/config/kedro_mlflow_config.py", line 106, in __init__
super().__init__(**kwargs)
File "pydantic/main.py", line 331, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for KedroMlflowConfig
hooks
extra fields not permitted (type=value_error.extra)
Please help me in understanding and resolving this issue.