Add configurable requests cache directory

As I expected, on Google App Engine we can't write the cache file
to the current working directory. I modified csv-metadata-quality
CLI to check for the REQUESTS_CACHE_DIR environment variable so we
don't really have to do anything different other than setting the
variable.
This commit is contained in:
2021-03-14 10:06:39 +02:00
parent e7dd8d1421
commit 4e52d1bcc9
3 changed files with 13 additions and 3 deletions

4
poetry.lock generated
View File

@ -107,8 +107,8 @@ xlrd = "^1.2.0"
[package.source]
type = "git"
url = "https://github.com/ilri/csv-metadata-quality.git"
reference = "1008acf35e2753d9194755dd186c5428a0c520e6"
resolved_reference = "1008acf35e2753d9194755dd186c5428a0c520e6"
reference = "0e9176f0a6f694e85d38bf15c6b80708402bfa8b"
resolved_reference = "0e9176f0a6f694e85d38bf15c6b80708402bfa8b"
[[package]]
name = "decorator"