-
-
Notifications
You must be signed in to change notification settings - Fork 515
Closed
python/mypy
#17433Labels
bugSomething isn't workingSomething isn't working
Description
When a model has created_at = models.DateTimeField(auto_now_add=True)
or updated_at = models.DateTimeField(auto_now=True)
, I get the following output:
server/apps/identity/models.py:57: error: Method "get_next_by_created_at" is not using @override but is overriding a method in class "server.common.django.models.TimedMixin" [explicit-override]
server/apps/identity/models.py:57: error: Method "get_previous_by_created_at" is not using @override but is overriding a method in class "server.common.django.models.TimedMixin" [explicit-override]
server/apps/identity/models.py:57: error: Method "get_next_by_updated_at" is not using @override but is overriding a method in class "server.common.django.models.TimedMixin" [explicit-override]
server/apps/identity/models.py:57: error: Method "get_previous_by_updated_at" is not using @override but is overriding a method in class "server.common.django.models.TimedMixin" [explicit-override]
I will try to solve this.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working