def add_number_parameters(self, number):
        """Add given number parameters to the internal list.

        Args:
            number (list of int or list of float): A number or list of numbers to add to the parameters.
        """
        if isinstance(number, list):
            for x in number:
                self.add_number_parameters(x)
            return
        self._parameters.append("{ \"value\": " + str(number) + " }")
def add_number_parameters ( self , number ) : if isinstance ( number , list ) : for x in number : self . add_number_parameters ( x ) return self . _parameters . append ( "{ \"value\": " + str ( number ) + " }" )
Add given number parameters to the internal list.

        Args:
            number (list of int or list of float): A number or list of numbers to add to the parameters.