Skip to content

Commit 0a32d1f

Browse files
committed
push
1 parent 916bbf2 commit 0a32d1f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

langfuse/types.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66
Dict,
77
List,
88
Literal,
9-
NotRequired,
109
Optional,
1110
Protocol,
1211
TypedDict,
1312
Union,
1413
)
1514

15+
try:
16+
from typing import NotRequired # type: ignore
17+
except ImportError:
18+
from typing_extensions import NotRequired
19+
1620
from pydantic import BaseModel
1721

1822
from langfuse.api import MediaContentType, UsageDetails

0 commit comments

Comments
 (0)