mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
7 lines
154 B
Python
7 lines
154 B
Python
|
import typing_extensions
|
||
|
|
||
|
class Movie(typing_extensions.TypedDict):
|
||
|
title: str
|
||
|
year: typing_extensions.NotRequired[int]
|
||
|
|
||
|
m = Movie(title="Grease")
|