From 3458489936f03f5fb1b25ee11542711bb5785a10 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 18 Aug 2023 15:11:36 +0100 Subject: [PATCH] Lint --- libs/langchain/langchain/schema/runnable/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/langchain/langchain/schema/runnable/config.py b/libs/langchain/langchain/schema/runnable/config.py index 9eff2ffaa94..4ad3b4fb8d4 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