langchain/tests/unit_tests/tools
Leonid Ganeline c7ca350cd3
Fix class promotion (#6187)
In LangChain, all module classes are enumerated in the `__init__.py`
file of the correspondent module. But some classes were missed and were
not included in the module `__init__.py`

This PR:
- added the missed classes to the module `__init__.py` files
- `__init__.py:__all_` variable value (a list of the class names) was
sorted
- `langchain.tools.sql_database.tool.QueryCheckerTool` was renamed into
the `QuerySQLCheckerTool` because it conflicted with
`langchain.tools.spark_sql.tool.QueryCheckerTool`
- changes to `pyproject.toml`:
  - added `pgvector` to `pyproject.toml:extended_testing`
- added `pandas` to
`pyproject.toml:[tool.poetry.group.test.dependencies]`
- commented out the `streamlit` from `collbacks/__init__.py`, It is
because now the `streamlit` requires Python >=3.7, !=3.9.7
- fixed duplicate names in `tools`
- fixed correspondent ut-s

#### Who can review?
@hwchase17
@dev2049
2023-06-18 16:55:18 -07:00
..
file_management Add Other File Utilities (#3209) 2023-04-28 10:53:37 -07:00
openapi Add Request body (#2507) 2023-04-06 13:02:42 -07:00
powerbi power bi api wrapper integration tests & bug fix (#4983) 2023-05-19 11:25:52 -04:00
python Improved query, print & exception handling in REPL Tool (#4997) 2023-05-22 13:43:44 +00:00
requests tools refactor (#2961) 2023-04-17 21:35:29 -07:00
shell Accept str or list[str] for shell (#4060) 2023-05-03 21:11:06 -07:00
__init__.py Add a SQL agent for interacting with SQL Databases and JSON Agent for interacting with large JSON blobs (#1150) 2023-02-28 19:44:39 -08:00
test_base.py improve tools (#6062) 2023-06-12 22:19:03 -07:00
test_exported.py Fix class promotion (#6187) 2023-06-18 16:55:18 -07:00
test_json.py Add a SQL agent for interacting with SQL Databases and JSON Agent for interacting with large JSON blobs (#1150) 2023-02-28 19:44:39 -08:00
test_public_api.py Fix class promotion (#6187) 2023-06-18 16:55:18 -07:00
test_signatures.py Pass parsed inputs through to tool _run (#4309) 2023-05-08 09:13:05 -07:00
test_zapier.py Allow custom base Zapier prompt (#4213) 2023-05-13 21:08:18 -07:00