michael-s-molina commented on code in PR #36151:
URL: https://github.com/apache/superset/pull/36151#discussion_r2560961563


##########
superset/mcp_service/chart/prompts/create_chart_guided.py:
##########
@@ -21,14 +21,12 @@
 
 import logging
 
-from superset.mcp_service.app import mcp
-from superset.mcp_service.auth import mcp_auth_hook
+from superset_core.mcp import prompt
 
 logger = logging.getLogger(__name__)
 
 
[email protected]("create_chart_guided")
-@mcp_auth_hook
+@prompt("create_chart_guided")

Review Comment:
   Isn't the idea to always use annotations from the core package independently 
of extensions?



-- 
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]

Reply via email to