Refer OPTUNA_STORAGE
environment variable in non-CLI functions
#4317
Labels
feature
Change that does not break compatibility, but affects the public interfaces.
needs-discussion
Issue/PR which needs discussion.
stale
Exempt from stale bot labeling.
Motivation
Although #4299 enabled to automatically load the environment variable of
OPTUNA_STORAGE
, this feature is limited to the CLI so far. This issue discusses providing theOPTUNA_STORAGE
variable also with non-CLI functions.Description
One of the simplest ways would be to add a logic to automatically load
OPTUNA_STORAGE
inget_storage
. However, there're some pros and cons as follows. We may want to carefully discuss them before the implementation.OPTUNA_STORAGE
may cause problems to the users, because it is rather a common variable name to make it a reserved word. Some users might already have used the name in their systems.Alternatives (optional)
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: