Skip to content

Commit 07695c9

Browse files
ekzhanggongy
authored andcommitted
Update flask_streaming.py to use .local() (#464)
1 parent 5ebe06e commit 07695c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

07_web_endpoints/flask_streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def flask_app():
3535
@web_app.route("/")
3636
def generate_large_csv():
3737
# Run the function locally in the web app's container.
38-
return generate_rows(), {"Content-Type": "text/csv"}
38+
return generate_rows.local(), {"Content-Type": "text/csv"}
3939

4040
@web_app.route("/remote")
4141
def generate_large_csv_in_container():

0 commit comments

Comments
 (0)