Skip to content

Commit 9c9b0da

Browse files
committed
chore: slim type
1 parent a34e936 commit 9c9b0da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shiny/ui/_theme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def path_pkg_preset(preset: ShinyThemePreset, *args: str) -> str:
605605
return pathlib.Path(path).as_posix()
606606

607607

608-
def check_is_valid_preset(preset: str | None) -> ShinyThemePreset:
608+
def check_is_valid_preset(preset: str) -> ShinyThemePreset:
609609
if preset not in shiny_theme_presets:
610610
raise ValueError(
611611
f"Invalid preset '{preset}'.\n"

0 commit comments

Comments
 (0)