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
Avoid circular dependency between superset config and superset package #8254
Avoid circular dependency between superset config and superset package #8254
Conversation
4c727fc
to
aa14dd3
Compare
I would rename A nice to have could be to import |
d05bb9d
to
9dfb3dd
Compare
Codecov Report
@@ Coverage Diff @@
## master #8254 +/- ##
==========================================
- Coverage 65.91% 65.78% -0.13%
==========================================
Files 482 483 +1
Lines 24157 24311 +154
Branches 2770 2771 +1
==========================================
+ Hits 15922 15992 +70
- Misses 8057 8141 +84
Partials 178 178
Continue to review full report at Codecov.
|
@dpgaspar did you mean import |
Yep, just edited my previous reply |
@dpgaspar done |
superset/config.py
Outdated
@@ -61,6 +61,9 @@ def _try_json_readfile(filepath): | |||
return None | |||
|
|||
|
|||
STATS_LOGGER = StatsdStatsLogger |
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.
This is not needed right?
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.
ooops, it's not
a35c118
to
c591ee0
Compare
c591ee0
to
7bec333
Compare
7bec333
to
8196da9
Compare
bdf4e0f
to
f731eae
Compare
Resolve comments Avoid circular dependency between superset config and superset package Resolve comments
f731eae
to
16bfea7
Compare
CATEGORY
Choose one
SUMMARY
Small refactor to avoid circular dependency between superset config and superset package.
Current code doesn't support adding custom security manager as importing SupersetSecurityManager calls init.py that initializes the config.
TEST PLAN
REVIEWERS