Im thinking about store options in Enum Classes, like sizes to use or other stuff.
Is there a way to get more behind the value as a return?
Im right now using another function to get its values by hardcoding the values, like:
Syntax: Select all
def get_info(ColorSize):
if ColorSize == ColorSizes.SMALL:
name = 'Small'
prefix = '_small'
...
Is there a better way to do this, maybe directly in the same class?