code: def _FromSpecs(self, specs):
          
  
          if isinstance(specs, dict):
              specs_ = []
              for name, value in specs.items():
                  specs_.append((name, {"value": value}))
          else:
              specs_ = specs
          for spec in specs_:
              self.params.append(Parameter(spec))
docs: Populates _params using specification
  
          Arguments:
            specs -- either:
              (a) list as [(name, {...}), ...] (see Parameter.FromSpec() for further information)
              (b) dictionary as {"name": value, ...}