def _convert_to_array_of_opt_val(optvals):
 array_of_optv = DataObject()
 array_of_optv.OptionValue = optvals
 return array_of_optv

def _convert_to_array_of_opt_val ( optvals ) : array_of_optv = DataObject ( ) array_of_optv . OptionValue = optvals return array_of_optv
wraps the given array into a dataobject .