(data, column_names: Iterable[str])
return table_from_rows(
        rows=rows,
        column_names=column_names,
        text_only_columns=text_only_columns
    )
Convert a list of dictionaries into an Agate table. This method does not
    coerce string values into more specific types (eg. '005' will not be
    coerced to '5'). Additionally, this method does not coerce values to
    None (eg. '' or 'null' will retain their string literal representations).
Convert a list of dictionaries into an Agate table. This method does not
    coerce string values into more specific types (eg. '005' will not be
    coerced to '5'). Additionally, this method does not coerce values to
    None (eg. '' or 'null' will retain their string literal representations).
Convert a list of dictionaries into an Agate table . This method does not coerce string values into more specific types ( eg . 005 will not be coerced to 5 ) . Additionally this method does not coerce values to None ( eg . or null will retain their string literal representations ) .
def table_from_data_flat(data, column_names: Iterable[str]) -> agate.Table:
    """
    Convert a list of dictionaries into an Agate table. This method does not
    coerce string values into more specific types (eg. '005' will not be
    coerced to '5'). Additionally, this method does not coerce values to
    None (eg. '' or 'null' will retain their string literal representations).
    """

    rows = []
    text_only_columns = set()
    for _row in data:
        row = []
        for col_name in column_names:
            value = _row[col_name]
            if isinstance(value, (dict, list, tuple)):
                # Represent container types as json strings
                value = json.dumps(value, cls=dbt.utils.JSONEncoder)
                text_only_columns.add(col_name)
            elif isinstance(value, str):
                text_only_columns.add(col_name)
            row.append(value)

        rows.append(row)

    return table_from_rows(
        rows=rows,
        column_names=column_names,
        text_only_columns=text_only_columns
    )
def table_from_data_flat ( data , column_names : Iterable [ str ] ) -> agate . Table : rows = [ ] text_only_columns = set ( ) for _row in data : row = [ ] for col_name in column_names : value = _row [ col_name ] if isinstance ( value , ( dict , list , tuple ) ) : # Represent container types as json strings value = json . dumps ( value , cls = dbt . utils . JSONEncoder ) text_only_columns . add ( col_name ) elif isinstance ( value , str ) : text_only_columns . add ( col_name ) row . append ( value ) rows . append ( row ) return table_from_rows ( rows = rows , column_names = column_names , text_only_columns = text_only_columns )