This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uriyyo
Recipients chaim422, uriyyo
Date 2021-01-03.17:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609695080.71.0.60842479793.issue42812@roundup.psfhosted.org>
In-reply-to
Content
I think the simplest solution in your case is not to use `@overload`, as far as I understand you want to override the signature of base method.

This code won't produce any error when used with `mypy`:
```
class Parent:
    def foo(**kwargs):
        """Argument names of foo vary depending on the child class."""

class Child(Parent):
    def foo(self, a, b):
        pass
``
History
Date User Action Args
2021-01-03 17:31:20uriyyosetrecipients: + uriyyo, chaim422
2021-01-03 17:31:20uriyyosetmessageid: <1609695080.71.0.60842479793.issue42812@roundup.psfhosted.org>
2021-01-03 17:31:20uriyyolinkissue42812 messages
2021-01-03 17:31:20uriyyocreate