Python – best way to create Enums with hierarchy
I want to create Enums that have hierarchy to simplify argument validation, type checks, etc. For example, say I want to enumerate the different types of employees in a company, split across department: