chore: improve type-safety
This commit is contained in:
@@ -557,7 +557,7 @@ class __DecimalParameter(__RealParameter):
|
|||||||
class __BooleanParameter(__StrategyParameter):
|
class __BooleanParameter(__StrategyParameter):
|
||||||
param_type: Literal["BooleanParameter"]
|
param_type: Literal["BooleanParameter"]
|
||||||
value: Any
|
value: Any
|
||||||
opt_range: list[Any]
|
opt_range: list[bool]
|
||||||
|
|
||||||
|
|
||||||
class __CategoricalParameter(__StrategyParameter):
|
class __CategoricalParameter(__StrategyParameter):
|
||||||
|
|||||||
Reference in New Issue
Block a user