core[patch]: fix Typing.cast import (#24313)

Fixes #24287
This commit is contained in:
Bagatur 2024-07-16 09:53:48 -07:00 committed by GitHub
parent e38bf08139
commit dc42279eb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,10 +42,11 @@ from typing import (
Tuple, Tuple,
Type, Type,
Union, Union,
cast,
get_type_hints, get_type_hints,
) )
from typing_extensions import Annotated, cast, get_args, get_origin from typing_extensions import Annotated, get_args, get_origin
from langchain_core._api import deprecated from langchain_core._api import deprecated
from langchain_core.callbacks import ( from langchain_core.callbacks import (