Modify Charts (#9814)

This commit is contained in:
Ayush Shah 2023-01-19 17:33:21 +05:30 committed by GitHub
parent c6cf9ae764
commit 14100d089f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -175,7 +175,7 @@ class QuicksightSource(DashboardServiceSource):
continue
yield CreateChartRequest(
name=chart["Name"],
name=chart["SheetId"],
displayName=chart["Name"],
description="",
chartType=ChartType.Other.value,
@ -240,7 +240,6 @@ class QuicksightSource(DashboardServiceSource):
logger.debug(traceback.format_exc())
continue
# db_name = data_source
schema_name = data_source_resp.schema_name
table_name = data_source_resp.table_name

View File

@ -109,7 +109,7 @@ EXPECTED_DASHBOARD = CreateDashboardRequest(
EXPECTED_DASHBOARDS = [
CreateChartRequest(
name="Top Salespeople",
name="1108771657",
displayName="Top Salespeople",
description="",
chartType="Other",
@ -129,7 +129,7 @@ EXPECTED_DASHBOARDS = [
),
),
CreateChartRequest(
name="Milan Datasets",
name="1985861713",
displayName="Milan Datasets",
description="",
chartType="Other",
@ -149,7 +149,7 @@ EXPECTED_DASHBOARDS = [
),
),
CreateChartRequest(
name="Page Fans",
name="2025899139",
displayName="Page Fans",
description="",
chartType="Other",