or (type(self.params[param_name]) is list)):
params[param_name] = deepcopy(self.params[param_name])
else:
if "choice" in self.params[param_name].keys():
params_for_search[param_name] = list(self.params[param_name]["values"])
else:
params_for_search[param_name] = deepcopy(self.params[param_name])
After Change
or (type(self.params[param_name]) is list)):
params[param_name] = deepcopy(self.params[param_name])
else:
if self.params[param_name].get("choice"):
params_for_search[param_name] = list(self.params[param_name]["values"])
else:
params_for_search[param_name] = deepcopy(self.params[param_name])