Skip to content

Commit

Permalink
Tuple not list
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Sep 2, 2024
1 parent bc02bc9 commit 8400206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/util/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8400206

Please sign in to comment.