Nok Lam Chan
03/18/2024, 9:57 AM1. kedro new
(Select no tools and default pipeline)
2. Add a pattern, depending on how I name my pattern, the pattern is being used sometimes.
Details in 🧵Nok Lam Chan
03/18/2024, 9:58 AM"{catch_all}":
type: pickle.PickleDataset
filepath: data/06_models/{catch_all}.pickle
This would works fine and generate warning that I am overwriting the default datasetNok Lam Chan
03/18/2024, 9:59 AM"{nok}":
type: pickle.PickleDataset
filepath: data/06_models/{nok}.pickle
If I use this instead, there is no warning generated and it ignores my pattern completely. Cc @Ankita KatiyarAnkita Katiyar
03/18/2024, 10:01 AMAnkita Katiyar
03/18/2024, 10:14 AM"{default}"
pattern which comes from the runner insteadAnkita Katiyar
03/18/2024, 10:17 AMUnder the hood Kedro uses the pattern name "{default}" to generate the default datasets set in the runners. If you want to overwrite this pattern you should make sure you choose a name that comes before "default" in the alphabet for it to
https://docs.kedro.org/en/stable/data/kedro_dataset_factories.html#how-to-override-the-default-dataset-creation-with-dataset-factoriesAnkita Katiyar
03/18/2024, 10:21 AMNok Lam Chan
03/18/2024, 10:25 AMAnkita Katiyar
03/18/2024, 10:25 AMIñigo Hidalgo
03/18/2024, 11:06 AMonly patterns that start with a/b/cthat seems quite arcane to me as a user. is there a motivation for the third ranking step being alphabetical instead of just raising an error saying that the resolution is impossible?