langchain/libs/core/tests/unit_tests
Piotr Mardziel 1b9001db47
core[patch]: preserve inspect.iscoroutinefunction with @deprecated decorator (#16295)
Adjusted `deprecate` decorator to make sure decorated async functions
are still recognized as "coroutinefunction" by `inspect`.

Before change, functions such as `LLMChain.acall` which are decorated as
deprecated are not recognized as coroutine functions. After the change,
they are recognized:

```python
import inspect
from langchain import LLMChain

# Is false before change but true after.
inspect.iscoroutinefunction(LLMChain.acall)
```
2024-01-22 11:34:13 -08:00
..
_api core[patch]: preserve inspect.iscoroutinefunction with @deprecated decorator (#16295) 2024-01-22 11:34:13 -08:00
callbacks core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 2024-01-04 10:39:37 -05:00
data Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
documents REFACTOR: combine core documents files (#13733) 2023-11-22 10:10:26 -08:00
example_selectors BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
examples core:adds tests for partial_variables (#15427) 2024-01-02 15:00:06 -08:00
fake core[patch]: testing add chat model for unit-tests (#16209) 2024-01-18 11:30:53 -05:00
language_models [core: minor] fix getters (#15181) 2023-12-26 12:32:55 -08:00
load BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
messages Fixes for opengpts release (#13960) 2023-11-28 21:49:43 +00:00
output_parsers core: update json output parser (#15079) 2024-01-02 16:34:43 -08:00
outputs BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
prompts core:adds tests for partial_variables (#15427) 2024-01-02 15:00:06 -08:00
runnables core[patch]: simple fallback streaming (#16055) 2024-01-19 16:31:54 -08:00
tracers core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 2024-01-04 10:39:37 -05:00
utils core[patch]: Further restrict recursive URL loader (#15559) 2024-01-04 16:33:57 -05:00
__init__.py
conftest.py core[patch], langchain[patch]: fix required deps (#14373) 2023-12-07 14:24:58 -08:00
prompt_file.txt
test_globals.py
test_imports.py infra: Fix test filesystem paths incompatible with windows (#14388) 2023-12-21 13:45:42 -08:00
test_messages.py \Fix tool_calls message merge (#14613) 2023-12-13 12:37:40 -08:00
test_outputs.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
test_sys_info.py core(minor): Add a way to print out system information for debugging purposes. (#15718) 2024-01-08 12:20:18 -08:00
test_tools.py