mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 12:07:36 +00:00
cli[patch]: Update migrations file manually (#21021)
We need to replace occurrences in the code of RunnableMap not just the import, so for now, we don't replace RunnableMap.
This commit is contained in:
@@ -1569,7 +1569,7 @@
|
||||
],
|
||||
[
|
||||
"langchain.schema.runnable.RunnableMap",
|
||||
"langchain_core.runnables.RunnableParallel"
|
||||
"langchain_core.runnables.RunnableMap"
|
||||
],
|
||||
[
|
||||
"langchain.schema.runnable.RunnableParallel",
|
||||
@@ -1629,7 +1629,7 @@
|
||||
],
|
||||
[
|
||||
"langchain.schema.runnable.base.RunnableMap",
|
||||
"langchain_core.runnables.RunnableParallel"
|
||||
"langchain_core.runnables.RunnableMap"
|
||||
],
|
||||
[
|
||||
"langchain.schema.runnable.base.coerce_to_runnable",
|
||||
|
@@ -106,7 +106,7 @@ def generate_top_level_imports(pkg: str) -> List[Tuple[str, str]]:
|
||||
|
||||
# Only iterate through top-level modules/packages
|
||||
for finder, modname, ispkg in pkgutil.iter_modules(
|
||||
package.__path__, package.__name__ + "."
|
||||
package.__path__, package.__name__ + "."
|
||||
):
|
||||
if ispkg:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user