Skip to content

Commit 959c8df

Browse files
committed
Import Annotated from typing_extensions
1 parent ec6dc1b commit 959c8df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-data/unit/check-typeddict.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3991,6 +3991,7 @@ class TP(TypedDict):
39913991

39923992
[case testTypedDictAnnotatedWithSpecialForms]
39933993
from typing import NotRequired, ReadOnly, Required, TypedDict
3994+
from typing_extensions import Annotated
39943995

39953996
class A(TypedDict):
39963997
a: Annotated[NotRequired[ReadOnly[int]], ""] # ok

0 commit comments

Comments
 (0)