mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: rename apply_post_process (#31511)
This commit is contained in:
@@ -28,8 +28,8 @@ from marshmallow import ValidationError
|
||||
from superset import is_feature_enabled, security_manager
|
||||
from superset.async_events.async_query_manager import AsyncQueryTokenException
|
||||
from superset.charts.api import ChartRestApi
|
||||
from superset.charts.client_processing import apply_client_processing
|
||||
from superset.charts.data.query_context_cache_loader import QueryContextCacheLoader
|
||||
from superset.charts.post_processing import apply_post_process
|
||||
from superset.charts.schemas import ChartDataQueryContextSchema
|
||||
from superset.commands.chart.data.create_async_job_command import (
|
||||
CreateAsyncChartDataJobCommand,
|
||||
@@ -356,7 +356,7 @@ class ChartDataRestApi(ChartRestApi):
|
||||
# This is needed for sending reports based on text charts that do the
|
||||
# post-processing of data, eg, the pivot table.
|
||||
if result_type == ChartDataResultType.POST_PROCESSED:
|
||||
result = apply_post_process(result, form_data, datasource)
|
||||
result = apply_client_processing(result, form_data, datasource)
|
||||
|
||||
if result_format in ChartDataResultFormat.table_like():
|
||||
# Verify user has permission to export file
|
||||
|
||||
Reference in New Issue
Block a user