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

Update requests-cache

Apparently we were stuck on an older version of requests-cache due
to the fact that we were using the caret, which will never update
the left-most (major) version. Upstream requests-cache is currently
version 0.6.4, and there seems to have been some changes to the API.
This commit is contained in:
2021-07-06 15:24:39 +03:00
parent 55165cb4ce
commit 4e2eab68b0
2 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ def agrovoc(field, field_name):
)
# prune old cache entries
requests_cache.core.remove_expired_responses()
requests_cache.remove_expired_responses()
# Try to split multi-value field on "||" separator
for value in field.split("||"):