fix: correct type: ignore comments for mypy - keep import-untyped, remove unused assignment ignore

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2026-04-07 22:06:21 +00:00
parent baac6668ab
commit da4b610d55

View File

@@ -13,9 +13,9 @@ import time
from typing import Any
try:
import lancedb
import lancedb # type: ignore[import-untyped]
except ImportError:
lancedb = None # type: ignore[assignment]
lancedb = None
from crewai.memory.types import MemoryRecord, ScopeInfo
from crewai.utilities.lock_store import lock as store_lock