mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +00:00
Fix langchain lint on master. (#10289)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user