
from enum import auto, Enum

__all__ = [
    'MentionType',
]

class MentionType(Enum):
    USER = auto()
    ROLE = auto()
    CHANNEL = auto()


from enum import Enum

__all__ = [
    'MentionType',
]

class MentionType(Enum):
    USER = 0
    ROLE = 1
    CHANNEL = 2

Change MentionType to use fixed enum values.
Change MentionType to use fixed enum values.

  
- from enum import auto, Enum
+ from enum import Enum
  
  __all__ = [
      'MentionType',
  ]
  
  class MentionType(Enum):
-     USER = auto()
+     USER = 0
-     ROLE = auto()
+     ROLE = 1
-     CHANNEL = auto()
+     CHANNEL = 2
  
Change MentionType to use fixed enum values.
## Code Before:

from enum import auto, Enum

__all__ = [
    'MentionType',
]

class MentionType(Enum):
    USER = auto()
    ROLE = auto()
    CHANNEL = auto()

## Instruction:
Change MentionType to use fixed enum values.
## Code After:

from enum import Enum

__all__ = [
    'MentionType',
]

class MentionType(Enum):
    USER = 0
    ROLE = 1
    CHANNEL = 2
