class_docstr: Discrete randomly sampled hyperparameter object.
class_docstr_tok: ["Discrete","randomly","sampled","hyperparameter","object","."]
docstr: Return a list of all the valid values of the Parameter.
  
  :return: list of dicts {name: value}
docstr_tok: ["Return","a","list","of","all","the","valid","values","of","the","Parameter",".",":","return",":","list","of","dicts","{","name",":","value","}"]
code: def to_list(self):
      # type: () -> Sequence[Mapping[str, Any]]
      """
      Return a list of all the valid values of the Parameter.
  
      :return: list of dicts {name: value}
      """
      return [{self.name: v} for v in self.values]
  
imports: import sys
  from itertools import product
  from random import Random
  from typing import Mapping, Any, Sequence, Optional, Union
label_desc: Use image node_id 3 for calling the DiscreteParameterRange obj's underlying member method code with example usage: obj.to_list() and returns: unknown