in dagify/converter/utils.py [0:0]
def generate_table(title, columns, rows):
""" Function to generate Table with given title, column and row details """
table = PrettyTable()
table.title = title
# Column config
table.field_names = columns
for col in columns:
table.align[col] = "l"
# Row config
table.add_rows(rows)
return table