Mathilde Lavacquery
12/12/2022, 2:54 PMdef register_pipeline():
countries = ["a", "b"]
brands = ["1", "2", "3"]
return {
"preprocess_macro": preprocess_macro_pipeline(countries=countries),
"preprocess_brand": preprocess_brand_pipeline(countries=countries, brands=brands),
"train_model": train_model_pipeline(countries=countries, brands=brands),
}
and my catalog looks like that:
{% for country in ["a", "b"] %}
{% for brand in ["1", "2", "3"] %}
{{ country }}.pre_master_macro:
...
{{ country }}.{{ brand }}.master:
...
{{ country }}.{{ brand }}.model:
...
Would there be a way to single pass countries / brands in both ?
The usecase is that we are developing a generic pipeline that can be replicated in different regions / for different brands according to the clientdatajoely
12/12/2022, 3:01 PMIan Whalen
12/12/2022, 3:12 PMMathilde Lavacquery
12/12/2022, 3:36 PM