mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 08:58:48 +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."""
|
"""Test SQL database wrapper."""
|
||||||
import pytest
|
import pytest
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
from langchain_community.utilities.sql_database import SQLDatabase, truncate_word
|
|
||||||
from sqlalchemy import (
|
from sqlalchemy import (
|
||||||
Column,
|
Column,
|
||||||
Integer,
|
Integer,
|
||||||
@ -16,6 +15,8 @@ from sqlalchemy import (
|
|||||||
select,
|
select,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from langchain_community.utilities.sql_database import SQLDatabase, truncate_word
|
||||||
|
|
||||||
metadata_obj = MetaData()
|
metadata_obj = MetaData()
|
||||||
|
|
||||||
user = Table(
|
user = Table(
|
Loading…
Reference in New Issue
Block a user