Skip to content
New issue

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

Use Self as Type Hint for Alternative Constructurs and Other Usages #167

Open
dobbersc opened this issue Apr 12, 2023 · 0 comments
Open
Labels
rework Reworks parts of the project

Comments

@dobbersc
Copy link
Collaborator

Since we are using mypy 1.0, using the Self type hint is supported and can be used in our repository. For our supported Python versions we can import it from typing_extension with from typing_extensions import Self. For more information see the corresponding PEP.

@MaxDall MaxDall added feature Have an idea on how to improve the code base? Come forward and let us know. rework Reworks parts of the project and removed feature Have an idea on how to improve the code base? Come forward and let us know. labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rework Reworks parts of the project
Projects
None yet
Development

No branches or pull requests

2 participants