Fix import sorting issues to resolve linting errors

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-03-04 20:26:14 +00:00
parent b13590a359
commit 81e48947fb
4 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
from typing import Any, Dict, List, Optional, TypeVar, Generic, Callable, cast
from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, cast
from pydantic import BaseModel, Field, ConfigDict
from pydantic import BaseModel, ConfigDict, Field
from crewai.memory.storage.interface import Storage, SearchResult
from crewai.memory.storage.interface import SearchResult, Storage
T = TypeVar('T', bound=Storage)

View File

@@ -1,7 +1,7 @@
from abc import ABC, abstractmethod
from typing import Any, Dict, List, Optional
from crewai.memory.storage.interface import Storage, SearchResult
from crewai.memory.storage.interface import SearchResult, Storage
class BaseRAGStorage(Storage, ABC):

View File

@@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from typing import Any, Dict, List, TypeVar, Generic, TypedDict, ClassVar, Protocol, runtime_checkable
from typing import Any, ClassVar, Dict, Generic, List, Protocol, TypeVar, TypedDict, runtime_checkable
from pydantic import BaseModel, ConfigDict

View File

@@ -7,7 +7,7 @@ from crewai.crew import Crew
from crewai.memory.entity.entity_memory import EntityMemory
from crewai.memory.long_term.long_term_memory import LongTermMemory
from crewai.memory.short_term.short_term_memory import ShortTermMemory
from crewai.memory.storage.interface import Storage, SearchResult
from crewai.memory.storage.interface import SearchResult, Storage
from crewai.memory.user.user_memory import UserMemory