Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 3fb982c

Browse files
test: test with Python 3.9 (#72)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/ef2fb56d-4b10-4e45-8104-bc22daa12a51/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@e89175c Source-Link: googleapis/synthtool@1f1148d Source-Link: googleapis/synthtool@3d3e94c Source-Link: googleapis/synthtool@6542bd7 Source-Link: googleapis/synthtool@ea52b8a Source-Link: googleapis/synthtool@5f6ef0e Source-Link: googleapis/synthtool@da5c605 Source-Link: googleapis/synthtool@477764c PiperOrigin-RevId: 335110052 Source-Link: googleapis/googleapis@eabe7c0
1 parent dfefc29 commit 3fb982c

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

google/cloud/bigquery_datatransfer_v1/services/data_transfer_service/async_client.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ async def get_data_source(
224224
maximum=60.0,
225225
multiplier=1.3,
226226
predicate=retries.if_exception_type(
227-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
227+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
228228
),
229229
),
230230
default_timeout=20.0,
@@ -310,7 +310,7 @@ async def list_data_sources(
310310
maximum=60.0,
311311
multiplier=1.3,
312312
predicate=retries.if_exception_type(
313-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
313+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
314314
),
315315
),
316316
default_timeout=20.0,
@@ -581,7 +581,7 @@ async def delete_transfer_config(
581581
maximum=60.0,
582582
multiplier=1.3,
583583
predicate=retries.if_exception_type(
584-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
584+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
585585
),
586586
),
587587
default_timeout=20.0,
@@ -667,7 +667,7 @@ async def get_transfer_config(
667667
maximum=60.0,
668668
multiplier=1.3,
669669
predicate=retries.if_exception_type(
670-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
670+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
671671
),
672672
),
673673
default_timeout=20.0,
@@ -752,7 +752,7 @@ async def list_transfer_configs(
752752
maximum=60.0,
753753
multiplier=1.3,
754754
predicate=retries.if_exception_type(
755-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
755+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
756756
),
757757
),
758758
default_timeout=20.0,
@@ -989,7 +989,7 @@ async def get_transfer_run(
989989
maximum=60.0,
990990
multiplier=1.3,
991991
predicate=retries.if_exception_type(
992-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
992+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
993993
),
994994
),
995995
default_timeout=20.0,
@@ -1066,7 +1066,7 @@ async def delete_transfer_run(
10661066
maximum=60.0,
10671067
multiplier=1.3,
10681068
predicate=retries.if_exception_type(
1069-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
1069+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
10701070
),
10711071
),
10721072
default_timeout=20.0,
@@ -1153,7 +1153,7 @@ async def list_transfer_runs(
11531153
maximum=60.0,
11541154
multiplier=1.3,
11551155
predicate=retries.if_exception_type(
1156-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
1156+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
11571157
),
11581158
),
11591159
default_timeout=20.0,
@@ -1245,7 +1245,7 @@ async def list_transfer_logs(
12451245
maximum=60.0,
12461246
multiplier=1.3,
12471247
predicate=retries.if_exception_type(
1248-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
1248+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
12491249
),
12501250
),
12511251
default_timeout=20.0,
@@ -1345,7 +1345,7 @@ async def check_valid_creds(
13451345
maximum=60.0,
13461346
multiplier=1.3,
13471347
predicate=retries.if_exception_type(
1348-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
1348+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
13491349
),
13501350
),
13511351
default_timeout=20.0,

google/cloud/bigquery_datatransfer_v1/services/data_transfer_service/transports/base.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def _prep_wrapped_messages(self, client_info):
115115
maximum=60.0,
116116
multiplier=1.3,
117117
predicate=retries.if_exception_type(
118-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
118+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
119119
),
120120
),
121121
default_timeout=20.0,
@@ -128,7 +128,7 @@ def _prep_wrapped_messages(self, client_info):
128128
maximum=60.0,
129129
multiplier=1.3,
130130
predicate=retries.if_exception_type(
131-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
131+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
132132
),
133133
),
134134
default_timeout=20.0,
@@ -151,7 +151,7 @@ def _prep_wrapped_messages(self, client_info):
151151
maximum=60.0,
152152
multiplier=1.3,
153153
predicate=retries.if_exception_type(
154-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
154+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
155155
),
156156
),
157157
default_timeout=20.0,
@@ -164,7 +164,7 @@ def _prep_wrapped_messages(self, client_info):
164164
maximum=60.0,
165165
multiplier=1.3,
166166
predicate=retries.if_exception_type(
167-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
167+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
168168
),
169169
),
170170
default_timeout=20.0,
@@ -177,7 +177,7 @@ def _prep_wrapped_messages(self, client_info):
177177
maximum=60.0,
178178
multiplier=1.3,
179179
predicate=retries.if_exception_type(
180-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
180+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
181181
),
182182
),
183183
default_timeout=20.0,
@@ -200,7 +200,7 @@ def _prep_wrapped_messages(self, client_info):
200200
maximum=60.0,
201201
multiplier=1.3,
202202
predicate=retries.if_exception_type(
203-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
203+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
204204
),
205205
),
206206
default_timeout=20.0,
@@ -213,7 +213,7 @@ def _prep_wrapped_messages(self, client_info):
213213
maximum=60.0,
214214
multiplier=1.3,
215215
predicate=retries.if_exception_type(
216-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
216+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
217217
),
218218
),
219219
default_timeout=20.0,
@@ -226,7 +226,7 @@ def _prep_wrapped_messages(self, client_info):
226226
maximum=60.0,
227227
multiplier=1.3,
228228
predicate=retries.if_exception_type(
229-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
229+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
230230
),
231231
),
232232
default_timeout=20.0,
@@ -239,7 +239,7 @@ def _prep_wrapped_messages(self, client_info):
239239
maximum=60.0,
240240
multiplier=1.3,
241241
predicate=retries.if_exception_type(
242-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
242+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
243243
),
244244
),
245245
default_timeout=20.0,
@@ -252,7 +252,7 @@ def _prep_wrapped_messages(self, client_info):
252252
maximum=60.0,
253253
multiplier=1.3,
254254
predicate=retries.if_exception_type(
255-
exceptions.DeadlineExceeded, exceptions.ServiceUnavailable,
255+
exceptions.ServiceUnavailable, exceptions.DeadlineExceeded,
256256
),
257257
),
258258
default_timeout=20.0,

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-bigquery-datatransfer.git",
7-
"sha": "e0bcedb58109e38a58584d5b3087f03e1fa10835"
7+
"sha": "dc2500fd05f3e70bd1c00e60c8e96fabb8981237"
88
}
99
},
1010
{
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58"
22+
"sha": "e89175cf074dccc4babb4eca66ae913696e47a71"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58"
29+
"sha": "e89175cf074dccc4babb4eca66ae913696e47a71"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)