Lee-W commented on code in PR #74449:
URL: https://github.com/apache/airflow/pull/74449#discussion_r4227107270
##########
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:
+ from airflow.providers.common.compat.sdk import
AirflowOptionalProviderFeatureException
+
+ raise AirflowOptionalProviderFeatureException(e)
+ return DataFusionToolset
+ if name == "AgentSkillsToolset":
Review Comment:
Changed `AgentSkillsToolset` and `LoggingToolset` into eager imports.
--
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]