lint fixed

This commit is contained in:
aadityakanjolia4 2024-11-12 14:43:09 +05:30
parent d957457099
commit 6b40a96998

View File

@ -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: