Skip to content

Commit 19aff01

Browse files
committed
Fixes
1 parent ec28ed7 commit 19aff01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework-stubs/authtoken/models.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ class Token(models.Model):
1414

1515
class TokenProxy(Token):
1616
# This is how drf defines this:
17-
@property # type: ignore
17+
@property # type: ignore[no-redef]
1818
def pk(self) -> Any: ... # type: ignore[override]

0 commit comments

Comments
 (0)