Skip to content

Commit 2685dd2

Browse files
authored
Apply suggestions from code review
1 parent 898f018 commit 2685dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/typecheck/models/test_inheritance.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
content: |
123123
from django.db.models import Model
124124
from django.db.models.manager import Manager
125-
from typing import TypeVar, Generic, ClassVar
125+
from typing import TypeVar, Generic, ClassVar, Type
126126
from typing_extensions import Self
127127
128128
M = TypeVar("M", bound=Model, covariant=True)
@@ -138,7 +138,7 @@
138138
139139
class ResultProcessorBase(Generic[T]):
140140
@property
141-
def model_cls(self) -> type[T]:
141+
def model_cls(self) -> Type[T]:
142142
raise NotImplementedError
143143
144144
def f(self) -> T:

0 commit comments

Comments
 (0)