Message384287
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
`` |
|
Date |
User |
Action |
Args |
2021-01-03 17:31:20 | uriyyo | set | recipients:
+ uriyyo, chaim422 |
2021-01-03 17:31:20 | uriyyo | set | messageid: <1609695080.71.0.60842479793.issue42812@roundup.psfhosted.org> |
2021-01-03 17:31:20 | uriyyo | link | issue42812 messages |
2021-01-03 17:31:20 | uriyyo | create | |
|