langchain/libs/core/langchain_core/utils
Sergey Kozlov db6f266d97
core: improve None value processing in merge_dicts() (#17462)
- **Description:** fix `None` and `0` merging in `merge_dicts()`, add
tests.
```python
from langchain_core.utils._merge import merge_dicts
assert merge_dicts({"a": None}, {"a": 0}) == {"a": 0}
```

---------

Co-authored-by: Sergey Kozlov <sergey.kozlov@ludditelabs.io>
2024-02-13 08:48:02 -08:00
..
__init__.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
_merge.py core: improve None value processing in merge_dicts() (#17462) 2024-02-13 08:48:02 -08:00
aiter.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
env.py Improve: remove extra spaces in get_from_env error (#15064) 2023-12-22 11:50:03 -08:00
formatting.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
function_calling.py Fix Dep Recommendation (#16793) 2024-01-30 09:40:28 -08:00
html.py core[patch], community[patch]: link extraction continue on failure (#17200) 2024-02-07 14:15:30 -08:00
image.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
input.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
interactive_env.py core[patch]: simple prompt pretty printing (#15968) 2024-01-12 21:08:51 -05:00
iter.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
json_schema.py Update _retrieve_ref inside json_schema.py to include an isdigit() check (#14745) 2024-01-01 16:25:42 -08:00
loading.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
pydantic.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
strings.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
utils.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00