mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore(core,infra): nits (#33954)
This commit is contained in:
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -44,7 +44,7 @@ body:
|
|||||||
description: |
|
description: |
|
||||||
Which `langchain` package(s) is this bug related to? Select at least one.
|
Which `langchain` package(s) is this bug related to? Select at least one.
|
||||||
|
|
||||||
Note that if the package you are reporting for is not listed here, it is not in this repository (e.g. `langchain-google-genai` is in `langchain-ai/langchain`).
|
Note that if the package you are reporting for is not listed here, it is not in this repository (e.g. `langchain-google-genai` is in [`langchain-ai/langchain-google`](https://github.com/langchain-ai/langchain-google/)).
|
||||||
|
|
||||||
Please report issues for other packages to their respective repositories.
|
Please report issues for other packages to their respective repositories.
|
||||||
options:
|
options:
|
||||||
|
|||||||
@@ -61,13 +61,15 @@ class Reviver:
|
|||||||
"""Initialize the reviver.
|
"""Initialize the reviver.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
secrets_map: A map of secrets to load. If a secret is not found in
|
secrets_map: A map of secrets to load.
|
||||||
the map, it will be loaded from the environment if `secrets_from_env`
|
|
||||||
is True.
|
If a secret is not found in the map, it will be loaded from the
|
||||||
|
environment if `secrets_from_env` is `True`.
|
||||||
valid_namespaces: A list of additional namespaces (modules)
|
valid_namespaces: A list of additional namespaces (modules)
|
||||||
to allow to be deserialized.
|
to allow to be deserialized.
|
||||||
secrets_from_env: Whether to load secrets from the environment.
|
secrets_from_env: Whether to load secrets from the environment.
|
||||||
additional_import_mappings: A dictionary of additional namespace mappings
|
additional_import_mappings: A dictionary of additional namespace mappings
|
||||||
|
|
||||||
You can use this to override default mappings or add new mappings.
|
You can use this to override default mappings or add new mappings.
|
||||||
ignore_unserializable_fields: Whether to ignore unserializable fields.
|
ignore_unserializable_fields: Whether to ignore unserializable fields.
|
||||||
"""
|
"""
|
||||||
@@ -195,13 +197,15 @@ def loads(
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
text: The string to load.
|
text: The string to load.
|
||||||
secrets_map: A map of secrets to load. If a secret is not found in
|
secrets_map: A map of secrets to load.
|
||||||
the map, it will be loaded from the environment if `secrets_from_env`
|
|
||||||
is True.
|
If a secret is not found in the map, it will be loaded from the environment
|
||||||
|
if `secrets_from_env` is `True`.
|
||||||
valid_namespaces: A list of additional namespaces (modules)
|
valid_namespaces: A list of additional namespaces (modules)
|
||||||
to allow to be deserialized.
|
to allow to be deserialized.
|
||||||
secrets_from_env: Whether to load secrets from the environment.
|
secrets_from_env: Whether to load secrets from the environment.
|
||||||
additional_import_mappings: A dictionary of additional namespace mappings
|
additional_import_mappings: A dictionary of additional namespace mappings
|
||||||
|
|
||||||
You can use this to override default mappings or add new mappings.
|
You can use this to override default mappings or add new mappings.
|
||||||
ignore_unserializable_fields: Whether to ignore unserializable fields.
|
ignore_unserializable_fields: Whether to ignore unserializable fields.
|
||||||
|
|
||||||
@@ -237,13 +241,15 @@ def load(
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
obj: The object to load.
|
obj: The object to load.
|
||||||
secrets_map: A map of secrets to load. If a secret is not found in
|
secrets_map: A map of secrets to load.
|
||||||
the map, it will be loaded from the environment if `secrets_from_env`
|
|
||||||
is True.
|
If a secret is not found in the map, it will be loaded from the environment
|
||||||
|
if `secrets_from_env` is `True`.
|
||||||
valid_namespaces: A list of additional namespaces (modules)
|
valid_namespaces: A list of additional namespaces (modules)
|
||||||
to allow to be deserialized.
|
to allow to be deserialized.
|
||||||
secrets_from_env: Whether to load secrets from the environment.
|
secrets_from_env: Whether to load secrets from the environment.
|
||||||
additional_import_mappings: A dictionary of additional namespace mappings
|
additional_import_mappings: A dictionary of additional namespace mappings
|
||||||
|
|
||||||
You can use this to override default mappings or add new mappings.
|
You can use this to override default mappings or add new mappings.
|
||||||
ignore_unserializable_fields: Whether to ignore unserializable fields.
|
ignore_unserializable_fields: Whether to ignore unserializable fields.
|
||||||
|
|
||||||
|
|||||||
4
libs/core/uv.lock
generated
4
libs/core/uv.lock
generated
@@ -1,5 +1,5 @@
|
|||||||
version = 1
|
version = 1
|
||||||
revision = 2
|
revision = 3
|
||||||
requires-python = ">=3.10.0, <4.0.0"
|
requires-python = ">=3.10.0, <4.0.0"
|
||||||
resolution-markers = [
|
resolution-markers = [
|
||||||
"python_full_version >= '3.14' and platform_python_implementation == 'PyPy'",
|
"python_full_version >= '3.14' and platform_python_implementation == 'PyPy'",
|
||||||
@@ -1057,7 +1057,7 @@ typing = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "langchain-model-profiles"
|
name = "langchain-model-profiles"
|
||||||
version = "0.0.3"
|
version = "0.0.4"
|
||||||
source = { directory = "../model-profiles" }
|
source = { directory = "../model-profiles" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
||||||
|
|||||||
Reference in New Issue
Block a user