We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature
This PR introduces a new check for mypy: we now can find incompatible __post_init__ methods in @dataclasses: https://github.com/python/mypy/pull/15503/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04R1048-R1050
__post_init__
@dataclass
But, the thing is that for now we are using a direct call to dataclasses internal plugin, because there are no ways to do it otherwise.
dataclasses
Pitch
Let's discuss possible options we have to introduce a new API that can solve this problem.
CC @ilevkivskyi (original reviewer), @Tinche (as you might be interested), @JukkaL
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
Feature
This PR introduces a new check for mypy: we now can find incompatible
__post_init__
methods in@dataclass
es: https://github.com/python/mypy/pull/15503/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04R1048-R1050But, the thing is that for now we are using a direct call to
dataclasses
internal plugin, because there are no ways to do it otherwise.Pitch
Let's discuss possible options we have to introduce a new API that can solve this problem.
CC @ilevkivskyi (original reviewer), @Tinche (as you might be interested), @JukkaL
The text was updated successfully, but these errors were encountered: