You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
six17 fd4f536c77
text-splitters[patch]: fix json split of RecursiveJsonSplitter (#19119)
- **Description:** This modification addresses the issue of mutable
default parameters in functions. In the original code, the `chunks`
parameter is defaulted to a list containing an empty dictionary, which
is mutable. Since default parameters in Python are evaluated only once
at function definition time, modifications to the parameter would
persist across future calls. By changing the default to `None` and
checking/initializing within the function, a new list is created for
each call, thus avoiding potential issues.

---------

Co-authored-by: sixiang <sixiang@lixiang.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
6 months ago
..
cli templates, cli: more security deps (#19006) 6 months ago
community docs: add vikingdb docstrings(#19016) 6 months ago
core docs: Add in code documentation to core Runnable with_fallbacks method (docs only) (#19104) 6 months ago
experimental community, langchain, infra: revert store extended test deps outside of poetry (#19153) 6 months ago
langchain langchain[patch]: make hub work with older langchainhub versions (#19076) 6 months ago
partners docs: update docstring of Together class (#19008) 6 months ago
text-splitters text-splitters[patch]: fix json split of RecursiveJsonSplitter (#19119) 6 months ago