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__(
7979 config = AbtestingConfig (
8080 transporter .config .app_id , transporter .config .api_key , region
8181 )
82-
83- if config is None :
82+ elif config is None :
8483 config = AbtestingConfig (app_id , api_key , region )
84+
8585 self ._config = config
8686 self ._request_options = RequestOptions (config )
8787
@@ -929,9 +929,9 @@ def __init__(
929929 config = AbtestingConfig (
930930 transporter .config .app_id , transporter .config .api_key , region
931931 )
932-
933- if config is None :
932+ elif config is None :
934933 config = AbtestingConfig (app_id , api_key , region )
934+
935935 self ._config = config
936936 self ._request_options = RequestOptions (config )
937937
Original file line number Diff line number Diff line change @@ -119,9 +119,9 @@ def __init__(
119119 config = AnalyticsConfig (
120120 transporter .config .app_id , transporter .config .api_key , region
121121 )
122-
123- if config is None :
122+ elif config is None :
124123 config = AnalyticsConfig (app_id , api_key , region )
124+
125125 self ._config = config
126126 self ._request_options = RequestOptions (config )
127127
@@ -3159,9 +3159,9 @@ def __init__(
31593159 config = AnalyticsConfig (
31603160 transporter .config .app_id , transporter .config .api_key , region
31613161 )
3162-
3163- if config is None :
3162+ elif config is None :
31643163 config = AnalyticsConfig (app_id , api_key , region )
3164+
31653165 self ._config = config
31663166 self ._request_options = RequestOptions (config )
31673167
Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ def __init__(
7070 config = CompositionConfig (
7171 transporter .config .app_id , transporter .config .api_key
7272 )
73-
74- if config is None :
73+ elif config is None :
7574 config = CompositionConfig (app_id , api_key )
75+
7676 self ._config = config
7777 self ._request_options = RequestOptions (config )
7878
@@ -328,9 +328,9 @@ def __init__(
328328 config = CompositionConfig (
329329 transporter .config .app_id , transporter .config .api_key
330330 )
331-
332- if config is None :
331+ elif config is None :
333332 config = CompositionConfig (app_id , api_key )
333+
334334 self ._config = config
335335 self ._request_options = RequestOptions (config )
336336
Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ def __init__(
156156 config = IngestionConfig (
157157 transporter .config .app_id , transporter .config .api_key , region
158158 )
159-
160- if config is None :
159+ elif config is None :
161160 config = IngestionConfig (app_id , api_key , region )
161+
162162 self ._config = config
163163 self ._request_options = RequestOptions (config )
164164
@@ -5164,9 +5164,9 @@ def __init__(
51645164 config = IngestionConfig (
51655165 transporter .config .app_id , transporter .config .api_key , region
51665166 )
5167-
5168- if config is None :
5167+ elif config is None :
51695168 config = IngestionConfig (app_id , api_key , region )
5169+
51705170 self ._config = config
51715171 self ._request_options = RequestOptions (config )
51725172
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ def __init__(
6565 config = InsightsConfig (
6666 transporter .config .app_id , transporter .config .api_key , region
6767 )
68-
69- if config is None :
68+ elif config is None :
7069 config = InsightsConfig (app_id , api_key , region )
70+
7171 self ._config = config
7272 self ._request_options = RequestOptions (config )
7373
@@ -613,9 +613,9 @@ def __init__(
613613 config = InsightsConfig (
614614 transporter .config .app_id , transporter .config .api_key , region
615615 )
616-
617- if config is None :
616+ elif config is None :
618617 config = InsightsConfig (app_id , api_key , region )
618+
619619 self ._config = config
620620 self ._request_options = RequestOptions (config )
621621
Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ def __init__(
7272 config = MonitoringConfig (
7373 transporter .config .app_id , transporter .config .api_key
7474 )
75-
76- if config is None :
75+ elif config is None :
7776 config = MonitoringConfig (app_id , api_key )
77+
7878 self ._config = config
7979 self ._request_options = RequestOptions (config )
8080
@@ -948,9 +948,9 @@ def __init__(
948948 config = MonitoringConfig (
949949 transporter .config .app_id , transporter .config .api_key
950950 )
951-
952- if config is None :
951+ elif config is None :
953952 config = MonitoringConfig (app_id , api_key )
953+
954954 self ._config = config
955955 self ._request_options = RequestOptions (config )
956956
Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ def __init__(
7575 config = PersonalizationConfig (
7676 transporter .config .app_id , transporter .config .api_key , region
7777 )
78-
79- if config is None :
78+ elif config is None :
8079 config = PersonalizationConfig (app_id , api_key , region )
80+
8181 self ._config = config
8282 self ._request_options = RequestOptions (config )
8383
@@ -727,9 +727,9 @@ def __init__(
727727 config = PersonalizationConfig (
728728 transporter .config .app_id , transporter .config .api_key , region
729729 )
730-
731- if config is None :
730+ elif config is None :
732731 config = PersonalizationConfig (app_id , api_key , region )
732+
733733 self ._config = config
734734 self ._request_options = RequestOptions (config )
735735
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ def __init__(
7373 config = QuerySuggestionsConfig (
7474 transporter .config .app_id , transporter .config .api_key , region
7575 )
76-
77- if config is None :
76+ elif config is None :
7877 config = QuerySuggestionsConfig (app_id , api_key , region )
78+
7979 self ._config = config
8080 self ._request_options = RequestOptions (config )
8181
@@ -891,9 +891,9 @@ def __init__(
891891 config = QuerySuggestionsConfig (
892892 transporter .config .app_id , transporter .config .api_key , region
893893 )
894-
895- if config is None :
894+ elif config is None :
896895 config = QuerySuggestionsConfig (app_id , api_key , region )
896+
897897 self ._config = config
898898 self ._request_options = RequestOptions (config )
899899
Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ def __init__(
8383 config = RecommendConfig (
8484 transporter .config .app_id , transporter .config .api_key
8585 )
86-
87- if config is None :
86+ elif config is None :
8887 config = RecommendConfig (app_id , api_key )
88+
8989 self ._config = config
9090 self ._request_options = RequestOptions (config )
9191
@@ -1068,9 +1068,9 @@ def __init__(
10681068 config = RecommendConfig (
10691069 transporter .config .app_id , transporter .config .api_key
10701070 )
1071-
1072- if config is None :
1071+ elif config is None :
10731072 config = RecommendConfig (app_id , api_key )
1073+
10741074 self ._config = config
10751075 self ._request_options = RequestOptions (config )
10761076
You can’t perform that action at this time.
0 commit comments