mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 10:13:29 +00:00
Fix langchain lint on master
. (#10289)
This commit is contained in:
parent
49341483da
commit
8d5bf1fb20
@ -537,7 +537,9 @@ class Runnable(Generic[Input, Output], ABC):
|
||||
)
|
||||
if accepts_run_manager(transformer):
|
||||
kwargs["run_manager"] = run_manager
|
||||
iterator = transformer(input_for_transform, **kwargs) # type: ignore[call-arg]
|
||||
iterator = transformer(
|
||||
input_for_transform, **kwargs
|
||||
) # type: ignore[call-arg]
|
||||
for chunk in iterator:
|
||||
yield chunk
|
||||
if final_output_supported:
|
||||
@ -613,7 +615,9 @@ class Runnable(Generic[Input, Output], ABC):
|
||||
)
|
||||
if accepts_run_manager(transformer):
|
||||
kwargs["run_manager"] = run_manager
|
||||
iterator = transformer(input_for_transform, **kwargs) # type: ignore[call-arg]
|
||||
iterator = transformer(
|
||||
input_for_transform, **kwargs
|
||||
) # type: ignore[call-arg]
|
||||
async for chunk in iterator:
|
||||
yield chunk
|
||||
if final_output_supported:
|
||||
|
Loading…
Reference in New Issue
Block a user