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):
12
12
beta = 'beta'
13
13
v1 = 'v1.0'
14
14
15
+ def __str__ (self ):
16
+ return self .value
17
+
15
18
16
19
class FeatureUsageFlag (int , Enum ):
17
20
"""Enumerated list of values used to flag usage of specific middleware"""
@@ -23,6 +26,9 @@ class FeatureUsageFlag(int, Enum):
23
26
DEFAULT_HTTP_PROVIDER_ENABLED = 8
24
27
LOGGING_HANDLER_ENABLED = 16
25
28
29
+ def __str__ (self ):
30
+ return self .value
31
+
26
32
27
33
class NationalClouds (str , Enum ):
28
34
"""Enumerated list of supported sovereign clouds"""
@@ -32,3 +38,6 @@ class NationalClouds(str, Enum):
32
38
Global = 'https://graph.microsoft.com'
33
39
US_DoD = 'https://dod-graph.microsoft.us'
34
40
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