@@ -63,9 +63,7 @@ def new_instance(
63
63
parameters and external configuration.
64
64
"""
65
65
authenticator = get_authenticator_from_environment (service_name )
66
- service = cls (
67
- authenticator
68
- )
66
+ service = cls (authenticator )
69
67
service .configure_service (service_name )
70
68
return service
71
69
@@ -682,6 +680,7 @@ class TagType(str, Enum):
682
680
USER = 'user'
683
681
SERVICE = 'service'
684
682
ACCESS = 'access'
683
+
685
684
class Providers (str , Enum ):
686
685
"""
687
686
Select a provider. Supported values are `ghost` and `ims`. To list both Global
@@ -692,6 +691,7 @@ class Providers(str, Enum):
692
691
693
692
GHOST = 'ghost'
694
693
IMS = 'ims'
694
+
695
695
class OrderByName (str , Enum ):
696
696
"""
697
697
Order the output by tag name.
@@ -726,6 +726,7 @@ class Providers(str, Enum):
726
726
727
727
GHOST = 'ghost'
728
728
IMS = 'ims'
729
+
729
730
class TagType (str , Enum ):
730
731
"""
731
732
The type of the tag. Supported values are `user`, `service` and `access`.
@@ -751,6 +752,7 @@ class Providers(str, Enum):
751
752
752
753
GHOST = 'ghost'
753
754
IMS = 'ims'
755
+
754
756
class TagType (str , Enum ):
755
757
"""
756
758
The type of the tag. Supported values are `user`, `service` and `access`.
@@ -1049,9 +1051,9 @@ def from_dict(cls, _dict: Dict) -> 'DeleteTagResultsItem':
1049
1051
args ['is_error' ] = is_error
1050
1052
for k , v in _dict .items ():
1051
1053
if k not in cls ._properties :
1052
- if not isinstance (v , object ):
1053
- raise ValueError ('Value for additional property {} must be of type object' .format (k ))
1054
- args [k ] = v
1054
+ if not isinstance (v , object ):
1055
+ raise ValueError ('Value for additional property {} must be of type object' .format (k ))
1056
+ args [k ] = v
1055
1057
return cls (** args )
1056
1058
1057
1059
@classmethod
@@ -1116,7 +1118,6 @@ class ProviderEnum(str, Enum):
1116
1118
IMS = 'ims'
1117
1119
1118
1120
1119
-
1120
1121
class DeleteTagsResult :
1121
1122
"""
1122
1123
Results of deleting unattatched tags.
0 commit comments