mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
chore move calling configure_feature_flags more earlier (#15223)
Co-authored-by: Ofeknielsen <ofek.israel@nieslen.com>
This commit is contained in:
parent
14598d4d5d
commit
b1689aa93b
@ -553,7 +553,6 @@ class SupersetAppInitializer:
|
|||||||
"""
|
"""
|
||||||
Runs init logic in the context of the app
|
Runs init logic in the context of the app
|
||||||
"""
|
"""
|
||||||
self.configure_feature_flags()
|
|
||||||
self.configure_fab()
|
self.configure_fab()
|
||||||
self.configure_url_map_converters()
|
self.configure_url_map_converters()
|
||||||
self.configure_data_sources()
|
self.configure_data_sources()
|
||||||
@ -576,6 +575,9 @@ class SupersetAppInitializer:
|
|||||||
self.pre_init()
|
self.pre_init()
|
||||||
# Configuration of logging must be done first to apply the formatter properly
|
# Configuration of logging must be done first to apply the formatter properly
|
||||||
self.configure_logging()
|
self.configure_logging()
|
||||||
|
# Configuration of feature_flags must be done first to allow init features
|
||||||
|
# conditionally
|
||||||
|
self.configure_feature_flags()
|
||||||
self.configure_db_encrypt()
|
self.configure_db_encrypt()
|
||||||
self.setup_db()
|
self.setup_db()
|
||||||
self.configure_celery()
|
self.configure_celery()
|
||||||
|
Loading…
Reference in New Issue
Block a user