infra: mv SQLDatabase tests to community (#17276)

This commit is contained in:
Bagatur 2024-02-08 17:05:43 -08:00 committed by GitHub
parent 72c7af0bc0
commit 65e97c9b53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,6 @@
"""Test SQL database wrapper."""
import pytest
import sqlalchemy as sa
from langchain_community.utilities.sql_database import SQLDatabase, truncate_word
from sqlalchemy import (
Column,
Integer,
@ -16,6 +15,8 @@ from sqlalchemy import (
select,
)
from langchain_community.utilities.sql_database import SQLDatabase, truncate_word
metadata_obj = MetaData()
user = Table(