langchain/libs/core/tests/unit_tests/utils
Filip Ratajczak 4e743b5427
Core: google docstring parsing fix (#28404)
Thank you for contributing to LangChain!

- [ ] **PR title**: "core: google docstring parsing fix"


- [x] **PR message**:
- **Description:** Added a solution for invalid parsing of google
docstring such as:
    Args:
net_annual_income (float): The user's net annual income (in current year
dollars).
- **Issue:** Previous code would return arg = "net_annual_income
(float)" which would cause exception in
_validate_docstring_args_against_annotations
    - **Dependencies:** None

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-12-10 00:27:25 +00:00
..
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_aiter.py core: Put Python version as a project requirement so it is considered by ruff (#26608) 2024-09-18 14:37:57 +00:00
test_env.py core[minor]: Support multiple keys in get_from_dict_or_env (#23086) 2024-06-18 14:13:28 -04:00
test_function_calling.py Core: google docstring parsing fix (#28404) 2024-12-10 00:27:25 +00:00
test_html.py core[patch]: Enhance link extraction with query parameters (#20259) 2024-04-27 02:22:36 +00:00
test_imports.py core,integrations[minor]: Dont error on fields in model_kwargs (#27110) 2024-10-04 11:30:27 -07:00
test_iter.py core: Put Python version as a project requirement so it is considered by ruff (#26608) 2024-09-18 14:37:57 +00:00
test_json_schema.py core[patch]: Fix utils.json_schema.dereference_refs (#24335 KeyError: 400 in JSON schema processing) (#24337) 2024-07-19 13:31:00 -04:00
test_pydantic.py all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
test_rm_titles.py core: update _rm_titles to account for title argument name bug (#19036) 2024-03-18 21:25:06 -07:00
test_usage.py core[patch]: utils for adding/subtracting usage metadata (#27203) 2024-10-08 13:15:33 -07:00
test_utils.py core: Add ruff rules for error messages (EM) (#26965) 2024-10-07 22:12:28 +00:00