def get_table_info(metadata, table_name, out_template):
    if not table_name in metadata.tables:
        return
    tbl = metadata.tables[table_name]
    for row in tbl.columns:
        rec = (table_name, row.name, str(row.type))
        print out_template.format(*rec)
Report the column names and types for a given database table
dataset/ETHPy150Open arq5x/gemini/gemini/gemini_dbinfo.py/get_table_info