mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Use config[] not config.get() (#8454)
* Typo fix in CONTRIBUTING.md
* Alter references to config.get('FOO') to use preferred config['FOO']
* Set missing configuration constants in superset/config.py
* Misc. CI fixes
* Add type annotation for FEATURE_FLATGS
This commit is contained in:
committed by
Maxime Beauchemin
parent
3cba1bd990
commit
e4ca44e95f
@@ -30,7 +30,7 @@ from superset.models import core as models
|
||||
from superset.models.core import Database
|
||||
from superset.utils.core import get_example_database
|
||||
|
||||
BASE_DIR = app.config.get("BASE_DIR")
|
||||
BASE_DIR = app.config["BASE_DIR"]
|
||||
|
||||
|
||||
class SupersetTestCase(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user