mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-14 23:26:34 +00:00
linting fix?
This commit is contained in:
parent
551663d0b7
commit
c9c4776fb7
@ -106,12 +106,7 @@ import warnings
|
|||||||
from typing import Any, Literal, Optional, Union
|
from typing import Any, Literal, Optional, Union
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
||||||
try:
|
from typing_extensions import NotRequired, TypedDict, TypeGuard, get_args, get_origin
|
||||||
from typing import TypeGuard
|
|
||||||
except ImportError:
|
|
||||||
from typing_extensions import TypeGuard
|
|
||||||
|
|
||||||
from typing_extensions import NotRequired, TypedDict, get_args, get_origin
|
|
||||||
|
|
||||||
|
|
||||||
def _ensure_id(id_val: Optional[str]) -> str:
|
def _ensure_id(id_val: Optional[str]) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user