How to Solve NameError: name 'auto' is not defined -- enum
Solution: Import the 'auto' module
# Add the following line to the top of your code
from enum import auto
For more information:
enum auto
# Add the following line to the top of your code
from enum import auto
For more information:
enum auto