From 6b40a96998ff22faf92ba9cedaf89f7953c86af0 Mon Sep 17 00:00:00 2001 From: aadityakanjolia4 Date: Tue, 12 Nov 2024 14:43:09 +0530 Subject: [PATCH] lint fixed --- .../langchain_community/chat_message_histories/postgres.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/chat_message_histories/postgres.py b/libs/community/langchain_community/chat_message_histories/postgres.py index 4f8884d585..b6051b990b 100644 --- a/libs/community/langchain_community/chat_message_histories/postgres.py +++ b/libs/community/langchain_community/chat_message_histories/postgres.py @@ -98,7 +98,7 @@ class PostgresChatMessageHistory(BaseChatMessageHistory): query = f"UPDATE {self.table_name} SET session_id = %s WHERE session_id = %s;" self.cursor.execute(query, (new_session_id, self.session_id)) self.connection.commit() - self.session_id = new_session_id + self.session_id = new_session_id def __del__(self) -> None: if self.cursor: