Skip to content

Commit

Permalink
Update docs and fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata committed Nov 10, 2022
1 parent cd85d8d commit 014de63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/source/reference/storages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ The :mod:`~optuna.storages` module defines a :class:`~optuna.storages.BaseStorag
:nosignatures:

optuna.storages.RDBStorage
optuna.storages.RedisStorage
optuna.storages.RetryFailedTrialCallback
optuna.storages.fail_stale_trials
optuna.storages.JournalStorage
Expand Down
4 changes: 3 additions & 1 deletion optuna/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,9 @@ def take_action(self, parsed_args: Namespace) -> None:

storage_url = _check_storage_url(self.app_args.storage)
if storage_url.startswith("redis"):
self.logger.info("RedisStorage is removed at Optuna v3.1.0. Please use JournalRedisStorage instead.")
self.logger.info(
"RedisStorage is removed at Optuna v3.1.0. Please use JournalRedisStorage instead."
)
return
storage = RDBStorage(storage_url, skip_compatibility_check=True, skip_table_creation=True)
current_version = storage.get_current_version()
Expand Down

0 comments on commit 014de63

Please sign in to comment.