Skip to content

Commit

Permalink
[BUGFIX]: add synonyms for business critical account edition (#144)
Browse files Browse the repository at this point in the history
add synonyms for business critical account edition
  • Loading branch information
rcohngru authored Nov 7, 2024
1 parent f2563eb commit 52264a6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion titan/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,15 @@ class Scope(ParseableEnum):
class AccountEdition(ParseableEnum):
STANDARD = "STANDARD"
ENTERPRISE = "ENTERPRISE"
BUSINESS_CRITICAL = "BUSINESS-CRITICAL"
BUSINESS_CRITICAL = "BUSINESS_CRITICAL"

@classmethod
def synonyms(cls):
"""Override to provide a dictionary of synonyms for the enum values"""
return {
"BUSINESS-CRITICAL" : "BUSINESS_CRITICAL"
}



class DataType(ParseableEnum):
Expand Down

0 comments on commit 52264a6

Please sign in to comment.