mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: Enforce Mypy for non-tests (#15757)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -352,7 +352,7 @@ def _get_slice_data(
|
||||
|
||||
# Parse the csv file and generate HTML
|
||||
columns = rows.pop(0)
|
||||
with app.app_context(): # type: ignore
|
||||
with app.app_context():
|
||||
body = render_template(
|
||||
"superset/reports/slice_data.html",
|
||||
columns=columns,
|
||||
|
||||
Reference in New Issue
Block a user