Kacper Leśniara
07/15/2024, 2:29 PM"{name}_feature":
type: pandas.ParquetDataset
filepath: data/04_feature/{name}_feature.parquet
metadata:
pandera:
schema: ${pa.python:my_kedro_project.pipelines.feature_preprocessing.schemas.{name}_feature_schema}
The above gives me this:
omegaconf.errors.GrammarParseError: mismatched input '{' expecting BRACE_CLOSE
full_key: {name}_feature.metadata.pandera.schema
object_type=dict
datajoely
07/15/2024, 2:33 PMAnkita Katiyar
07/15/2024, 2:34 PMOmegaConfigLoader
before the dataset factory values are filled in by the DataCatalog
so this probably isn’t possiblemarrrcin
07/15/2024, 2:59 PM"{name}_feature":
type: pandas.ParquetDataset
filepath: data/04_feature/{name}_feature.parquet
metadata:
schema_name: {name}
pandera:
schema: ${custom_resolver:${..schema_name}}
I'm wondering whether this kind of hack would work 🤔Ankita Katiyar
07/15/2024, 3:02 PM"{name}"
datajoely
07/15/2024, 3:02 PMdatajoely
07/15/2024, 3:02 PMdatajoely
07/15/2024, 3:02 PMmarrrcin
07/15/2024, 3:10 PMKacper Leśniara
07/16/2024, 8:48 AMdatajoely
07/16/2024, 9:06 AMafter_catalog_updated
hook to mutate / replace the datasets dynamicallyKacper Leśniara
07/16/2024, 9:07 AMdatajoely
07/16/2024, 9:07 AMdatajoely
07/16/2024, 9:07 AMKacper Leśniara
07/16/2024, 9:09 AMMiguel Rodríguez
09/13/2024, 7:56 PMKacper Leśniara
09/16/2024, 8:14 AMNicolas P
09/18/2024, 2:56 PM"contents_{content_id}_data#json":
type: kedro_datasets.json.json_dataset.JSONDataset
versioned: True
filepath: data/bronze/contents/${content_mapping:{content_id}}.json
but got the same error 😞Miguel Rodríguez
09/18/2024, 3:44 PMdatajoely
09/18/2024, 3:45 PMdatajoely
09/18/2024, 3:45 PMMiguel Rodríguez
09/18/2024, 9:49 PM