vedo
vedo copied to clipboard
Ability to allocate a tmp folder for files to download to
AWS lambda functions have only /tmp with read-write access. It'd be good to be able to set an env variable called VEDO_CACHE_DIR or similar to allow the user to set where the files should be downloaded to.
That is already implemented in settings.py
import vedo
vedo.settings.cache_directory = "mypath"
I'd like to do this from an environment variable. This doesn't allow for declaring it before the module is running
Hi @JeffreyWardman
I just added an env variable VEDO_CACHE_DIR that you can set to control for that.
Also a method vedo.settings.clear_cache().