From 8a4162d15ef670a202b25fe483e80fe2ae3f5668 Mon Sep 17 00:00:00 2001 From: Fran Cirka Date: Wed, 13 Dec 2023 23:36:08 +0100 Subject: [PATCH] community[patch]: Fixed issue with importing Row from sqlalchemy (#14488) - **Description:** Fixed import of Row in cache.py, - **Issue:** the issue # #13464 https://creditone.us.to/langchain-ai/langchain/issues/13464, - **Dependencies:** None, - **Twitter handle:** @frankybridman Co-authored-by: Harrison Chase --- libs/community/langchain_community/cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/community/langchain_community/cache.py b/libs/community/langchain_community/cache.py index a0070c2e59a..0ad635092e8 100644 --- a/libs/community/langchain_community/cache.py +++ b/libs/community/langchain_community/cache.py @@ -42,7 +42,8 @@ from typing import ( cast, ) -from sqlalchemy import Column, Integer, Row, String, create_engine, select +from sqlalchemy import Column, Integer, String, create_engine, select +from sqlalchemy.engine import Row from sqlalchemy.engine.base import Engine from sqlalchemy.orm import Session