mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +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")
|