1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-06-09 10:25:36 +02:00

csv_metadata_quality/check.py: enable requests-cache

This was disabled at some point. We also need to use the new delete
method instead.
This commit is contained in:
2023-10-15 23:21:26 +03:00
parent 93c9b739ac
commit b8dc19cc3f

View File

@ -214,7 +214,7 @@ def agrovoc(field, field_name, drop):
) )
# prune old cache entries # prune old cache entries
# requests_cache.remove_expired_responses() requests_cache.delete()
# Initialize an empty list to hold the validated AGROVOC values # Initialize an empty list to hold the validated AGROVOC values
values = list() values = list()