Код: Выделить всё
class SwitchSchema():
CONF_CONST_POWER = "constant_power"
class LightSchema(SwitchSchema):
TestVar = CONF_CONST_POWER
print(LightSchema.TestVar)
Атрибуты класса не наследуются?
Подробнее здесь: https://stackoverflow.com/questions/797 ... implicitly