chore: improve type-safety

This commit is contained in:
Matthias
2026-02-08 13:19:13 +01:00
parent 570bfef4b3
commit ac6b396ed3

View File

@@ -557,7 +557,7 @@ class __DecimalParameter(__RealParameter):
class __BooleanParameter(__StrategyParameter):
param_type: Literal["BooleanParameter"]
value: Any
opt_range: list[Any]
opt_range: list[bool]
class __CategoricalParameter(__StrategyParameter):