mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(async): Making create app configurable (#25346)
This commit is contained in:
@@ -42,7 +42,7 @@ from superset.connectors.sqla.models import SqlaTable
|
||||
from superset.db_engine_specs.base import BaseEngineSpec
|
||||
from superset.db_engine_specs.mssql import MssqlEngineSpec
|
||||
from superset.exceptions import SupersetException
|
||||
from superset.extensions import async_query_manager, cache_manager
|
||||
from superset.extensions import async_query_manager_factory, cache_manager
|
||||
from superset.models import core as models
|
||||
from superset.models.cache import CacheKey
|
||||
from superset.models.dashboard import Dashboard
|
||||
@@ -705,7 +705,7 @@ class TestCore(SupersetTestCase):
|
||||
"row_limit": 100,
|
||||
}
|
||||
app._got_first_request = False
|
||||
async_query_manager.init_app(app)
|
||||
async_query_manager_factory.init_app(app)
|
||||
self.login(username="admin")
|
||||
rv = self.client.post(
|
||||
"/superset/explore_json/",
|
||||
@@ -737,7 +737,7 @@ class TestCore(SupersetTestCase):
|
||||
"row_limit": 100,
|
||||
}
|
||||
app._got_first_request = False
|
||||
async_query_manager.init_app(app)
|
||||
async_query_manager_factory.init_app(app)
|
||||
self.login(username="admin")
|
||||
rv = self.client.post(
|
||||
"/superset/explore_json/?results=true",
|
||||
|
||||
Reference in New Issue
Block a user