We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 916bbf2 commit 0a32d1fCopy full SHA for 0a32d1f
1 file changed
langfuse/types.py
@@ -6,13 +6,17 @@
6
Dict,
7
List,
8
Literal,
9
- NotRequired,
10
Optional,
11
Protocol,
12
TypedDict,
13
Union,
14
)
15
+try:
16
+ from typing import NotRequired # type: ignore
17
+except ImportError:
18
+ from typing_extensions import NotRequired
19
+
20
from pydantic import BaseModel
21
22
from langfuse.api import MediaContentType, UsageDetails
0 commit comments