From 410e27c5790fccd2d44d2ead16812a0cfb358bd5 Mon Sep 17 00:00:00 2001 From: Masahiro Sakai Date: Sun, 6 Nov 2022 15:13:34 +0900 Subject: [PATCH] fix a mypy error --- optuna_dashboard/_cached_extra_study_property.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/_cached_extra_study_property.py b/optuna_dashboard/_cached_extra_study_property.py index 0046336c..2ff86901 100644 --- a/optuna_dashboard/_cached_extra_study_property.py +++ b/optuna_dashboard/_cached_extra_study_property.py @@ -62,7 +62,7 @@ class _CachedExtraStudyProperty: return union @property - def union_user_attrs(self) -> Set[Tuple[str, Any]]: + def union_user_attrs(self) -> List[Tuple[str, Any]]: union = list(self._union_user_attrs) union.sort(key=lambda x: x[0]) return union