Skip to content

Commit

Permalink
dont deserialize password
Browse files Browse the repository at this point in the history
  • Loading branch information
vachillo committed May 16, 2024
1 parent a037519 commit 9c945e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class RedisConversationMemoryDriver(BaseConversationMemoryDriver):
host: str = field(kw_only=True, metadata={"serializable": True})
port: int = field(kw_only=True, metadata={"serializable": True})
db: int = field(kw_only=True, default=0, metadata={"serializable": True})
password: Optional[str] = field(default=None, kw_only=True, metadata={"serializable": True})
password: Optional[str] = field(default=None, kw_only=True, metadata={"serializable": False})
index: str = field(kw_only=True, metadata={"serializable": True})
conversation_id: str = field(kw_only=True, default=uuid.uuid4().hex)

Expand Down

0 comments on commit 9c945e9

Please sign in to comment.