We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3226735 commit 3f9f640Copy full SHA for 3f9f640
1 file changed
pipelines/assets/fixtures.py
@@ -91,9 +91,11 @@ def validate_instances(
91
elif model_name == "Community":
92
instance["natural_key"] = instance["livelihood_zone_baseline"] + [instance["full_name"]]
93
elif model_name == "WealthGroup":
94
+ community = instance.get("community")
95
instance["natural_key"] = instance["livelihood_zone_baseline"] + [
96
instance["wealth_group_category"],
- instance["full_name"],
97
+ # use the actual community full_name rather than the BSS drived one
98
+ community[2] if community else "",
99
]
100
elif model_name == "LivelihoodStrategy":
101
0 commit comments