You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OmegaConfigLoader does not ignores keys starting with '_'.
Because of this, there are some problems using yaml templates in the catalog.
Kedro tries to instantiate catalog entries starting with '_' so it is difficult to define partial entries because of missing parameters.
Context
I'm trying to use the OmegaConfigLoader with yaml templates in the catalog
Steps to Reproduce
Define OmegaConfigLoader as the config loader in the project settings
Create a partial yaml template in the catalog definition. ej:
The catalog tries to instantiate a dataset called '_spark_dataset' and fails because of a missing parameter.
kedro.io.core.DataSetError:
__init__() missing 1 required positional argument: 'filepath'.
DataSet '_spark_dataset' must only contain arguments valid for the constructor of 'kedro.extras.datasets.spark.spark_dataset.SparkDataSet'.
Your Environment
Kedro version: 0.18.6
Python version: 3.9.16
The text was updated successfully, but these errors were encountered:
However, the OmegaConfigLoader only support variable interpolation for parameters at the moment. We have an open issue to explore how to add templating to the catalog as well: #2175 but that isn't implemented for now.
Description
OmegaConfigLoader does not ignores keys starting with '_'.
Because of this, there are some problems using yaml templates in the catalog.
Kedro tries to instantiate catalog entries starting with '_' so it is difficult to define partial entries because of missing parameters.
Context
I'm trying to use the OmegaConfigLoader with yaml templates in the catalog
Steps to Reproduce
Expected Result
The catalog should have one entry called 'test_table'.
Actual Result
The catalog tries to instantiate a dataset called '_spark_dataset' and fails because of a missing parameter.
Your Environment
The text was updated successfully, but these errors were encountered: