File tree Expand file tree Collapse file tree 11 files changed +169
-40
lines changed Expand file tree Collapse file tree 11 files changed +169
-40
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,9 @@ def __init__(
79
79
config = AbtestingConfig (
80
80
transporter .config .app_id , transporter .config .api_key , region
81
81
)
82
-
83
- if config is None :
82
+ elif config is None :
84
83
config = AbtestingConfig (app_id , api_key , region )
84
+
85
85
self ._config = config
86
86
self ._request_options = RequestOptions (config )
87
87
@@ -929,9 +929,9 @@ def __init__(
929
929
config = AbtestingConfig (
930
930
transporter .config .app_id , transporter .config .api_key , region
931
931
)
932
-
933
- if config is None :
932
+ elif config is None :
934
933
config = AbtestingConfig (app_id , api_key , region )
934
+
935
935
self ._config = config
936
936
self ._request_options = RequestOptions (config )
937
937
Original file line number Diff line number Diff line change @@ -119,9 +119,9 @@ def __init__(
119
119
config = AnalyticsConfig (
120
120
transporter .config .app_id , transporter .config .api_key , region
121
121
)
122
-
123
- if config is None :
122
+ elif config is None :
124
123
config = AnalyticsConfig (app_id , api_key , region )
124
+
125
125
self ._config = config
126
126
self ._request_options = RequestOptions (config )
127
127
@@ -3159,9 +3159,9 @@ def __init__(
3159
3159
config = AnalyticsConfig (
3160
3160
transporter .config .app_id , transporter .config .api_key , region
3161
3161
)
3162
-
3163
- if config is None :
3162
+ elif config is None :
3164
3163
config = AnalyticsConfig (app_id , api_key , region )
3164
+
3165
3165
self ._config = config
3166
3166
self ._request_options = RequestOptions (config )
3167
3167
Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ def __init__(
70
70
config = CompositionConfig (
71
71
transporter .config .app_id , transporter .config .api_key
72
72
)
73
-
74
- if config is None :
73
+ elif config is None :
75
74
config = CompositionConfig (app_id , api_key )
75
+
76
76
self ._config = config
77
77
self ._request_options = RequestOptions (config )
78
78
@@ -328,9 +328,9 @@ def __init__(
328
328
config = CompositionConfig (
329
329
transporter .config .app_id , transporter .config .api_key
330
330
)
331
-
332
- if config is None :
331
+ elif config is None :
333
332
config = CompositionConfig (app_id , api_key )
333
+
334
334
self ._config = config
335
335
self ._request_options = RequestOptions (config )
336
336
Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ def __init__(
156
156
config = IngestionConfig (
157
157
transporter .config .app_id , transporter .config .api_key , region
158
158
)
159
-
160
- if config is None :
159
+ elif config is None :
161
160
config = IngestionConfig (app_id , api_key , region )
161
+
162
162
self ._config = config
163
163
self ._request_options = RequestOptions (config )
164
164
@@ -5164,9 +5164,9 @@ def __init__(
5164
5164
config = IngestionConfig (
5165
5165
transporter .config .app_id , transporter .config .api_key , region
5166
5166
)
5167
-
5168
- if config is None :
5167
+ elif config is None :
5169
5168
config = IngestionConfig (app_id , api_key , region )
5169
+
5170
5170
self ._config = config
5171
5171
self ._request_options = RequestOptions (config )
5172
5172
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ def __init__(
65
65
config = InsightsConfig (
66
66
transporter .config .app_id , transporter .config .api_key , region
67
67
)
68
-
69
- if config is None :
68
+ elif config is None :
70
69
config = InsightsConfig (app_id , api_key , region )
70
+
71
71
self ._config = config
72
72
self ._request_options = RequestOptions (config )
73
73
@@ -613,9 +613,9 @@ def __init__(
613
613
config = InsightsConfig (
614
614
transporter .config .app_id , transporter .config .api_key , region
615
615
)
616
-
617
- if config is None :
616
+ elif config is None :
618
617
config = InsightsConfig (app_id , api_key , region )
618
+
619
619
self ._config = config
620
620
self ._request_options = RequestOptions (config )
621
621
Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ def __init__(
72
72
config = MonitoringConfig (
73
73
transporter .config .app_id , transporter .config .api_key
74
74
)
75
-
76
- if config is None :
75
+ elif config is None :
77
76
config = MonitoringConfig (app_id , api_key )
77
+
78
78
self ._config = config
79
79
self ._request_options = RequestOptions (config )
80
80
@@ -948,9 +948,9 @@ def __init__(
948
948
config = MonitoringConfig (
949
949
transporter .config .app_id , transporter .config .api_key
950
950
)
951
-
952
- if config is None :
951
+ elif config is None :
953
952
config = MonitoringConfig (app_id , api_key )
953
+
954
954
self ._config = config
955
955
self ._request_options = RequestOptions (config )
956
956
Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ def __init__(
75
75
config = PersonalizationConfig (
76
76
transporter .config .app_id , transporter .config .api_key , region
77
77
)
78
-
79
- if config is None :
78
+ elif config is None :
80
79
config = PersonalizationConfig (app_id , api_key , region )
80
+
81
81
self ._config = config
82
82
self ._request_options = RequestOptions (config )
83
83
@@ -727,9 +727,9 @@ def __init__(
727
727
config = PersonalizationConfig (
728
728
transporter .config .app_id , transporter .config .api_key , region
729
729
)
730
-
731
- if config is None :
730
+ elif config is None :
732
731
config = PersonalizationConfig (app_id , api_key , region )
732
+
733
733
self ._config = config
734
734
self ._request_options = RequestOptions (config )
735
735
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ def __init__(
73
73
config = QuerySuggestionsConfig (
74
74
transporter .config .app_id , transporter .config .api_key , region
75
75
)
76
-
77
- if config is None :
76
+ elif config is None :
78
77
config = QuerySuggestionsConfig (app_id , api_key , region )
78
+
79
79
self ._config = config
80
80
self ._request_options = RequestOptions (config )
81
81
@@ -891,9 +891,9 @@ def __init__(
891
891
config = QuerySuggestionsConfig (
892
892
transporter .config .app_id , transporter .config .api_key , region
893
893
)
894
-
895
- if config is None :
894
+ elif config is None :
896
895
config = QuerySuggestionsConfig (app_id , api_key , region )
896
+
897
897
self ._config = config
898
898
self ._request_options = RequestOptions (config )
899
899
Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ def __init__(
83
83
config = RecommendConfig (
84
84
transporter .config .app_id , transporter .config .api_key
85
85
)
86
-
87
- if config is None :
86
+ elif config is None :
88
87
config = RecommendConfig (app_id , api_key )
88
+
89
89
self ._config = config
90
90
self ._request_options = RequestOptions (config )
91
91
@@ -1068,9 +1068,9 @@ def __init__(
1068
1068
config = RecommendConfig (
1069
1069
transporter .config .app_id , transporter .config .api_key
1070
1070
)
1071
-
1072
- if config is None :
1071
+ elif config is None :
1073
1072
config = RecommendConfig (app_id , api_key )
1073
+
1074
1074
self ._config = config
1075
1075
self ._request_options = RequestOptions (config )
1076
1076
You can’t perform that action at this time.
0 commit comments