How to Solve NameError: name 'unique' is not defined -- enum

Solution: Import the 'unique' module

# Add the following line to the top of your code
from enum import unique

 

For more information:
enum unique