fix: Remove DB2SQLComponent reference from IBM components

- Removed DB2SQLComponent from __init__.py as the db2_sql.py module doesn't exist
- This fixes the test_all_modules_importable test failure
- Fixes CI failure in Unit Tests - Python 3.14 - Group 5
This commit is contained in:
Dhruv Chaturvedi
2026-05-21 17:05:04 +05:30
parent e2a2b1bd1b
commit 76d6059693

View File

@ -5,7 +5,6 @@ from typing import TYPE_CHECKING, Any
from lfx.components._importing import import_mod
if TYPE_CHECKING:
from lfx.components.ibm.db2_sql import DB2SQLComponent
from lfx.components.ibm.db2_vector import DB2VectorStoreComponent
from lfx.components.ibm.watsonx import WatsonxAIComponent
from lfx.components.ibm.watsonx_embeddings import WatsonxEmbeddingsComponent
@ -14,11 +13,9 @@ _dynamic_imports = {
"WatsonxAIComponent": "watsonx",
"WatsonxEmbeddingsComponent": "watsonx_embeddings",
"DB2VectorStoreComponent": "db2_vector",
"DB2SQLComponent": "db2_sql",
}
__all__ = [
"DB2SQLComponent",
"DB2VectorStoreComponent",
"WatsonxAIComponent",
"WatsonxEmbeddingsComponent",