We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed2c4c commit 25c01b2Copy full SHA for 25c01b2
mypy/checker_shared.py
@@ -15,6 +15,7 @@
15
from mypy.nodes import (
16
ArgKind,
17
Context,
18
+ Decorator,
19
Expression,
20
FuncItem,
21
LambdaExpr,
@@ -279,6 +280,10 @@ def checking_await_set(self) -> Iterator[None]:
279
280
def get_precise_awaitable_type(self, typ: Type, local_errors: ErrorWatcher) -> Type | None:
281
raise NotImplementedError
282
283
+ @abstractmethod
284
+ def get_property_instance(self, method: Decorator) -> Instance | None:
285
+ raise NotImplementedError
286
+
287
288
class CheckerScope:
289
# We keep two stacks combined, to maintain the relative order
0 commit comments