Populates _params using specification

        Arguments:
          specs -- either:
            (a) list as [(name, {...}), ...] (see Parameter.FromSpec() for further information)
            (b) dictionary as {"name": value, ...}

def _FromSpecs(self, specs):
        """
        Populates _params using specification

        Arguments:
          specs -- either:
            (a) list as [(name, {...}), ...] (see Parameter.FromSpec() for further information)
            (b) dictionary as {"name": value, ...}
        """

        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))