python / typing_extensions

Backported and experimental type hints for Python
Other
445 stars 109 forks source link

Update `TypedDict` to match updated PEP-728 #511

Open mharding-hpe opened 15 hours ago

mharding-hpe commented 15 hours ago

typing_extensions 4.10 added support for PEP-728. However, the PEP was updated last month to change how it is being implemented. Instead of the __extra_items__ class attribute, it now is using the extra_items class parameter. It would be good to make the corresponding change in typing_extensions, to match the updated PEP-728.