mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-01 02:43:37 +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
|
A dict of named outputs. Should contain all outputs specified in
|
||||||
`Chain.output_keys`.
|
`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__(
|
def __call__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user