1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-22 05:45:02 +01: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:
Alan Orth 2023-10-15 23:21:26 +03:00
parent 93c9b739ac
commit b8dc19cc3f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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()