mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
14 lines
265 B
Python
14 lines
265 B
Python
from enum import Enum
|
|
from typing import Literal
|
|
|
|
|
|
class PossibleValues(Enum):
|
|
DISABLE: Literal[False] = False
|
|
ALL: Literal[True] = True
|
|
|
|
def __eq__(self, other: bool) -> bool:
|
|
return self.value == other
|
|
|
|
|
|
print(PossibleValues.DISABLE == False)
|