langchain/libs/core/langchain_core
Luca Dorigo f19229c564
core[patch]: fix beta, deprecated typing (#18877)
**Description:** 

While not technically incorrect, the TypeVar used for the `@beta`
decorator prevented pyright (and thus most vscode users) from correctly
seeing the types of functions/classes decorated with `@beta`.

This is in part due to a small bug in pyright
(https://github.com/microsoft/pyright/issues/7448 ) - however, the
`Type` bound in the typevar `C = TypeVar("C", Type, Callable)` is not
doing anything - classes are `Callables` by default, so by my
understanding binding to `Type` does not actually provide any more
safety - the modified annotation still works correctly for both
functions, properties, and classes.

---------

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-03-28 22:33:43 +00:00
..
_api core[patch]: fix beta, deprecated typing (#18877) 2024-03-28 22:33:43 +00:00
beta core: Updated docstring for Context class (#19079) 2024-03-18 21:15:14 -07:00
callbacks [Enhancement] Add support for directly providing a run_id (#18990) 2024-03-18 15:03:04 -07:00
document_loaders community: If load() has been overridden, use it in default lazy_load() (#18690) 2024-03-07 11:52:19 -05:00
documents core[minor]: move document compressor base (#17910) 2024-02-26 17:20:50 -08:00
embeddings core[minor]: moved fake llms and embeddings to core (#19226) 2024-03-18 10:01:26 -07:00
example_selectors core[minor]: Add async methods to MaxMarginalRelevanceExampleSelector (#19639) 2024-03-27 16:03:18 -04:00
language_models core: Two updates to chat model interface (#19684) 2024-03-27 18:45:01 -07:00
load load: Optionally disable reading secrets from env (#19596) 2024-03-26 20:32:56 +00:00
messages core[patch]: Update messages namespace to fix API reference docs (#19161) 2024-03-20 09:25:09 -04:00
output_parsers core[patch]: Fix jsonOutputParser fails if a json value contains ``` inside it. (#19717) 2024-03-28 12:01:09 -07:00
outputs docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
prompts docs: Update docstring for MessagesPlaceholder (#19601) 2024-03-26 14:34:00 -07:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables core[runnables]: docstring for class RunnableSerializable, method configurable_fields (#19722) 2024-03-28 18:15:18 -04:00
tracers core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
utils core[patch]: fix beta, deprecated typing (#18877) 2024-03-28 22:33:43 +00:00
__init__.py core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
agents.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
caches.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
chat_history.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
chat_sessions.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
env.py core[patch]: update langchain-core runtime library name (#14884) 2023-12-20 14:35:48 -08:00
exceptions.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
globals.py core[patch]: Move globals to a module instead of a package (non breaking change) (#19159) 2024-03-19 12:29:12 -04:00
memory.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
prompt_values.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
py.typed core[minor], langchain[patch], experimental[patch]: Added missing py.typed to langchain_core (#14143) 2023-12-01 19:15:23 -08:00
retrievers.py [Enhancement] Add support for directly providing a run_id (#18990) 2024-03-18 15:03:04 -07:00
stores.py core: upgrade mypy to recent mypy (#18753) 2024-03-07 15:25:19 -05:00
sys_info.py docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
tools.py core[patch]: ToolException docs/exception message (#17590) 2024-03-27 21:52:36 +00:00
vectorstores.py core[minor]: Add async methods to MaxMarginalRelevanceExampleSelector (#19639) 2024-03-27 16:03:18 -04:00