Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork952
chore: Add return type hints for models#3382
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for submitting this pull request. bors try Note: if this build fails,read this. |
DjVinnii commentedAug 25, 2024
Btw, I'd like to open more PRs to add type hinting but will make sure it will be in smaller chunks to keep it easier to review. |
tryBuild succeeded: |
What type of PR?
Enhancement
What does this PR do?
Add return type hints for the models.
Type hinting in Python helps with the readability of the code as well as better IDE support. However, due to the nature of Python it is not enforcing the types as Python is not a type safe language.