From 84002060bbcb066340ef165fba10583a0896d61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Mon, 2 Sep 2024 08:02:18 +0200 Subject: [PATCH] Tuple not list --- panel/util/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/util/checks.py b/panel/util/checks.py index 0ce69bb6d4..9d92aacbdb 100644 --- a/panel/util/checks.py +++ b/panel/util/checks.py @@ -107,7 +107,7 @@ def isdatetime(value) -> bool: Whether the array or scalar is recognized datetime type. """ import numpy as np - all_datetimes = list(datetime_types()) + all_datetimes = tuple(datetime_types()) if is_series(value) and len(value): return isinstance(value.iloc[0], all_datetimes)