mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +00:00
lint fixed
This commit is contained in:
parent
d957457099
commit
6b40a96998
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user