mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-10 12:23:22 +08:00
Fix a mypy error
This commit is contained in:
@@ -164,6 +164,7 @@ async def take_screenshots(storage: optuna.storages.BaseStorage) -> None:
|
||||
|
||||
def main() -> None:
|
||||
os.makedirs(args.output_dir, exist_ok=True)
|
||||
storage: optuna.storages.BaseStorage
|
||||
if args.storage:
|
||||
storage = optuna.storages.RDBStorage(args.storage)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user