mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 16:22:49 +00:00
Fix import sorting issues to resolve linting errors
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user