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:
@ -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("||"):
|
||||
|
Reference in New Issue
Block a user