mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 17:18:29 +00:00
Fix RLock pickling issue in BaseFileKnowledgeSource
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -30,7 +30,7 @@ class BaseFileKnowledgeSource(BaseKnowledgeSource, ABC):
|
||||
"""
|
||||
|
||||
_logger: Logger = Logger(verbose=True)
|
||||
_lock: RLock = RLock() # Thread-safe lock for file operations
|
||||
_lock = RLock() # Thread-safe lock for file operations
|
||||
|
||||
file_path: Optional[Union[Path, List[Path], str, List[str]]] = Field(
|
||||
default=None,
|
||||
|
||||
Reference in New Issue
Block a user