def expand(self):
        values = self._value if self._value else \
            ([self.default] if self.default is not None else [])
        if not values:
            return []
        vs = []
        # expand any sub options
        for v in values:
            if isinstance(v, Option):
                vs.extend([v] * len(v))
            else:
                vs.append(v)
        return vs
Returns the raw values of the list but expanded to contain
dataset/ETHPy150Open thasso/pyjip/jip/options.py/Option.expand