Skip to content

Commit 95ad1ee

Browse files
committed
fix typing
1 parent 3174687 commit 95ad1ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/panel_precision_slider/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Any
2+
13
import panel as pn
24
import param
35

@@ -28,7 +30,7 @@ class PrecisionSlider(pn.custom.PyComponent):
2830
doc="Flag to toggle between the slider and input field.",
2931
)
3032

31-
def __init__(self, **params):
33+
def __init__(self, **params: dict[str, Any]) -> None:
3234
"""
3335
Initializes the PrecisionSlider component with the given parameters.
3436

0 commit comments

Comments
 (0)