How to make flask stream output line by line? [duplicate]

Solution
yield f"{','.join(row)}\n"  # <=== Newline at the end!