-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add Typing for EmailField with Support for String Set and Get Types #2317
Conversation
_pyi_private_set_type: str | Combinable | ||
_pyi_private_get_type: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_pyi_private_set_type: str | Combinable | |
_pyi_private_get_type: str | |
_pyi_private_set_type: str | Combinable |
Since CharField
already has _pyi_private_get_type: str
set.
@sobolevn Removed the duplication, thanks for your help!) |
@@ -13,9 +13,9 @@ from django.db.models.sql.subqueries import AggregateQuery, DeleteQuery, InsertQ | |||
from django.utils.functional import cached_property | |||
from typing_extensions import TypeAlias | |||
|
|||
_ParamT: TypeAlias = str | int | |||
_ParamT: TypeAlias = Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not look related to EmailFiled change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data from another PR accidentally got here, I'm sorry)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
I have made things!
Related issues
Closes #2212