class otherclass(baseclass):

    def __init__(self):
        super(otherclass, self).__init__()
print('other class')

@baseclass._deco
def meh(self):
    print("I'm a function")
Accessing a decorator in a parent class from the child in Python