Skip to content
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

Move run_extra_queries outsize of BaseViz init #4627

Merged
merged 1 commit into from
Mar 16, 2018

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Mar 16, 2018

run_extra_queries on viz init makes it such that it will run when crafting the dashboard bootstrap payload page which is bad

NOTE: I haven't had time to thoroughly test this. I'll update here as I do.

@codecov-io
Copy link

codecov-io commented Mar 16, 2018

Codecov Report

Merging #4627 into master will not change coverage.
The diff coverage is 60%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4627   +/-   ##
=======================================
  Coverage   71.17%   71.17%           
=======================================
  Files         189      189           
  Lines       14848    14848           
  Branches     1087     1087           
=======================================
  Hits        10568    10568           
  Misses       4277     4277           
  Partials        3        3
Impacted Files Coverage Δ
superset/viz.py 78.46% <60%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93ec76f...b906fec. Read the comment docs.

@michellethomas
Copy link
Contributor

This lgtm, I tested on a few dashboards that had slices with a time compare set. Thanks for the quick fix

@john-bodley john-bodley merged commit 6875868 into apache:master Mar 16, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
Move run_extra_queries outsize of BaseViz init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants