@@ -987,7 +987,7 @@ def getSolutions(self, varList=None, resultfile=None): # 12
987987
988988 @staticmethod
989989 def _prepare_input_data (
990- raw_input : str | list [str ] | dict [str , str | int | float ],
990+ raw_input : str | list [str ] | dict [str , Any ],
991991 ) -> dict [str , str ]:
992992 """
993993 Convert raw input to a structured dictionary {'key1': 'value1', 'key2': 'value2'}.
@@ -1097,7 +1097,7 @@ def isParameterChangeable(
10971097 return False
10981098 return True
10991099
1100- def setContinuous (self , cvals : str | list [str ] | dict [str , str | int | float ]) -> bool :
1100+ def setContinuous (self , cvals : str | list [str ] | dict [str , Any ]) -> bool :
11011101 """
11021102 This method is used to set continuous values. It can be called:
11031103 with a sequence of continuous name and assigning corresponding values as arguments as show in the example below:
@@ -1114,7 +1114,7 @@ def setContinuous(self, cvals: str | list[str] | dict[str, str | int | float]) -
11141114 datatype = "continuous" ,
11151115 overwritedata = self .overridevariables )
11161116
1117- def setParameters (self , pvals : str | list [str ] | dict [str , str | int | float ]) -> bool :
1117+ def setParameters (self , pvals : str | list [str ] | dict [str , Any ]) -> bool :
11181118 """
11191119 This method is used to set parameter values. It can be called:
11201120 with a sequence of parameter name and assigning corresponding value as arguments as show in the example below:
@@ -1131,7 +1131,7 @@ def setParameters(self, pvals: str | list[str] | dict[str, str | int | float]) -
11311131 datatype = "parameter" ,
11321132 overwritedata = self .overridevariables )
11331133
1134- def setSimulationOptions (self , simOptions : str | list [str ] | dict [str , str | int | float ]) -> bool :
1134+ def setSimulationOptions (self , simOptions : str | list [str ] | dict [str , Any ]) -> bool :
11351135 """
11361136 This method is used to set simulation options. It can be called:
11371137 with a sequence of simulation options name and assigning corresponding values as arguments as show in the example below:
@@ -1148,7 +1148,7 @@ def setSimulationOptions(self, simOptions: str | list[str] | dict[str, str | int
11481148 datatype = "simulation-option" ,
11491149 overwritedata = self .simoptionsoverride )
11501150
1151- def setLinearizationOptions (self , linearizationOptions : str | list [str ] | dict [str , str | int | float ]) -> bool :
1151+ def setLinearizationOptions (self , linearizationOptions : str | list [str ] | dict [str , Any ]) -> bool :
11521152 """
11531153 This method is used to set linearization options. It can be called:
11541154 with a sequence of linearization options name and assigning corresponding value as arguments as show in the example below
@@ -1165,7 +1165,7 @@ def setLinearizationOptions(self, linearizationOptions: str | list[str] | dict[s
11651165 datatype = "Linearization-option" ,
11661166 overwritedata = None )
11671167
1168- def setOptimizationOptions (self , optimizationOptions : str | list [str ] | dict [str , str | int | float ]) -> bool :
1168+ def setOptimizationOptions (self , optimizationOptions : str | list [str ] | dict [str , Any ]) -> bool :
11691169 """
11701170 This method is used to set optimization options. It can be called:
11711171 with a sequence of optimization options name and assigning corresponding values as arguments as show in the example below:
@@ -1182,7 +1182,7 @@ def setOptimizationOptions(self, optimizationOptions: str | list[str] | dict[str
11821182 datatype = "optimization-option" ,
11831183 overwritedata = None )
11841184
1185- def setInputs (self , name : str | list [str ] | dict [str , str | int | float ]) -> bool :
1185+ def setInputs (self , name : str | list [str ] | dict [str , Any ]) -> bool :
11861186 """
11871187 This method is used to set input values. It can be called:
11881188 with a sequence of input name and assigning corresponding values as arguments as show in the example below:
0 commit comments