Skip to content

The agent engineering platform.

Lint

Nuno Campos3458489936f0
diff --git a/libs/langchain/langchain/schema/runnable/config.py b/libs/langchain/langchain/schema/runnable/config.py
index 9eff2ffaa9..4ad3b4fb8d 100644
--- a/libs/langchain/langchain/schema/runnable/config.py
+++ b/libs/langchain/langchain/schema/runnable/config.py
@@ -1,8 +1,8 @@
from __future__ import annotations
+
from concurrent.futures import Executor, ThreadPoolExecutor
from contextlib import contextmanager
from copy import deepcopy
-
from typing import Any, Dict, Generator, List, Optional, TypedDict
from langchain.callbacks.base import BaseCallbackManager, Callbacks
@@ -37,7 +37,8 @@ class RunnableConfig(TypedDict, total=False):
max_concurrency: Optional[int]
"""
- Maximum number of parallel calls to make. If not provided, defaults to ThreadPoolExecutor's default. This is ignored if an executor is provided.
+ Maximum number of parallel calls to make. If not provided, defaults to
+ ThreadPoolExecutor's default. This is ignored if an executor is provided.
"""
executor: Executor