Referencing local variable response before initialiazing in get_chart_csv_data error handling #20262
Closed
3 tasks done
Labels
#bug
Bug report
In this line, it is trying to access
response
before it is initialized ifauth_cookies
is false. Will send a PR after creating this issue.How to reproduce the bug
Failed generating csv local variable 'response' referenced before assignment
.Expected results
If running with unauthorized user name, it should just fails to retrieve data.
Actual results
It fails with error message
Failed generating csv local variable 'response' referenced before assignment
Screenshots
N/A
Environment
(please complete the following information):
superset version
latestpython --version
3.9node -v
N/AChecklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: