mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-30 10:23:30 +00:00
Lint
This commit is contained in:
parent
f7313adf2a
commit
9bb1fbcadf
@ -249,7 +249,9 @@ class Chain(RunnableSerializable[Dict[str, Any], Dict[str, Any]], ABC):
|
||||
A dict of named outputs. Should contain all outputs specified in
|
||||
`Chain.output_keys`.
|
||||
"""
|
||||
return await run_in_executor(None, self._call, inputs, run_manager)
|
||||
return await run_in_executor(
|
||||
None, self._call, inputs, run_manager.get_sync() if run_manager else None
|
||||
)
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user