aminghadersohi commented on code in PR #36539:
URL: https://github.com/apache/superset/pull/36539#discussion_r2611484320
##########
superset/mcp_service/chart/tool/generate_chart.py:
##########
@@ -284,6 +284,43 @@ async def generate_chart( # noqa: C901
raise
# Update explore URL to use saved chart
explore_url =
f"{get_superset_base_url()}/explore/?slice_id={chart.id}"
+
+ # Generate form_data_key for saved charts (needed for chatbot
rendering)
+ try:
+ from superset.commands.explore.form_data.parameters import (
+ CommandParameters,
+ )
Review Comment:
there are two of these and this is the wrong one
--
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]