Lee-W commented on code in PR #74449:
URL: https://github.com/apache/airflow/pull/74449#discussion_r4227138099


##########
providers/common/ai/src/airflow/providers/common/ai/toolsets/__init__.py:
##########
@@ -61,4 +64,20 @@ def __getattr__(name: str):
 
             raise AirflowOptionalProviderFeatureException(e)
         return MCPToolset
+    if name == "DataFusionToolset":
+        try:
+            from airflow.providers.common.ai.toolsets.datafusion import 
DataFusionToolset
+        except ImportError as e:

Review Comment:
   Drop the `try/except` around `DataFusionToolset`. I left the `SQLToolset` 
and `MCPToolset` branches as it.



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

Reply via email to