mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18: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")
|