@jbeezley I think it's recommended not to use list comprehensions purely for iteration over an existing list. Prefer

    for key in self.flatten:
        self.flat(meta, key)