(self, key)
return val
Make sure value is a list.

        Args:
            key: key in dict

        Returns:
            Value for the key in the dict as a list
Make sure value is a list.
Make sure value is a list .
def getlist(self, key):
        """Make sure value is a list.

        Args:
            key: key in dict

        Returns:
            Value for the key in the dict as a list
        """
        val = self[key]
        if not isinstance(val, list):
            val = [val]
        return val
def getlist ( self , key ) : val = self [ key ] if not isinstance ( val , list ) : val = [ val ] return val