Skip to content

Commit 25c01b2

Browse files
committed
Add to shared interface
1 parent 5ed2c4c commit 25c01b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mypy/checker_shared.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from mypy.nodes import (
1616
ArgKind,
1717
Context,
18+
Decorator,
1819
Expression,
1920
FuncItem,
2021
LambdaExpr,
@@ -279,6 +280,10 @@ def checking_await_set(self) -> Iterator[None]:
279280
def get_precise_awaitable_type(self, typ: Type, local_errors: ErrorWatcher) -> Type | None:
280281
raise NotImplementedError
281282

283+
@abstractmethod
284+
def get_property_instance(self, method: Decorator) -> Instance | None:
285+
raise NotImplementedError
286+
282287

283288
class CheckerScope:
284289
# We keep two stacks combined, to maintain the relative order

0 commit comments

Comments
 (0)