diff --git a/optuna_dashboard/_preferential_history.py b/optuna_dashboard/_preferential_history.py index 5c930932..f4660310 100644 --- a/optuna_dashboard/_preferential_history.py +++ b/optuna_dashboard/_preferential_history.py @@ -4,7 +4,6 @@ from dataclasses import dataclass from datetime import datetime import json from typing import Any -from typing import Literal from typing import TYPE_CHECKING import uuid @@ -17,6 +16,7 @@ _SYSTEM_ATTR_PREFIX_HISTORY = "preference:history" if TYPE_CHECKING: from typing import TypedDict + from typing import Literal NewHistoryJSON = TypedDict( "NewHistoryJSON",