Skip to content

Instantly share code, notes, and snippets.

@Jayasagar
Created December 18, 2017 12:49
Show Gist options
  • Save Jayasagar/b2b44e5ac4deea7cffcff54e3960845b to your computer and use it in GitHub Desktop.
Save Jayasagar/b2b44e5ac4deea7cffcff54e3960845b to your computer and use it in GitHub Desktop.
from enum import Enum
class ConditionOperator(Enum):
EQ ='EQ'
LTE ='LTE'
GTE = 'GTE'
print(ConditionOperator.EQ.name) ## EQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment