Actions
Story #21020
openSupport XDG base directory envvars throughout the Python SDK
Start date:
Due date:
% Done:
0%
Estimated time:
Story points:
-
Description
We should support XDG Base Directory environment variables throughout the Python SDK. Things like XDG_CONFIG_PATH
and XDG_CACHE_HOME
. Note that this includes validations like ensuring the paths are absolute. There are probably packages on PyPI that can help us with this.
Known specific instances:
arvados.config.initialize
should default toconfig_file=None
. When the value isNone
, the function should searchXDG_CONFIG_PATH
to findarvados/settings.conf
.arvados.api.http_cache
should create and write to to$XDG_CACHE_HOME/arvados/SUBDIR
.
No data to display
Actions