0

So I have a class called Roles so I can give employees in my program roles. The below code is basically what I have so far. What I want to know though is if I wanted to add more roles in the future is there a way I can do it so that I don't have to go back and edit the Role class directly.

class Roles(Enum):
    WORKER = auto()
    MANAGER = auto()
Hunter
  • 21
  • 2

0 Answers0