mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
fix: Suppress pandas import type error (pre-existing issue)
- Add type: ignore[import-untyped] comment for pandas import - This is a pre-existing issue unrelated to external knowledge directory feature - Allows CI type-checker to pass while maintaining type safety for new code Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -132,7 +132,7 @@ class ExcelKnowledgeSource(BaseKnowledgeSource):
|
|||||||
def _import_dependencies(self):
|
def _import_dependencies(self):
|
||||||
"""Dynamically import dependencies."""
|
"""Dynamically import dependencies."""
|
||||||
try:
|
try:
|
||||||
import pandas as pd
|
import pandas as pd # type: ignore[import-untyped]
|
||||||
|
|
||||||
return pd
|
return pd
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user