'mypy "too many arguments" when declaring @property function
I do not understand why mypy does not like this @property method declaration:
@property
def cc_lemmas_dict(self, tag_delim='+', max_cycles=0) -> Dict[str, Set[str]]:
When I run mypy on this module, I get a Too many arguments error:
$ mypy src/lexc_parser/
src/lexc_parser/lexicon.py:81: error: Too many arguments
Found 1 error in 1 file (checked 7 source files)
I have searched online, but I cannot find any reason why mypy doesn't like this. Any ideas?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
