You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use the copy_type suggestion in python/typing#1079, but in general this isn't supported by the python's typing capabilities right now. I think this isn't applicable for a mypy issue.
Feature
It is a common pattern to inherit a
Parent
class and call its__init__()
using*args
and**kwargs
as below.Is there a way of annotating the above
*args
and**kwargs
without rewritingParent
's signature (i.e. noTypedDict
+Unpack
)?I would find the following UX very convenient:
The text was updated successfully, but these errors were encountered: