class QuestBase:
    def __class_getitem__(cls, item):
        pass


class QuestBase:
    def __class_getitem__(<weak_warning descr="Usually first parameter of such methods is named 'cls'">self</weak_warning>, item):
        pass