kgabryje commented on code in PR #38403:
URL: https://github.com/apache/superset/pull/38403#discussion_r2912983193
##########
superset/mcp_service/chart/validation/schema_validator.py:
##########
@@ -166,13 +169,16 @@ def _pre_validate_chart_type(
"Use 'chart_type': 'pie' for pie or donut charts",
"Use 'chart_type': 'pivot_table' for interactive pivot
tables",
"Use 'chart_type': 'mixed_timeseries' for dual-series time
charts",
+ "Use 'chart_type': 'big_number' for big number display",
"Check spelling and ensure lowercase",
],
error_code="INVALID_CHART_TYPE",
)
return chart_type_validators[chart_type](config)
+ return True, None
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]