mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 22:56:05 +00:00
fix(mistralai): fix NameError in RunnableWithFallbacks.__getattr__ when resolving type hints (#35172)
This commit is contained in:
committed by
GitHub
parent
65c224a3da
commit
5e8a2c5309
@@ -7,7 +7,7 @@ import os
|
||||
import re
|
||||
import ssl
|
||||
import uuid
|
||||
from collections.abc import Callable # noqa: TC003
|
||||
from collections.abc import Callable, Sequence # noqa: TC003
|
||||
from operator import itemgetter
|
||||
from typing import (
|
||||
TYPE_CHECKING,
|
||||
@@ -77,7 +77,7 @@ from langchain_mistralai._compat import _convert_from_v1_to_mistral
|
||||
from langchain_mistralai.data._profiles import _PROFILES
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import AsyncIterator, Iterator, Sequence
|
||||
from collections.abc import AsyncIterator, Iterator
|
||||
from contextlib import AbstractAsyncContextManager
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user