def generic_resolve(self, ty, attr):
        """
        Resolve attributes of an enum class as enum members.
        """
        if attr in ty.instance_class.__members__:
            return ty.member_type
dataset/ETHPy150Open numba/numba/numba/typing/enumdecl.py/EnumClassAttribute.generic_resolve/original