From d337e7249b8023660a888d24ca705e19289c8d4b Mon Sep 17 00:00:00 2001 From: julianforeman Date: Tue, 20 Aug 2024 16:28:23 -0700 Subject: [PATCH] Temporarily disabling the location_checker function to test for timeout errors --- django/api/constants/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/api/constants/constants.py b/django/api/constants/constants.py index 51357409..f5213aae 100644 --- a/django/api/constants/constants.py +++ b/django/api/constants/constants.py @@ -680,7 +680,7 @@ class GoElectricRebatesColumnMapping(Enum): "validation_functions": [ {"function": validate_phone_numbers, "columns": ["Phone Number"], "kwargs": {"indices_offset": 2}}, {"function": typo_checker, "columns": ["Applicant Name"], "kwargs": {"cutoff": 0.8, "indices_offset": 2}}, - {"function": location_checker, "columns": ["City"], "kwargs": {"indices_offset":2}}, + # {"function": location_checker, "columns": ["City"], "kwargs": {"indices_offset":2}}, {"function": email_validator, "columns": ["Email"], "kwargs": {"indices_offset":2, "get_resolver": get_google_resolver}}, {"function": validate_field_values, "columns": [], "kwargs": {"indices_offset":2, "fields_and_values": GER_VALID_FIELD_VALUES}}, ]