mistercrunch commented on code in PR #36553:
URL: https://github.com/apache/superset/pull/36553#discussion_r2615477852


##########
superset-core/src/superset_core/mcp/__init__.py:
##########
@@ -62,13 +63,20 @@ def my_tool(): ...
         @tool(name="custom_name", protect=False)
         def my_tool(): ...
 
+    Or with background task support (requires async function):
+        @tool(task=True)
+        async def long_running_tool(): ...

Review Comment:
   oh wow! async in Superset!? Flask has been preventing us to use this 
elsewhere...



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