Author uriyyo
Recipients chaim422, uriyyo
Date 2021-01-03.17:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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):
Date User Action Args
2021-01-03 17:31:20uriyyosetrecipients: + uriyyo, chaim422
2021-01-03 17:31:20uriyyosetmessageid: <>
2021-01-03 17:31:20uriyyolinkissue42812 messages
2021-01-03 17:31:20uriyyocreate