mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-09 04:50:37 +00:00
fix: docs typing issues
This commit is contained in:
parent
ae8f58ac6f
commit
cc6139860c
@ -97,7 +97,7 @@ def _load_module_members(module_path: str, namespace: str) -> ModuleMembers:
|
||||
if type(type_) is typing_extensions._TypedDictMeta: # type: ignore
|
||||
kind: ClassKind = "TypedDict"
|
||||
elif type(type_) is typing._TypedDictMeta: # type: ignore
|
||||
kind: ClassKind = "TypedDict"
|
||||
kind = "TypedDict"
|
||||
elif (
|
||||
issubclass(type_, Runnable)
|
||||
and issubclass(type_, BaseModel)
|
||||
@ -189,7 +189,7 @@ def _load_package_modules(
|
||||
if isinstance(package_directory, str)
|
||||
else package_directory
|
||||
)
|
||||
modules_by_namespace = {}
|
||||
modules_by_namespace: Dict[str, ModuleMembers] = {}
|
||||
|
||||
# Get the high level package name
|
||||
package_name = package_path.name
|
||||
|
@ -12,7 +12,10 @@ readme = "README.md"
|
||||
repository = "https://www.github.com/langchain-ai/langchain"
|
||||
|
||||
[dependency-groups]
|
||||
lint = ["ruff<0.13,>=0.12.2"]
|
||||
lint = [
|
||||
"ruff<0.13,>=0.12.2",
|
||||
"types-toml",
|
||||
]
|
||||
dev = [
|
||||
"langchain-core",
|
||||
"langchain-text-splitters",
|
||||
|
Loading…
Reference in New Issue
Block a user