sanic_template/utils/other.py
def flat(data: List[Tuple]):
    """
    Removes unnecessary nesting from list.
    Ex: [(1,), {2,}, {3,}] return [1, 2, 3]
    """
    if not data:
        return data
    return [d for d, in data]

    Removes unnecessary nesting from list.
    Ex: [(1,), {2,}, {3,}] return [1, 2, 3]
    
Removes unnecessary nesting from list.
Removes unnecessary nesting from list .
def flat(data: List[Tuple]):
    if not data:
        return data
    return [d for d, in data]
def flat ( data : List [ Tuple ] ) : if not data : return data return [ d for d , in data ]
Removes unnecessary nesting from list.
Removes unnecessary nesting from list .
"""
    Removes unnecessary nesting from list.
    Ex: [(1,), {2,}, {3,}] return [1, 2, 3]
    """
data
List[Tuple]