Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jul 25, 2024
1 parent 898f018 commit 2685dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/typecheck/models/test_inheritance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
content: |
from django.db.models import Model
from django.db.models.manager import Manager
from typing import TypeVar, Generic, ClassVar
from typing import TypeVar, Generic, ClassVar, Type
from typing_extensions import Self
M = TypeVar("M", bound=Model, covariant=True)
Expand All @@ -138,7 +138,7 @@
class ResultProcessorBase(Generic[T]):
@property
def model_cls(self) -> type[T]:
def model_cls(self) -> Type[T]:
raise NotImplementedError
def f(self) -> T:
Expand Down

0 comments on commit 2685dd2

Please sign in to comment.