-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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: import superset_config #15444
fix: import superset_config #15444
Conversation
0e92fe8
to
fbbbe1d
Compare
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #15444 +/- ##
==========================================
- Coverage 77.21% 76.98% -0.24%
==========================================
Files 975 975
Lines 50662 50668 +6
Branches 6228 6228
==========================================
- Hits 39120 39005 -115
- Misses 11331 11452 +121
Partials 211 211
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
(cherry picked from commit 83be06d)
* fix: import superset_config * make module name constant
* fix: import superset_config * make module name constant
* fix: import superset_config * make module name constant
SUMMARY
A recent PR #15405 replaced the use of the deprecated
imp.load_source
withimportlib.load_module
, which caused the following error on some deployments:A similar change was done on Airflow last year: apache/airflow#7099 , which is based on the official documentation found here: https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION