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
[charts] New, REST API #8917
[charts] New, REST API #8917
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8917 +/- ##
==========================================
+ Coverage 58.97% 59.15% +0.17%
==========================================
Files 359 367 +8
Lines 11333 11681 +348
Branches 2787 2863 +76
==========================================
+ Hits 6684 6910 +226
- Misses 4471 4592 +121
- Partials 178 179 +1
Continue to review full report at Codecov.
|
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.
A few comments on first pass
superset/views/core.py
Outdated
from .chart import views as chart_views | ||
from .dashboard import views as dash_views | ||
from .dashboard.filters import DashboardFilter | ||
from .database import views as in_views | ||
from .utils import ( |
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.
Same here regarding absolute vs relative imports.
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.
Will make a separate PR to address all relative imports on views (non charts related)
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.
A couple of thoughts for you :)
# Conflicts: # superset/views/core.py # superset/views/dashboard/api.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.
One nit, otherwise LGTM
CATEGORY
Choose one
SUMMARY
New charts REST API.
Model
s that implement a owners field and security.ADDITIONAL INFORMATION
REVIEWERS