langchain/tests/unit_tests/output_parsers
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
..
__init__.py Add regex dict: (#1616) 2023-03-13 23:05:39 -07:00
test_base_output_parser.py Fix class promotion (#6187) 2023-06-18 16:55:18 -07:00
test_boolean_parser.py convert the parameter 'text' to uppercase in the function 'parse' of the class BooleanOutputParser (#5397) 2023-05-30 16:26:17 -07:00
test_combining_parser.py Nc/combining output parser (#3014) 2023-04-17 20:29:53 -07:00
test_datetime_parser.py Harrison/datetime parser (#4693) 2023-05-29 07:52:30 -07:00
test_enum_parser.py add enum output parser (#5165) 2023-05-27 20:58:23 -07:00
test_json.py handle json parsing errors (#5371) 2023-05-29 06:18:19 -07:00
test_list_parser.py Add unit test to output parsers (#3911) 2023-05-01 14:53:08 -07:00
test_pydantic_parser.py Harrison/json new line (#4646) 2023-05-13 21:46:33 -07:00
test_regex_dict.py Add regex dict: (#1616) 2023-03-13 23:05:39 -07:00
test_structured_parser.py Add unit test to output parsers (#3911) 2023-05-01 14:53:08 -07:00