mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-53643 Missing "async" statement when pulling method up as abstract
GitOrigin-RevId: fa2b7329d462abaf71eb61d33f6b30c931a26a2f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cf942d7405
commit
880f53d07f
@@ -0,0 +1,6 @@
|
||||
from SuperClass import Parent
|
||||
|
||||
class Child(Parent):
|
||||
async def async_method(self):
|
||||
"""An async method that should be pulled up"""
|
||||
return "result"
|
||||
@@ -0,0 +1,6 @@
|
||||
from SuperClass import Parent
|
||||
|
||||
class Child(Parent):
|
||||
async def async_method(self):
|
||||
"""An async method that should be pulled up"""
|
||||
return "result"
|
||||
@@ -0,0 +1,8 @@
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
|
||||
class Parent(metaclass=ABCMeta):
|
||||
@abstractmethod
|
||||
async def async_method(self):
|
||||
"""An async method that should be pulled up"""
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
class Parent:
|
||||
pass
|
||||
Reference in New Issue
Block a user