From b242fd8cd9a32c235e3b6dc2aeddb0bfc77aa944 Mon Sep 17 00:00:00 2001 From: moririn2528 Date: Wed, 30 Aug 2023 16:03:47 +0900 Subject: [PATCH] fix by lint --- optuna_dashboard/_preferential_history.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/optuna_dashboard/_preferential_history.py b/optuna_dashboard/_preferential_history.py index f5f14808..8e60757b 100644 --- a/optuna_dashboard/_preferential_history.py +++ b/optuna_dashboard/_preferential_history.py @@ -3,7 +3,6 @@ from __future__ import annotations from datetime import datetime import json from typing import TYPE_CHECKING -from typing import TypedDict import uuid from optuna.storages import BaseStorage @@ -14,6 +13,8 @@ from .preferential._system_attrs import report_preferences _SYSTEM_ATTR_PREFIX_HISTORY = "preference:history" if TYPE_CHECKING: + from typing import TypedDict + Choice = TypedDict( "Choice", {