mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +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")
|