From 8177da8a922489ec2577f176999b73aefd3e88ab Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 11 Jun 2025 14:32:43 +0100 Subject: [PATCH] lib360dataquality: Skip BeneficiaryButNotRecipientGeoData for grants ind Skip BeneficiaryButNotRecipientGeoData for grants to individuals as we don't have a recipient organisation to apply this to. --- lib360dataquality/cove/threesixtygiving.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib360dataquality/cove/threesixtygiving.py b/lib360dataquality/cove/threesixtygiving.py index ebda2e3..47b84e7 100644 --- a/lib360dataquality/cove/threesixtygiving.py +++ b/lib360dataquality/cove/threesixtygiving.py @@ -1876,6 +1876,9 @@ def __init__(self, **kwargs): self.relevant_grant_type = TestRelevance.RECIPIENT_ORGANISATION def process(self, grant, path_prefix): + if grant.get("recipientIndividual"): + return + beneficiary_locations = grant.get("beneficiaryLocation", []) if ( len(beneficiary_locations) > 0