File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ class APIVersion(str, Enum):
1212 beta = 'beta'
1313 v1 = 'v1.0'
1414
15+ def __str__ (self ):
16+ return self .value
17+
1518
1619class FeatureUsageFlag (int , Enum ):
1720 """Enumerated list of values used to flag usage of specific middleware"""
@@ -23,6 +26,9 @@ class FeatureUsageFlag(int, Enum):
2326 DEFAULT_HTTP_PROVIDER_ENABLED = 8
2427 LOGGING_HANDLER_ENABLED = 16
2528
29+ def __str__ (self ):
30+ return self .value
31+
2632
2733class NationalClouds (str , Enum ):
2834 """Enumerated list of supported sovereign clouds"""
@@ -32,3 +38,6 @@ class NationalClouds(str, Enum):
3238 Global = 'https://graph.microsoft.com'
3339 US_DoD = 'https://dod-graph.microsoft.us'
3440 US_GOV = 'https://graph.microsoft.us'
41+
42+ def __str__ (self ):
43+ return self .value
You can’t perform that action at this time.
0 commit comments