mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-03 12:41:13 +08:00
fix by review
This commit is contained in:
1 parent
a48f04d6ed
commit
4f9c7df341
2 files changed
+3
-6
No files matched your search
@@ -3,7 +3,6 @@ from __future__ import annotations
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
import json
|
||||
from typing import Any
|
||||
from typing import TYPE_CHECKING
|
||||
import uuid
|
||||
|
||||
@@ -31,9 +30,6 @@ if TYPE_CHECKING:
|
||||
},
|
||||
)
|
||||
History = ChooseWorstHistory
|
||||
else:
|
||||
ChooseWorstHistory = Any
|
||||
History = Any
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
@@ -16,8 +16,6 @@ from . import _note as note
|
||||
from ._form_widget import get_form_widgets_json
|
||||
from ._named_objectives import get_objective_names
|
||||
from ._preferential_history import _SYSTEM_ATTR_PREFIX_HISTORY
|
||||
from ._preferential_history import ChooseWorstHistory
|
||||
from ._preferential_history import History
|
||||
from .artifact._backend import list_trial_artifacts
|
||||
from .preferential._study import _SYSTEM_ATTR_PREFERENTIAL_STUDY
|
||||
|
||||
@@ -26,6 +24,9 @@ if TYPE_CHECKING:
|
||||
from typing import Literal
|
||||
from typing import TypedDict
|
||||
|
||||
from ._preferential_history import ChooseWorstHistory
|
||||
from ._preferential_history import History
|
||||
|
||||
Attribute = TypedDict(
|
||||
"Attribute",
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user