New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: dashboard endpoint sig changed #10220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix, and apologies for the regression.
Can we add a unit test to avoid future regressions? |
# Conflicts: # superset/utils/screenshots.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! It seems slightly brittle to accept any kwarg
, as linters aren't able to pick up on which are valid and which aren't. Perhaps out of scope for this PR, but to avoid future regressions, perhaps we should have named arguments for the valid ones, and those then get pushed into a dict that is fed to url_for(**kwargs)
in get_url_for_path
.
Good point, I'll merge this and make a subsequent PR |
* fix(thumbnails): dashboard endpoint sig changed * fix, flask get url for Superset.dashboard * add simple test
SUMMARY
/superset/dashboard/<id>
Flask endpoint signature changed on #9939.ADDITIONAL INFORMATION