if len(keys) == 1 and isinstance(keys[0], self.LIST_TYPES):
            keys = list(keys[0])