mirror of
https://github.com/apache/superset.git
synced 2026-04-24 18:44:53 +00:00
refactor(chart.commands): separate commands into two different modules (#17509)
refactor: move imports under TYPE_CHECKING
This commit is contained in:
@@ -37,7 +37,7 @@ from tests.integration_tests.test_app import app
|
||||
|
||||
import pytest
|
||||
|
||||
from superset.charts.data.commands import ChartDataCommand
|
||||
from superset.charts.data.commands.get_data_command import ChartDataCommand
|
||||
from superset.connectors.sqla.models import TableColumn, SqlaTable
|
||||
from superset.errors import SupersetErrorType
|
||||
from superset.extensions import async_query_manager, db
|
||||
|
||||
@@ -23,7 +23,7 @@ from celery.exceptions import SoftTimeLimitExceeded
|
||||
from flask import g
|
||||
|
||||
from superset.charts.commands.exceptions import ChartDataQueryFailedError
|
||||
from superset.charts.data.commands import ChartDataCommand
|
||||
from superset.charts.data.commands.get_data_command import ChartDataCommand
|
||||
from superset.exceptions import SupersetException
|
||||
from superset.extensions import async_query_manager, security_manager
|
||||
from superset.tasks import async_queries
|
||||
|
||||
Reference in New Issue
Block a user