From b8dc19cc3f8c6eb50e593373b2246fd1f8d0986d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 15 Oct 2023 23:21:26 +0300 Subject: [PATCH] csv_metadata_quality/check.py: enable requests-cache This was disabled at some point. We also need to use the new delete method instead. --- csv_metadata_quality/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv_metadata_quality/check.py b/csv_metadata_quality/check.py index bb90cde..350d9b0 100755 --- a/csv_metadata_quality/check.py +++ b/csv_metadata_quality/check.py @@ -214,7 +214,7 @@ def agrovoc(field, field_name, drop): ) # prune old cache entries - # requests_cache.remove_expired_responses() + requests_cache.delete() # Initialize an empty list to hold the validated AGROVOC values values = list()