mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 16:43:35 +00:00
infra: mv SQLDatabase tests to community (#17276)
This commit is contained in:
parent
72c7af0bc0
commit
65e97c9b53
@ -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(
|
Loading…
Reference in New Issue
Block a user